Links position changed after expand and collapse

GoJs version : GoJS v1.8.17
Group Layout : go.TreeLayout

Please see below image

Same question i asked before
https://forum.nwoods.com/t/links-getting-distorted/10468/6

A post was merged into an existing topic: Links getting distorted