Public Member Functions | |
DataType | GetDataOfNode (int id) |
ICollection< int > | GetEdgesFromNode (int nodeID) |
ICollection< int > | GetEdgesToNode (int nodeID) |
Properties | |
ICollection< int[]> | Arcs [get] |
ICollection< int > | NodeIDs [get] |
DataType wx.Graph.IGraph< DataType >.GetDataOfNode | ( | int | id | ) |
This will return the data that is associated with the graph node of the provided ID.
id | designates the graph node whose data will be returned. |
Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.
ICollection<int> wx.Graph.IGraph< DataType >.GetEdgesFromNode | ( | int | nodeID | ) |
Returns a collection of that nodes A (designated by their IDs) where there is an arc from A to the node designated by nodeID
.
nodeID | The node that is the target of the selected edges |
Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.
ICollection<int> wx.Graph.IGraph< DataType >.GetEdgesToNode | ( | int | nodeID | ) |
Returns a collection of that nodes A (designated by their IDs) where there is an edge from the node designated by nodeID
to A.
nodeID | The node that is the target of the selected edges |
Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.
ICollection<int[]> wx.Graph.IGraph< DataType >.Arcs [get] |
A collection of tuples of integers that represent the arcs between the nodes. The integers are node IDs.
Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.
ICollection<int> wx.Graph.IGraph< DataType >.NodeIDs [get] |
Collection of node IDs.
Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.