ASP.NET Pack Programmer's Guide
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.

makeAcyclic

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

removeEdge

Removes an edge from the graph.

tree

Returns a new graph object containing a subset of the vertices and edges of the original graph, such that the new graph is a tree.

 See Also

Graph Class
MindFusion.Graphs Namespace