How can I create right-directed arrow in the PlantUML new Activity Diagram syntax?
Using the old syntax, I can use -right->
, but I don't find any similar notation from the new syntax guide. How can you achieve the same result with the new syntax? I need to use the new syntax because of its Swimlane support.
Example of diagram with right arrow using old syntax:
@startuml
(*) --> "An Activity"
-right-> "Another Activity"
--> (*)
@enduml
Thanks.
In theory based on the documentation of PlantUML and its source code this should work:
@startuml
start
:An Activity;
-right->
:Another Activity;
stop
@enduml
But I try it in the online editor of it and the result is different: http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuG8pkAmSynGSaqioop9BAgsvT8ioqpDATEr0mlab6Qb523cW-lm2BeVKl1IWPW00
Because other formatting can be used (e.g. blue, dashed arrow) I don't understand why this is not working. Maybe this should be reported as a bug to the developers of PlantUML.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With