Activities arrangement

0 votes
asked Feb 23 in Question / help by ripanem (180 points)
edited Feb 28 by ripanem

Hello!

How can i make the following diagram via PlantUML?

It's important for foo_1 to be placed on the right edge.

Picture is exported from StarUML.

Thanks in advance

commented Feb 28 by setop (280 points)
please use demo server to share diagram (http://www.plantuml.com/plantuml/uml/) then use "View as PNG" link to embed it in your post. That way we, readers wanting to help, have access to both the picture and the code. Thanks
commented Feb 28 by ripanem (180 points)
Thank you for reply.
Well, the problem is that i don't know, how to make this diagram via PlantUML.
Attached picture from StarUML to post.

2 Answers

0 votes
answered Feb 24 by kiyoshih (150 points)

@startuml sample

start

if () then

:foo_1;

else

endif

:foo_2;

stop

@enduml

commented Feb 24 by ripanem (180 points)
Thank you for your answer, but it's not exactly what i need.
On the picture above foo_1 activity is placed on the right, and using code from your comment i get foo_1 activity placed on the left.
I think that placing foo_1 on the right is better for perception of the diagram.
0 votes
answered Mar 4 by setop (280 points)

The closest I can produce is

I can't mange to force "foo_1" to be on the right.

commented Apr 26 by Joe
I have the same question, but want Foo_1 to be on the left, not center, not right.
...