Disable GraphNode


i have created
a class
GraphNode : GoTextNode, IDataSetNode
sir if i want to disable my GraphNode object,
what to do?

Disable it in what respect?

You can do:
node.Movable = false;
you can set the ports for no linking:
p.IsValidFrom = false (for each port p)
p.IsValidTo = false
You might want to change the background color (to grey) to indicate the node is in a disabled state.