Search
Graph Members
Constructors Fields Methods
 


Represents a graph.

The following tables list the members exposed by the Graph type.

 Public Constructors

  Name Description

Graph

Initializes a new instance of the Graph class.

 Public Fields

  Name Description

edges

A list containing all edges in the graph.

vertices

A list containing all vertices in the graph.

 Public Methods

  Name Description

addEdge

Adds an existing edge to the graph.

clone

Creates an exact copy of the current graph.

createEdge

Creates a new edge connecting the specified vertices and adds it to the graph.

createVertex

Creates a new vertex with the specified position and size and adds it to the graph.

getConnectedComponents

Returns a list with the connected subgraphs in the current graph.

getUpwardEmbedding

Should be called on a planar graph.

makeAcyclic

Makes the graph acyclic by reversing the direction of selected edges.

removeEdge

Removes an edge from the graph.

tree

Overloaded.  

 See Also