@anupamsinghbisht wrote:
I want to change arrow head width and height, I am trying to do this using binding but its not woring,
here is my link template :
$("Link", { routing: go.Link.Normal, selectable: true, reshapable: true, resizable: true, deletable: false, resegmentable: true, fromShortLength: 5, selectionAdornmentTemplate: GO(go.Adornment, "Link", GO(go.Shape, { isPanelMain: true, fill: null, stroke: "dodgerblue" }, new go.Binding("strokeWidth", "", function () { return 1 / surveyCanvas.scale; }).ofObject() ), GO(go.Placeholder) ) }, new go.Binding("points").makeTwoWay(), GO("Shape", { opacity: 1 }, new go.Binding("strokeWidth", "", function (s) { return 1 / surveyCanvas.scale; }).ofObject()), GO("Shape", { toArrow: "Standard", segmentFraction: 0.001, stroke: null }, new go.Binding("height", "height", function (s) { return 100; }).ofObject(), // not working new go.Binding("width", "width", function (s) { return 100; }).ofObject() // not working ) )
Posts: 2
Participants: 2