GoXam for WPF v3
DoNodeAdded Method (GraphModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > GraphModel<NodeType,NodeKey> Class : DoNodeAdded Method
This should be called when a node data object is added to the NodesSource collection.
Syntax
public void DoNodeAdded( 
   NodeType nodedata
)

Parameters

nodedata
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the NodesSource collection implements System.Collections.Specialized.INotifyCollectionChanged, the model will automatically call this method. Otherwise, you need to do so immediately after the NodesSource has been augmented.

This raises a Changed event with a value of ModelChange.AddedNode.

See Also

Reference

GraphModel<NodeType,NodeKey> Class
GraphModel<NodeType,NodeKey> Members