GoXam for WPF v3
IDiagramModel Interface Members
Properties  Methods  Events

Northwoods.GoXam.Model Namespace : IDiagramModel Interface

The following tables list the members exposed by IDiagramModel.

Public Properties
 NameDescription
 Property Gets or sets the format of this model's data.  
 PropertyThis property is true during a call to ChangeModel, indicating a change happening due to an undo or a redo.  
 Property True if there is an UndoManager and a transaction has been started.  
 Property Gets or sets whether this model is considered changed from an earlier state.  
 Property Gets or sets whether various model-changing methods are enabled.  
 Property A name for this model.  
 Property Gets or sets the collection of node data items for the model.  
 PropertyGets or sets a flag that controls whether the model notifies any UndoManager that a change has occurred.  
 PropertyGets or sets the UndoManager for this model.  
Top
Public Methods
 NameDescription
 Method Copy existing data and add to this model.  
 Method Add a link between one node/port and another node/port.  
 MethodAdd a node data to NodesSource.  
 Method Add a copy of a node data to this model.  
 Method This is called during an Undo or a Redo to actually make state changes to this model or to this model's data.  
 Method Forget all unresolved delayed or forward references.  
 Method Call the UndoManager's CommitTransaction method.  
 MethodCreate an ICopyDictionary initialized for this model.  
 MethodCreate an empty IDataCollection for this model.  
 Method Create a copy of this model initialized with different data.  
 MethodThis should be called when a node data object is added to the NodesSource collection.  
 Method This should be called when a node data's key value may have changed.  
 MethodThis should be called when a node data object is removed from the NodesSource collection.  
 Method Given a key, find the node data with that key.  
 Method To help distinguish between different kinds of nodes, each node has a "category" that is just a string.  
 Method Return a sequence of node data that are directly connected to a given node, in either direction.  
 Method Return a sequence of node data that are directly connected by links going into a given node.  
 Method Return the Type of the node data.  
 Method Return a sequence of node data that are directly connected by links coming out from a given node.  
 Method This predicate is true if there is a link from one node data/port to another one.  
 Method This predicate is true if adding a link between two nodes/ports would result in a valid graph.  
 Method This predicate is true if the argument is a node data in this model.  
 Method This predicate is true when the argument is an instance of the node data Type.  
 MethodRaise a Changed event, given a ModelChangedEventArgs.  
 Method Remove all links connecting the two nodes/ports in the one direction.  
 MethodRemove node data from NodesSource.  
 Method Call the UndoManager's RollbackTransaction method.  
 Method Call the UndoManager's StartTransaction method.  
Top
Public Events
 NameDescription
 Event The Changed event is raised whenever the model is modified.  
Top
See Also

Reference

IDiagramModel Interface
Northwoods.GoXam.Model Namespace
ITreeModel Interface
IConnectedModel Interface
ILinksModel Interface
IGroupsModel Interface
DiagramModel Class
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class
GraphModel<NodeType,NodeKey> Class
TreeModel<NodeType,NodeKey> Class