[This is preliminary documentation and is subject to change.]
The Graph type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| Clone | Clones the graph | |
| Connect(GraphNode, GraphNode) | Connects two nodes using new edge | |
| Connect(GraphNode, GraphNode, Double) | Connects two nodes using new edge with given weight | |
| Connect(GraphNode, GraphNode, GraphEdge) | Connects two nodes using given edge | |
| CreateEdge | Creates new edge | |
| FindPaths | Runs Dijkstra alghoritm of inding the shortest weighted paths from given node | |
| OnEdgeAdded | When impelmented in derived class reacts to item add to the Edges collection | |
| OnEdgeChanged | When impelmented in derived class reacts to item replacement in the Edges collection | |
| OnEdgeRemoved | When impelmented in derived class reacts to item removal from the Edges collection | |
| OnEdgesCleared | When impelmented in derived class reacts to all items of single node removal from the Edges collection | |
| OnNodeAdded | When overriden in derived class takes additional actions when node is added | |
| OnNodeChanged | When overriden in derived class takes additional actions when item in the Nodes collection is replaced | |
| OnNodeRemoved | When overriden in derived class takes additional actions when item is added to the Nodes collection | |
| OnNodesCleared | When overriden in derived class takes additional actions when the Nodes collection is cleared |
Properties
| Name | Description | |
|---|---|---|
| BackgroundWorker | When set, graph alghoritms uses it to report progress (if supported) and to cancel itself | |
| Edges | Gets edges of this graph | |
| Nodes | Gets nodes of this graph |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| ICloneable..::..Clone |