Activity-Diagramm: Support Call Behavior Actions

+2 votes
asked Jun 28, 2015 in Wanted features by marob (160 points)

Is it possible to add support for Call Behavior Actions to indicate the calling of another activity? According to the UML 2.5 specification* it could be implemented with a rake symbol:

 

Thank you!

*The call of an Activity is indicated by placing a rake-style symbol within the Action symbol. The rake resembles a miniature hierarchy, indicating that this invocation starts another Activity that represents a further decomposition.

1 Answer

+1 vote
answered Aug 23 by anonymous
Hi, please check this workaround:

@startuml

'SVG source: adapted from https://www.svgrepo.com/svg/412621/harvest
sprite callbehavioraction <svg viewBox="0 0 32 32" xml:space="preserve">
<path d="M26,14v14h-4V18h-4v10h-4V18h-4v10H6V14h8V4h4v10H26z"/>
</svg>

title Example of use

start
:Preceding action;
' Put as much space as needed so that the the symbol becomes right-aligned.
:Activity name\n                    <$callbehavioraction{scale=0.5}>;
:Next action;
stop

@enduml

Hope it helps!
...