documentationfor yFiles for HTML 2.6

NodeOrderAlgorithm

This class provides algorithms that order the nodes of a graph using specific criteria.

Inheritance Hierarchy
NodeOrderAlgorithm

Remarks

Note: Methods of this class work with instances of Graph. To retrieve a topological order of nodes in an IGraph use getTopologicalOrder instead.

Definitions

  • A topological ordering of the nodes of a directed graph is a linear ordering of the nodes such that for each directed edge (u,v), node u lies before v in the ordering.
  • A DFS completion ordering of the nodes of a graph is a node ordering identical to the order of node completion events in a depth first search.
  • An st-ordering (v_1,v_2,....,v_n) of a biconnected graph is a node ordering which guarantees that:
    • Source node s and sink node t are connected by an edge.
    • For each node v_i in the ordering other than s or t, there are neighbors v_j and v_k with j < i and k > i.

Type Details

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

Static Methods