DataCollection
StockSharp.Xaml.Diagram.GXDiagram.Model.GraphLinksModel`4
This nested class is a serializable collection of node data and link data.
Implements: IDataCollection
Properties
Links : IEnumerable<T>
Gets or sets the collection of link data, each of type .
Model : GraphLinksModel<T, T, T, T>
Gets or sets the model that owns all of the nodes in this collection.
Nodes : IEnumerable<T>
Gets or sets the collection of node data, each of type .
Methods
AddLink(T)
Add a link data to this collection.
- linkdata
- the data type is the model's LinkType type parameter
AddNode(T)
Add a node data to this collection.
- nodedata
- the data type is the model's NodeType type parameter
ContainsLink(T) : bool
This predicate is true if the given link data is in the collection of Links.
- linkdata
- the data type is the model's LinkType type parameter
ContainsNode(T) : bool
This predicate is true if the given node data is in the collection of Nodes.
- nodedata
- the data type is the model's NodeType type parameter
RemoveLink(T)
Remove a link data from this collection.
- linkdata
- the data type is the model's LinkType type parameter
RemoveNode(T)
Remove a node data from this collection.
- nodedata
- the data type is the model's NodeType type parameter