Represents a graph.
The following tables list the members exposed by the Graph type.
Name | Description | |
---|---|---|
Initializes a new instance of the Graph class. |
Name | Description | |
---|---|---|
A list containing all edges in the graph. |
||
A list containing all vertices in the graph. |
Name | Description | |
---|---|---|
Adds an existing edge to the graph. |
||
Creates an exact copy of the current graph. |
||
Creates a new edge connecting the specified vertices and adds it to the graph. |
||
Creates a new vertex with the specified position and size and adds it to the graph. |
||
Returns a list with the connected subgraphs in the current graph. |
||
Makes the graph acyclic by reversing the direction of selected edges. |
||
Removes an edge from the graph. |
||
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. |