documentationfor yFiles for HTML 2.6

GraphChecker

This class provides methods that check structural properties of a given graph.

Inheritance Hierarchy
GraphChecker

Remarks

Note: Methods of this class work with instances of Graph. To analyze structural properties of IGraph instances use GraphStructureAnalyzer instead.

Definitions

  • Cycle: An edge path with vertices v0, v1, v2, ... , vk forms a cycle if v0 = vk and consists of at least one edge.
  • Acyclic graph: A graph that contains no directed cycle.
  • Cyclic graph: A graph that contains a directed cycle.
  • Connected graph: A graph in which there exists an undirected path of edges between every pair of nodes.
  • Strongly connected graph: A graph in which there exists a directed path between each pair of nodes.
  • Biconnected graph: A graph that has no cut vertex or articulation point (i.e., a node whose removal disconnects the graph).
  • Bipartite graph: A graph whose nodes can be partitioned into two sets such that each edge connects two nodes of different sets.
  • Tree graph: An acyclic graph, in which any pair of vertices is connected through a path. If one vertex of a tree is distinguished from the other vertices, then the tree is called rooted tree.
  • N-ary tree graph: A directed rooted tree where each node has a maximum of n children.
  • Forest graph: A graph whose connected components are trees.
  • Simple graph: A graph that contains no self-loops and parallel edges.
  • Planar graph: A graph that can be drawn on the plane without edge crossings.
  • Average degree: The number of edges in comparison to the number of nodes.
  • Average weighted degree: The sum of the edge weights in comparison to the number of nodes.
  • Diameter:The maximum eccentricity of any vertex in the graph i.e., the length of the longest shortest path between any two vertices.
  • Density: The ratio of edges of the graph to the maximum possible number of edges.

Type Details

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

Static Methods