Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swimlane support #251

Open
ipavlic opened this issue Sep 26, 2018 · 0 comments
Open

Swimlane support #251

ipavlic opened this issue Sep 26, 2018 · 0 comments

Comments

@ipavlic
Copy link

ipavlic commented Sep 26, 2018

A nice feature would be an ability to lay out groups of nodes in swimlanes (columns or rows, depending on the orientation), commonly used in BPMN tools.

  • nodes should have an attribute identifying the lane they belong to, either as a direct attribute, or as a new parent-child structure on the graph which would allow nested lanes

Parent-child relationships are already supported and used with clusters.

Assuming 4 main passes of the algorithm rank, order, position and route and swimlanes parallel to main flow, the following should be implemented:

  • order phase should constrain a set of possible orderings to those that correspond to lane order. For example, if lane A contains nodes 1 and 2 and lane B contains node 3 in the same rank, then the only possible orderings are (1, 2, 3) and (2, 1, 3). (1, 3, 2), (2, 3, 1), (3, 1, 2) (3, 2, 1) are not allowed because node 3 belongs to lane B which comes after lane A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant