Fork vertex (bar) doesn't cross swimlane

+1 vote
asked Aug 24, 2014 in bug by Fuhrmanator (2,170 points)

Playing around with the activity diagrams and swimlanes, I found a bug with how fork and swimlanes are shown. It seems the bar for a fork won't cross the swimlane. Here's a simple example

@startuml
|Swimlane1|
start
:foo1;
fork
|#AntiqueWhite|Swimlane2|
:foo2;
|Swimlane1|
forkagain
:foo2.1;
end fork
|Swimlane2|
:foo5;
stop
@enduml
 

1 Answer

0 votes
answered Aug 26, 2014 by plantuml (135,550 points)
Thanks for the feedback.
This is (somehow) solved in this beta: https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

You will see that the fork still does not cross swimlanes, but the missing arrows are now correctly drawn.

Regards,
commented Feb 26, 2015 by anonymous
As I understand issues with spreading that bar across related swimlanes is in that it may cross unrelated swimlanes. And placing bar across all swimlanes may look unreadable.

Can we at least place that "fork" bar in swimlane of prev block and "end fork" in swimlane of next block or same where corresponding "fork" where done?
I guess this will make more sense than placing it in swimlane of next block after "fork".
...