Crossing links when grouping nodes

Hello All,

When I group 2 nodes from parent nodes using LayerDigraphLayout, the result group creates crossing links. The group uses GridLayout. Please help how to make them not cross-over.

Thank you very much.

Are the links connecting to the individual nodes within the group rather than to the group itself? If so, I suggest that you make that change and also set the Group’s fromSpot and toSpot to go.Spot.TopBottomSides and LayeredDigraphLayout.setPortSpots to false. Read LayeredDigraphLayout | GoJS API and GoJS Link Connection Points on Nodes -- Northwoods Software