autonumber and references in sequence diagrams

0 votes
asked May 8, 2014 by anonymous
Is it possible to reference the numbers generated by the autonumber function? Sometimes it would be desirable to be able to reference a particular flow from a note (or other location). The only way to do this today is to use the real/generated number, which will of course change as you add other flows

1 Answer

0 votes
answered May 9, 2014 by plantuml (141,890 points)

Well, good idea!

Do you have any suggestion about the syntax ?

commented May 9, 2014 by anonymous
Maybe using the poung (#) character? Something like this:

autonumber "[0]"

A->B: message
#first-message   /`This should take the value of the last number that has been used by the autonumber functionality`/

B->A: This is the response to message #first-message

note over A: This is a note that references message #first-message