documentationfor yFiles for HTML 3.0.0.3

LayoutGraphAlgorithms

Provides a collection of algorithms for analyzing and manipulating a LayoutGraph within the context of layout processing.

Inheritance Hierarchy
LayoutGraphAlgorithms

Remarks

These methods are specifically designed for graphs of type LayoutGraph. For algorithms applicable to the type IGraph, please refer to individual classes that allow to run a specific algorithm on an IGraph instance, for example, class ShortestPath or TreeAnalysis. These classes have more convenient configuration options and are typically named directly after the algorithm.

These algorithms encompass a wide range of functionalities including cycle detection, pathfinding, centrality computations, clustering, and more. The methods in this class are optimized for performance and designed to handle various types of graphs such as directed, undirected, weighted, and unweighted graphs.

The LayoutGraphAlgorithms class is intended for use with LayoutGraph objects, which represent the underlying structure of a graph in a layout environment. The algorithms provided here assist in determining graph properties, finding specific structures within a graph, and performing operations necessary for layout computations.

Many of the methods in this class offer optional parameters allowing for flexible configurations. For instance, several algorithms support both directed and undirected graphs, and many accept custom edge weight mappings to accommodate various use cases.

Type Details

yFiles module
algorithms

Static Methods