Activity Diagram Beta - Labels on transitions

0 votes
asked Jun 2, 2014 in Wanted features by anonymous

In the new Actvity Diagram syntax only conditional processing has an option to place labels on transitions.

It would be nice to have the option to add labels to any transition.

Ex:

:(transition label) "State"

1 Answer

0 votes
answered Jun 4, 2014 by plantuml (279,680 points)

Actually, there is an undocumented feature here. You can try :

@startuml
start
:foo1;
-> this is a label;
:foo2;
@enduml

We should document this some day...

 

 

 

commented Jul 1, 2014 by rmric (2,140 points)
Off topic:

About undocumented features, could it help if you would put the static pages (activity2.html, classes.html,etc.) under SVN so that we the users can submit you patches? Or maybe a wiki? There should be an easy way for plantuml's users to contribute back to this great project by harvesting tidbits in Q&A and synthesizing them in documentation..
commented Jul 2, 2014 by plantuml (279,680 points)
Good idea : we will put the static pages under github, so users can more easily contribute. We will post a news here when ready (hopefully this month...)
...