@ahmetgundogdu wrote:
I want the link preview to look like a link link
Preview Link:
Drawed Link:
I wonder why temporaryLink is previewing incorrectly?
Please try my temporaryLink
My temporaryLink template:this.diagram.toolManager.linkingTool.temporaryLink = goMake(go.Link, go.Link.Bezier, { fromEndSegmentLength: 50, toEndSegmentLength: 125, toShortLength: 0.5 }, goMake(go.Shape, // the highlight shape, normally transparent { isPanelMain: true, strokeWidth: 2, stroke: "transparent" }), goMake(go.Shape, "RoundedRectangle", // the link path shape { isPanelMain: true, strokeWidth: 1 }, new go.Binding("stroke", "", this.bindLinkBorderColor) ), goMake(go.Shape, // the arrowhead { toArrow: "SamiAltuncu", strokeWidth: 0 }, new go.Binding("fill", "", this.bindLinkBorderColor), new go.Binding("stroke", "", this.bindLinkBorderColor) ) );
Posts: 2
Participants: 2