A weight assignment specifier based on a median heuristic.
Type Details
- yfiles module
- layout-hierarchic
- yfiles-umd modules
- layout-familytree, layout-hierarchic, layout-radial, layout
- Legacy UMD name
- yfiles.hierarchic.WeightHeuristic
See Also
Constants
A weight assignment specifier based on a barycenter heuristic.
Remarks
The position of a node within a layer will be determined by the barycenter of its successor (downward pass) and predecessor (upward pass) nodes.
See Also
Sample Graphs
A weight assignment specifier based on a median heuristic.
Remarks
The position of a node within a layer will be determined by the median position of its successor (downward pass) and predecessor (upward pass) nodes.
See Also
Sample Graphs
Static Methods
Converts the argument to WeightHeuristic.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - WeightHeuristic
- The value to convert to WeightHeuristic.
Returns
- ↪WeightHeuristic
- Either
value
if it is already a WeightHeuristic or an appropriate converted value.