Adding Child Lane (BPMN)

Hi,

BPMN swimlanes has a feature: child lane
eg: https://cdn.visual-paradigm.com/tutorials/bpmn2_screenshots/20160307/12-updated-bpd.png

I need using child lanes.

How can I add a child lane into any swimlane?

Please help us. Thank you!

Did you try it with the existing code? Here’s what I get:

All I did was change the model data slightly:

    [ // node data
      { key: "Pool1", text: "Pool", isGroup: true, category: "Pool" },
      { key: "Pool2", text: "Pool2", isGroup: true, category: "Pool" },
      { key: "Lane1", text: "Lane1", isGroup: true, group: "Pool1", color: "lightblue", category: "Pool" },
      { key: "Lane2", text: "Lane2", isGroup: true, group: "Pool1", color: "lightgreen" },
      { key: "Lane3", text: "Lane3", isGroup: true, group: "Lane1", color: "lightyellow" },
      { key: "Lane4", text: "Lane4", isGroup: true, group: "Lane1", color: "orange" },
      { key: "oneA", group: "Lane3" },
      { key: "oneB", group: "Lane3" },
      { key: "oneC", group: "Lane3" },
      { key: "oneD", group: "Lane3" },
      . . .

Hmmm, I guess I should have removed the “lightblue” color too.

However, there is still work for you to do. The custom LaneResizingTool in the sample assumes there there aren’t nested “Lanes”. You’ll need to change the code to resize all nested lanes, not just the immediate members of the “Pool” Group.