Enumeration LayeredDigraphPack

GoJS® Diagramming Components
version 3.0.2
by Northwoods Software®

These enumerated values can be bitwise combined as values for the LayeredDigraphLayout.packOption property, which controls how much and what kinds of effort LayeredDigraphLayout makes during straightening and packing when not using LayeredDigraphLayout.alignOption.

We recommend using LayeredDigraphLayout.alignOption for better alignment and speed.




Enumeration Members

Enumeration Members

Enable all options for the LayeredDigraphLayout.packOption property. See also Expand, Straighten, and Median.

This option gives more chances for the packing algorithm to improve the network, but is very expensive in time for large networks.

This option tries to have the packing algorithm center groups of nodes based on their relationships with nodes in other layers.

Does minimal work in packing the nodes.

This option tries to have the packing algorithm straighten many of the links that cross layers.