Activity Diagram Beta - Coloured Connections and Labels

0 votes
asked Feb 20, 2013 in Wanted features by anonymous
Hello,

at first the beta version of the Activity Diagram is much better than the current one. But I just miss some features:

-> I want to colour the lines between the single steps and also the line towards a "IF"-Clause (it wasn't implemented within the current version).

-> I would like to use GOTO-Labels.

Thanks a lot and best regards

Klaus

1 Answer

0 votes
answered Feb 21, 2013 by plantuml (257,940 points)

About Goto, I will answer later.

About link color, the following beta implements the link keyword which can be used to change color of links.
You can download it from here: http://dl.dropbox.com/u/13064071/plantuml.jar

:foo1;
link #red
:foo2;


You can use it like this:

@startuml
:foo1;
link #red
if (test) then
  link #blue
  :foo2;
  link #green
  :foo3;
else
  link #black;
  :foo4;
endif
link #gray
:foo5;
@enduml


This is not 100% implemented, but the idea is here.
Any suggestion about syntax ?

Thanks
 

...