Swim Lanes

To group the nodes in swim lanes, we need to provide the grouping information.

Consider the below example where we have one group and three nodes in it:

The data structure required for the above group view is as follows:

  • We will need additional rows for every group that we create. The last column in the above snapshot is the identifier row for the group

  • In addition to the Id, Pid and other entity attributes, we need the following columns:

    • “Group Id” column is used for the Id of the Group in the group identifier row

    • “Subtree Id” column defines the group in which the node resides. Subtree Id is required only for the first node of a flow. Child nodes reside in the group of the parent node.

    • “Group color” column is optional for the color coding of the group background

Last updated