E

LayerRerankingPolicy

Specifies the ranking policies for nodes in the TopologicalLayerAssigner of a HierarchicalLayout.

Members

No filters for this type

Constants

A ranking policy that specifies that nodes are re-ranked by an inexpensive downshift rule.
static

Sample Graphs

A ranking policy that specifies that nodes are not re-ranked after the initial topological layering step.
static

Sample Graphs

A ranking policy that specifies that nodes are re-ranked by finding a spanning tree that contains only tight (length 1) edges.
static

Sample Graphs

Static Methods

Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static

Parameters

value: LayerRerankingPolicy
The value to convert to an enum constant.

Return Value

LayerRerankingPolicy
The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
static

Parameters

value: LayerRerankingPolicy
The numeric value of an enum constant.

Return Value

string
The name of the enum constant.

Throws

Exception ({ name: 'Error' })
If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.