Enumeration SortMode

GoJS® Diagramming Components
version 3.0.16
by Northwoods Software®

This is an extension and not part of the main GoJS library. Note that the API for this class may change at any time. If you intend to use an extension in production, you should copy the code to your own source directory. See the Extensions intro page for more information.

This enumeration is used to determine an optional method by which to sort nodes before packing the PackedLayout. Used for PackedLayout.sortMode.

Note: this enumeration is only exists in extensionsJSM, not in extensions.

since

3.0

Index

Enumeration Members

Enumeration Members

Nodes will be sorted by their area.

Nodes will be sorted by their maximum side length before packing.

Nodes will not be sorted before packing.