Entry / exit points in component diagram

0 votes
asked Mar 20 in Wanted features by boshka (2,590 points)
edited Mar 20 by boshka

I would want an ability to indicate entry and exit points in component diagrams

Here is an example of entry/exit points from IBM (see the outside OrderEntry, leading into Store; Account, leading outside the Store):

Source: https://www.ibm.com/developerworks/rational/library/dec04/bell/index.html

I see this is working for State diagrams:

@startuml

state a {

}

[*]->a

@enduml

I'd like to be able to use the same syntax for component diagrams:

@startuml

component a {

}

[*]->a

@enduml

Also, I did not find a syntax for exit point (neither in state nor in component diagrams)

Not sure, but probably entry/exit points can be better implemented as "hanging arrows":

->a: entry

a->: exit

The arrow tip should be variable too.

Additionally, it would be useful to have an ability to add a note to entry and exit points. Not to the arrows, but the the points themselves.

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.
...