ASP.NET Pack Programmer's Guide
Graph.tree Method
See Also
 





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.

Namespace: MindFusion.Graphs
Package: Graph.js

 Syntax

JavaScript  Copy Code

function tree (root)

 Parameters

root

The desired root vertex of the tree.

 Return Value

Type: Graph
The newly created tree.

 See Also

Graph Members
Graph Class
MindFusion.Graphs Namespace