Enum constants that specify the initial placement for the ClassicOrganicLayout.
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.organic.InitialPlacement
See Also
Constants
Initial placement strategy for starting with the node locations as they are in the input graph.
Remarks
This strategy is best if the existing layout should change as little as possible.
See Also
Initial placement strategy for starting with randomly chosen node locations.
Initial placement strategy for starting with all node location coordinates set to 0
.
Remarks
This strategy is best if the initial placement should be maximally neutral, ignoring the existing layout of the input graph.
See Also
Static Methods
Converts the argument to InitialPlacement.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - InitialPlacement
- The value to convert to InitialPlacement.
Returns
- ↪InitialPlacement
- Either
value
if it is already a InitialPlacement or an appropriate converted value.