The Graph type exposes the following members.

Constructors

  NameDescription
Public methodGraph()()()()
Instantiates an empty Graph object.
Public methodGraph(Graph)
Instantiates a new Graph object as a copy of the given graph.
Public methodGraph(Graph, ICursor)
Instantiates a new Graph object as a partial copy of the given graph.

Methods

  NameDescription
Public methodAddDataProvider
Registers the given data provider using the given look-up key.
Public methodAddGraphListener
Registers the given graph listener with this graph.
Public methodChangeEdge(Edge, Node, Node)
Redefines an edge's end points and fires corresponding notification events to inform registered listeners.
Public methodChangeEdge(Edge, Edge, Edge, GraphElementInsertion, GraphElementInsertion)
Redefines an edge's end points and fires corresponding notification events to inform registered listeners.
Public methodChangeEdge(Edge, Node, Edge, GraphElementInsertion, Node, Edge, GraphElementInsertion)
Redefines an edge's end points and fires corresponding notification events to inform registered listeners.
Public methodClear
Removes all nodes and edges from this graph and fires corresponding notification events to inform registered listeners.
Public methodContains(Edge)
Whether or not this graph contains the given edge.
Public methodContains(Node)
Whether or not this graph contains the given node.
Public methodContainsEdge
Returns whether or not this graph contains an edge that connects the given nodes.
Public methodCreateCopy
Creates a copy of this graph.
Public methodCreateEdge(Node, Node)
Creates a new edge in this graph and fires a corresponding notification event to inform registered listeners.
Public methodCreateEdge(Node, Edge, Node, Edge, GraphElementInsertion, GraphElementInsertion)
Creates a new edge in this graph and fires a corresponding notification event to inform registered listeners.
Public methodCreateEdgeMap
Returns a newly created edge map that is valid for the edges in this graph.
Public methodCreateGraph
Creates an empty base object of the same type as this graph.
Protected methodCreateGraphCopyFactory
Factory method that is called by GraphCopyFactory to create a (possibly shared) instance.
Public methodCreateNode
Creates a new node in this graph and fires a corresponding notification event to inform registered listeners.
Public methodCreateNodeMap
Returns a newly created node map that is valid for the nodes in this graph.
Public methodDisposeEdgeMap
Informs the graph that the given edge map is no longer needed.
Public methodDisposeNodeMap
Informs the graph that the given node map is no longer needed.
Public methodEdgeObjects
Returns an iterator that provides access to all edges residing in this graph.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFireGraphEvent
Propagates the given graph event to all registered graph listeners.
Public methodFirePostEvent()()()()
Propagates a so-called POST event to all registered graph listeners.
Public methodFirePostEvent(Object)
Public methodFirePreEvent()()()()
Propagates a so-called PRE event to all registered graph listeners.
Public methodFirePreEvent(Object)
Protected methodStatic memberFirstOutEdge
Low-level iteration support for adjacent edges.
Public methodGetDataProvider
Returns the data provider that is registered with the graph using the given look-up key.
Public methodGetEdgeArray
Returns an array containing all edges of this graph.
Public methodGetEdgeCursor
Provides access to the edges of the graph.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetNodeArray
Returns an array containing all nodes of this graph.
Public methodGetNodeCursor
Provides access to the nodes of the graph.
Public methodGetSource
Returns the source node associated with the given edge.
Public methodGetTarget
Returns the target node associated with the given edge.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHasListeners
Determines whether there are listeners registered with this instance.
Public methodHide(Edge)
Hides the given edge from this graph.
Public methodHide(Node)
Hides the given node from this graph.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveSubGraph
Moves an induced subgraph to another graph.
Public methodMoveToFirst(Edge)
Moves the given edge to the first position within the sequence of edges in this graph.
Public methodMoveToFirst(Node)
Moves the given node to the first position within the sequence of nodes in this graph.
Public methodMoveToLast(Edge)
Moves the given edge to the last position within the sequence of edges in this graph.
Public methodMoveToLast(Node)
Moves the given node to the last position within the sequence of nodes in this graph.
Public methodNodeObjects
Returns an iterator that provides access to all nodes residing in this graph.
Public methodPrintNodeSlotSize
For internal debugging purposes only.
Public methodReInsertEdge
Reinserts a formerly removed edge into this graph and fires a corresponding notification event to inform registered listeners.
Public methodReInsertNode
Reinserts a formerly removed node into this graph and fires a corresponding notification event to inform registered listeners.
Public methodRemoveDataProvider
Removes the data provider that is registered using the given look-up key.
Public methodRemoveEdge
Removes the given edge from this graph and fires a corresponding notification event to inform registered listeners.
Public methodRemoveGraphListener
Removes the given graph listener from this graph.
Public methodRemoveNode
Removes the given node from this graph.
Public methodReverseEdge
Reverses the given edge and fires corresponding notification events to inform registered listeners.
Public methodSortEdges(IComparer)
Sorts the internally held list of edges.
Public methodSortEdges(IComparer, IComparer)
Sorts incoming and outgoing edges at each node of the graph.
Public methodSortNodes
Sorts the internally held list of nodes.
Public methodToString
Returns a String representation of this graph.
(Overrides Object..::..ToString()()()().)
Public methodUnhide(Edge)
Unhides the given edge in this graph.
Public methodUnhide(Node)
Unhides the given node in this graph.

Properties

  NameDescription
Public propertyDataProviderKeys
An array of all data provider look-up keys that are registered with this graph.
Public propertyE
The number of edges in this graph.
Public propertyEdgeCount
The number of edges in this graph.
Public propertyEdges
Yields a dynamic IEnumerable<(Of <(<'T>)>)> for Edges that can be used to iterate over the edges that are contained in this instance.
Public propertyEmpty
trueTruetruetrue (True in Visual Basic) if this graph contains no nodes.
Public propertyFirstEdge
The first edge in this graph.
Public propertyFirstNode
The first node in this graph.
Public propertyGraphCopyFactory
The copy factory that is associated with this instance.
Public propertyGraphListeners
An iterator that grants access to all registered graph listeners.
Public propertyLastEdge
The last edge in this graph.
Public propertyLastNode
The last node in this graph.
Public propertyN
The number of nodes in this graph.
Public propertyNodeCount
The number of nodes in this graph.
Public propertyNodes
Yields a dynamic IEnumerable<(Of <(<'T>)>)> for Nodes that can be used to iterate over the nodes that are contained in this instance.
Public propertyRegisteredEdgeMaps
All edge maps that have been created by this graph but have not yet been disposed.
Public propertyRegisteredNodeMaps
All node maps that have been created by this graph but have not yet been disposed.

See Also