Hello,
I am trying the following example.
But I need that one specific category (“start”) can not bve deleted.
So other nodes can be deleted, but the category ‘Start’ not. Is this possible?
Hello,
I am trying the following example.
But I need that one specific category (“start”) can not bve deleted.
So other nodes can be deleted, but the category ‘Start’ not. Is this possible?
Sure, just set deletable: false in the Node template:
myDiagram.nodeTemplateMap.add(“Start”,
$(go.Node, “Spot”, nodeStyle(),
{ deletable: false },
. . .
Wonderfull!
Thanks a lot!