How do I draw an arrow out from the left side of the layout component?
When I using
@startuml
[*] --> A
A -right-> A
A -left-> A
@enduml
but both arrows were drawing out from the right of the layout component A.
How do I draw an arrow out from the left side of the layout component?
When I using
@startuml
[*] --> A
A -right-> A
A -left-> A
@enduml
but both arrows were drawing out from the right of the layout component A.
I don't think it's possible to have arrows going left or right (edit: see the forum request). They are merely hints for layout (GraphViz does the work). Some things you can try:
Finally, try to use vertical (
-->
) as much as possible, since the GraphViz layout avoids overlapping if you can allow vertical edges. Sometimes the resulting graphs are bigger in size, but you don't have to goof around tweaking an algorithm you can't really control.