Horizontal alignment of disjoint nodes in Swimlane

Yes, use LayeredDigraphLayout for the Diagram.layout, and set Group.layout to null. Example: Page Not Found -- Northwoods Software

The Swim Lanes sample has each lane/Group with its own layout because it assumes that there are few links that cross lanes. Just as in a real swimming pool, where one does not normally cross over lanes.

Ok, i will try this out.

Could please tell me, if i can sort the swimlane order programmatically. So that, all the lane appear in a fixed order every time, assuming that i have introduced a node property for swimlanes, say, index, using which i want to sort the order for swimlane visualization.

Have you looked at Page Not Found -- Northwoods Software ?

Just started.

Hi @walter,

After modifying the “comparer” function of layout, i was able to sort the swimlanes as per my requirement.

Thanks for your guidance!

A post was split to a new topic: Context menu opening dialog

A post was split to a new topic: Keep diagram fixed upon reloading new data

Hi @nitin291989, how did you fix the horizontal placement of unlinked nodes?