Northwoods.GoXam.Model Namespace : IDiagramModel Interface |
The following tables list the members exposed by IDiagramModel.
Name | Description | |
---|---|---|
DataFormat | Gets or sets the format of this model's data. | |
IsChangingModel | This property is true during a call to ChangeModel, indicating a change happening due to an undo or a redo. | |
IsInTransaction | True if there is an UndoManager and a transaction has been started. | |
IsModified | Gets or sets whether this model is considered changed from an earlier state. | |
Modifiable | Gets or sets whether various model-changing methods are enabled. | |
Name | A name for this model. | |
NodesSource | Gets or sets the collection of node data items for the model. | |
SkipsUndoManager | Gets or sets a flag that controls whether the model notifies any UndoManager that a change has occurred. | |
UndoManager | Gets or sets the UndoManager for this model. |
Name | Description | |
---|---|---|
AddCollectionCopy | Copy existing data and add to this model. | |
AddLink | Add a link between one node/port and another node/port. | |
AddNode | Add a node data to NodesSource. | |
AddNodeCopy | Add a copy of a node data to this model. | |
ChangeModel | This is called during an Undo or a Redo to actually make state changes to this model or to this model's data. | |
ClearUnresolvedReferences | Forget all unresolved delayed or forward references. | |
CommitTransaction | Call the UndoManager's CommitTransaction method. | |
CreateCopyDictionary | Create an ICopyDictionary initialized for this model. | |
CreateDataCollection | Create an empty IDataCollection for this model. | |
CreateInitializedCopy | Create a copy of this model initialized with different data. | |
DoNodeAdded | This should be called when a node data object is added to the NodesSource collection. | |
DoNodeKeyChanged | This should be called when a node data's key value may have changed. | |
DoNodeRemoved | This should be called when a node data object is removed from the NodesSource collection. | |
FindNodeByKey | Given a key, find the node data with that key. | |
GetCategoryForNode | To help distinguish between different kinds of nodes, each node has a "category" that is just a string. | |
GetConnectedNodesForNode | Return a sequence of node data that are directly connected to a given node, in either direction. | |
GetFromNodesForNode | Return a sequence of node data that are directly connected by links going into a given node. | |
GetNodeType | Return the Type of the node data. | |
GetToNodesForNode | Return a sequence of node data that are directly connected by links coming out from a given node. | |
IsLinked | This predicate is true if there is a link from one node data/port to another one. | |
IsLinkValid | This predicate is true if adding a link between two nodes/ports would result in a valid graph. | |
IsNodeData | This predicate is true if the argument is a node data in this model. | |
IsNodeType | This predicate is true when the argument is an instance of the node data Type. | |
RaiseChanged | Raise a Changed event, given a ModelChangedEventArgs. | |
RemoveLink | Remove all links connecting the two nodes/ports in the one direction. | |
RemoveNode | Remove node data from NodesSource. | |
RollbackTransaction | Call the UndoManager's RollbackTransaction method. | |
StartTransaction | Call the UndoManager's StartTransaction method. |
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