Being able to set the id in elements in sequence diagrams

0 votes
asked Nov 19, 2018 in Question / help by vagvaz (160 points)
Hi,

it would be really useful if we could set the id element in sequence diagrams, so we can reference the specific elements from other diagrams for example.

@startuml

'reference other diagram

note over a_participant: look there [[other_diagram.svg#my_set_id]]

' or

foo  -> bar: foobar [[]other_diagram.svg#foobar]

@enduml

In terms of syntax it could as follows, which enables setting more than one attribute, which might be useful if any post-processing is happening.

@startum

note over the_other {id=my_set_id}: note with a user specified id

foo  -> bar {id=foobar}: Here we start foobar

@enduml

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...