Visual Basic (Declaration) | |
---|---|
Public Class PartsModel Inherits Northwoods.GoXam.Model.GraphLinksModel(Of Node,String,String,Link) Implements IDiagramModel, IGroupsModel, ILinksModel, ISubGraphLinksModel, ISubGraphModel |
C# | |
---|---|
public class PartsModel : Northwoods.GoXam.Model.GraphLinksModel<Node,string,string,Link>, IDiagramModel, IGroupsModel, ILinksModel, ISubGraphLinksModel, ISubGraphModel |
NodesSource is an ObservableCollection. LinksSource is an ObservableCollection. References to nodes are strings. They are stored on each Northwoods.GoXam.Node by the Id property. Links refer to nodes by the PartsModelFromNode and PartsModelToNode properties, and by the PartsModelLabelNode property. Nodes also refer to their containing subgraph nodes by the PartsModelContainingSubGraph property.
This class is not Serializable, because the data are FrameworkElements.
System.Object
Northwoods.GoXam.Model.DiagramModel
Northwoods.GoXam.Model.GraphLinksModel<NodeType,NodeKey,PortKey,LinkType>
Northwoods.GoXam.Model.PartsModel