Shapes and Relationship Lines Distorted in BPMN-style Diagram with Lanes after Refresh (GoJS 3.x)

We are encountering a layout issue with our BPMN-style diagram implementation using GoJS version 3.x, specifically concerning swimlanes which are implemented as GoJS

GoJS Version: 3.x

Issue Description: Our diagram features swimlanes (GoJS Groups) that host various BPMN-style nodes. When we add nodes to these swimlanes and then establish relationships (links) between them, everything appears correct, and the newly created link is typically selected. However, if we then proceed to add a new shape anywhere onto the main diagram canvas (not necessarily within the same swimlane or even any swimlane), the swimlane
containing the previously linked nodes becomes distorted. This distortion can manifest as the swimlane resizing inappropriately, its member nodes shifting, or the overall layout within that swimlane becoming disorganized.


How is your diagram code different from that in our BPMN sample, BPMN Editor ?
In my brief time trying to reproduce the problem in that sample, I was unable to do so.

How are you adding that second node?