Hello,
On the page devoted to labels https://gojs.net/latest/intro/linkLabels.html, it is only specified the placement of written labels on the link but not shape label on the link.
Like how would I place the label on this link to the from
or to
position please ? Thank you :
diagram.linkTemplate =
$(go.Link,
$(go.Shape),
$(go.Shape, { toArrow: "Standard" }),
$(go.Panel, "Auto", // this whole Panel is a link label
$(go.Shape, "TenPointedStar", { fill: "yellow", stroke: "gray" }),
$(go.TextBlock, { margin: 3 },
new go.Binding("text", "text"))
)
);