Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.


How to draw parallel process in UML notation in Swimlanes chart?

0 votes

As I know, parallel process in UML notation drawing with help of solid bold line. See firs picture. Details here http://www.c-sharpcorner.com/uploadfile/shivprasadk/unified-modeling-language-uml-part-ii/

But in yEd editor I can’t find appropriate symbol of solid bold line. I used “Task Activity” instead of solid bold line but when I applied Swimline layout system drew line as shown in second picture.

I want system to draw lines in such way as shown on third or fourth pictures.


Please, help me find symbol of solid bold line for parallel process in UML notation.

in Help by (170 points)

1 Answer

0 votes

To be honest, I am very confused by your post.

You start by asking about solid bold lines. This

is a solid bold line. However, your yEd screenshots all show these lines, so you seem to know already how to create these.

Then you go on to say you used "Task Activity" symbols

instead of solid bold lines. That does not make sense at all. Obviously, activity symbols are no lines.


Finally, your three yEd screenshots seem to indicate that you actually want to know how to configure the layout algorithm you used to arrange your diagram such that it produces a specific edge routing.

Assuming you are using "Layout" -> "Swimlane", it is possible to achieve bus-style edge routing as depicted in

by specifying edge grouping constraints. If you want to group edges only at certain nodes, select the first set of edges that should be grouped

then go to "Tools" -> "Constraints" -> "Edge Grouping" and choose "Enter Manually" for "Configuration Method", an arbitrary value (e.g. "1") for "Group Id at Source", nothing for "Group Id at Target", "Ports at Selected Edges" for "Act On"

and click "Ok". After that, select the second set of edges that should be grouped

and specify a common target ID

Make sure to choose different IDs each time. As the final step, run the swimlane layout algorithm.

If you always want to group edges, you can use the swimlane algorithm's "Automatic Edge Grouping" option instead (see "Layout" -> "Swimlane", tab "Edges").


To achieve straight-line routing as depicted in

select the edges you want to be straight lines, go to "Layout" -> "Edge Routing" -> "Straight Line", and choose "Selected Edges" as "Scope". (Straight line edge routing is available since yEd 3.10.2.)

by [yWorks] (160k points)
I meant other symbol as “Bold solid line”.
Legal Disclosure | Privacy Policy