Hello, my next question is …
I have a diagram with nodes and links established between them, I need to obtain the specific properties of this link by secondary clicking on one of them,
for now I have this defined.
$GoJS(go.Link,
{
layerName: "Foreground",
routing: go.Link.AvoidsNodes, corner: 2,
curve: go.Link.JumpOver,
toShortLength: 1,
relinkableFrom: true, relinkableTo: true,
reshapable: true, resegmentable: true
},
$GoJS(go.Panel, "Auto",
new go.Binding("visible", "isSelected").ofObject()
),
{ contextMenu:
$GoJS("ContextMenu",
$GoJS("ContextMenuButton",
$GoJS(go.Panel, "Horizontal",
ArrowButton(0), ArrowButton(1), ArrowButton(2)
)
)
)
}
);
And I am trying to add this to achieve my goal
but I still can’t solve the issue.
they can point me to the right path.
Thanks a lot