documentationfor yFiles for HTML 2.6

SpanningTreeAlgorithm

This class provides (minimum) spanning tree algorithms for graphs.

Inheritance Hierarchy
SpanningTreeAlgorithm

Remarks

Note: Methods of this class work with instances of Graph. To find a (minimum) spanning tree for an IGraph use SpanningTree instead.

Definitions

  • A spanning tree of an undirected connected graph is a subset of its edges that induce a tree that connects all nodes of the graph.
  • A minimum spanning tree of a weighted connected graph is a spanning tree whose edges have minimum overall cost among all spanning trees of that graph.

Type Details

yfiles module
algorithms
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.algorithms.SpanningTrees

Static Methods