Support for multiple label arrows in use case diagram

0 votes
asked Mar 12 in Wanted features by fred (920 points)
retagged Mar 23 by fred
Hello,

Class diagrams support nice arrows that can be put in labels using < or >, and which always point to the corresponding element, whatever the orientation of the diagram:

http://plantuml.com/class-diagram#Label

Is it possible to have the same arrows in use case diagram ?

Also, it would be useful to be able to put several such arrows per label.

Here is an example diagram:

@startuml
usecase A
A - B : < a > b
B -- C : > c
@enduml

Thanks,

Fred

1 Answer

0 votes
answered Mar 15 by plantuml (160,200 points)

Thanks for the suggestion.

This has been partially implemented in last beta http://beta.plantuml.net/plantuml.jar

With this version, you can have:

@startuml
usecase A
A - B : < a
B -- C : > c
@enduml

It this what you are looking for ?

commented Mar 16 by fred (920 points)
Hello,

Yes, that is almost what I need. I would also like to be able to put multiple such < & > arrows per edge label.

For instance:

@startuml
usecase A
A - B : < a > b > ..c
B -- C : > c < b < ..a
@enduml

At a minimum, I would need to be able to use one such arrow in each direction, like in the example from the original post.


Thanks,

Fred
...