Hello!
I am pretty confused about bezier links. I created a mechanism to dynamically load and fill a link template map based on a json and ran into problems that bezier links were not shown correctly. I could not really figure out why, so I broke down the problem more and more and at the end I only have the following link template left.
myDiagram.linkTemplate = $(go.Link,
{
routing: go.Link.Normal
curve: go.Link.Bezier,
curviness: 50
},
$(go.Shape,
{
stroke: ‘black’,
strokeWidth: 1
}
),
$(go.Shape, { toArrow: “Standard” }),
);
Everything else was not impactful on my problem. With this template, I thought I would get bezier curved links, but all I got was this:
I double checked this template because I was sure, it should work and used the same template in a test project with the leaflet sample and this was the result:
So here, it apparently worked. How can this happen? What can cause this inconsistency?
Best regards
Jonas Czeslik