I have created arrow shape when i am re-sizing maximum level (maximum to minimum level) at one point of time arrow head not displayed. please find me the code.correct me if it is wrong.
wiDiagram.nodeTemplateMap.add(“wiArrow”,
$$(go.Node, “Spot”, nodeStyle(), new go.Binding(“zOrder”), { zOrder: 0 },
$$(go.Panel, “Auto”,
$$(go.Shape, “Arrow”,
{ minSize: new go.Size(30, NaN), fill: stdColor, stroke: stdColor, strokeWidth: 2, geometryStretch: go.GraphObject.Fill },
new go.Binding(“fill”, “color”),
new go.Binding(“stroke”, “borderColor”),
new go.Binding(“strokeWidth”, “thickness”)),
// new go.Binding(“height”, “height”)
$$(go.TextBlock,
{
margin: 1,
maxSize: new go.Size(17, 17),
wrap: go.TextBlock.WrapFit,
textAlign: “center”,
editable: true,
font: “bold 11pt Helvetica, Arial, sans-serif”,
stroke: ‘white’
},
new go.Binding(“text”).makeTwoWay(), new go.Binding(“width”).makeTwoWay(), new go.Binding(“height”).makeTwoWay()),
{
contextMenu: new makeContextMenu(wiDiagram)
}
)
// no ports, because no links are allowed to connect with a comment
));
i have attached image for your reference.