[This is preliminary documentation and is subject to change.]

The Graph type exposes the following members.

Constructors

  NameDescription
Public methodGraph
Initializes a new instance of the Graph class

Methods

  NameDescription
Public methodClone
Clones the graph
Public methodConnect(GraphNode, GraphNode)
Connects two nodes using new edge
Public methodConnect(GraphNode, GraphNode, Double)
Connects two nodes using new edge with given weight
Public methodConnect(GraphNode, GraphNode, GraphEdge)
Connects two nodes using given edge
Protected methodCreateEdge
Creates new edge
Public methodFindPaths
Runs Dijkstra alghoritm of inding the shortest weighted paths from given node
Protected methodOnEdgeAdded
When impelmented in derived class reacts to item add to the Edges collection
Protected methodOnEdgeChanged
When impelmented in derived class reacts to item replacement in the Edges collection
Protected methodOnEdgeRemoved
When impelmented in derived class reacts to item removal from the Edges collection
Protected methodOnEdgesCleared
When impelmented in derived class reacts to all items of single node removal from the Edges collection
Protected methodOnNodeAdded
When overriden in derived class takes additional actions when node is added
Protected methodOnNodeChanged
When overriden in derived class takes additional actions when item in the Nodes collection is replaced
Protected methodOnNodeRemoved
When overriden in derived class takes additional actions when item is added to the Nodes collection
Protected methodOnNodesCleared
When overriden in derived class takes additional actions when the Nodes collection is cleared

Properties

  NameDescription
Public propertyBackgroundWorker
When set, graph alghoritms uses it to report progress (if supported) and to cancel itself
Public propertyEdges
Gets edges of this graph
Public propertyNodes
Gets nodes of this graph

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodICloneable..::..Clone

See Also