Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

PlantUML: Force arrow direction to left, right, up, down in state diagram

Using up, down, left and right keywords we can force the Arrow Direction between states.

 

arrowDirection.txt

@startuml

[*] --> state1
state1 -right-> state2
state2 -down-> state3
state3 -left-> state4
state4 -up-> state5
state5 -up-> [*]

@enduml

 

Above snippet generate below diagram.

 


 

Previous                                                    Next                                                    Home


This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here

Share the post

PlantUML: Force arrow direction to left, right, up, down in state diagram

×

Subscribe to Java Tutorial : Blog To Learn Java Programming

Get updates delivered right to your inbox!

Thank you for your subscription

×