Parameters
- nodedata
Return Value
true to accept the data as a node after having made the key unique in the model;
false to ignore this data.
This is used for model discovery. When a node data is added to the NodesSource collection, DoNodeAdded checks for a duplicate key value. If it is a duplicate key, this method is called to either modify the node data to have a unique key, or to return false to avoid adding the data to this model. (However, the duplicate key node data will still be in the NodesSource collection.)
This method is frequently overridden to implement the desired policy for your particular application model.
When the user copies selected nodes into a diagram, it is likely that this method will be called.