Hello,
I use LayeredDigraphLayout and i want to know if it’s possible to create a “stylized” link when both ports is in the same node.
My problem is that we want to use the “routing: go.Link.Normal” without curve, but the link pass over the node.
The unwanted result looks like this:
I would like to have this result (like “routing: go.Link.AvoidsNodes”)
Here my linkTemplate:
this._linkTemplates.add('', $(go.Link, { curve: go.Link.None, routing: go.Link.Normal, fromSpot: go.Spot.Bottom, toSpot: go.Spot.Top, cursor: 'pointer', corner: 10, }, $(go.Shape, { isPanelMain: true, strokeWidth: 4, name: 'BORDER' }, new go.Binding('stroke', '', this.linkColorConverter.bind(this)) ), $(go.Shape, { toArrow: 'Standard', strokeWidth: 6 }) ) );
Thank you!