New activity diagram syntax: direction of links

+4 votes
asked Feb 12, 2013 in Closed feature request by anonymous
First: I like the new syntax, it is clearer.

My question: How can I direct arrows into a certain direction?

Also, is it possible to have a flow just end instead of pointing to "stop": For never-returning functions.


: Get current PCB;

if (size < sizeof(sc_msgid_t) then
if (pool == SC_DEFAULT_POOL) then (yes)
: Get plidx from PCB;


Here, I'd like to have ERROR() on the right side. And ERROR never returns.

1 Answer

0 votes
answered Feb 18, 2013 by plantuml (277,020 points)

We have added an undocumented "kill" keyword to stop processing:

if (foo) then


You cannot (yet) direct arrows in other direction.
However our plan is to implement an "horizontal" layout.
(Today, the only possible layout is "vertical").
This future layout will allow to lay activity diagram from left to right (or from right to left).
Once this will be done, then yet another layout will allow to mix vertical/horizontal layouts.

But don't expect all these before several months...

Anyway, thanks for your suggestions, and others idea are welcomed!


commented Feb 4, 2019 by nmz787
6 years later now, can you use "horizontal" layout?
If so please update this post with the syntax.