Link is avoiding Group as well as Nodes

I have linkTemplate defined as follows: The link is curved and avoiding nodes. Problem is it is also trying to avoid group (because group is also a node?) . Here’s a picture showing before linking and after linking. It is ‘pushing’ the group to displace. What I want is link to avoid nodes but not group and flow over the group.


myDiagram.linkTemplate =
                    $(go.Link,
                        {
                            routing: go.Link.AvoidsNodes,
                            curve: go.Link.Bezier,
                            deletable: false,
                            relinkableFrom: true,
                            relinkableTo: true,
                            toShortLength: 2
                        }, $(go.Shape, { strokeWidth: 2, stroke: "blue" }),
                        $(go.Shape, { toArrow: "Standard", stroke: "blue" }),
                    );

Try setting https://gojs.net/latest/api/symbols/Group.html#computesBoundsIncludingLinks to false on your Group template.