# Enumeration LayeredDigraphPack

GoJS® Diagramming Components
version 3.0.14
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.

`since`

3.0

`deprecated`

#####
Index

### Enumeration Members

All
Expand
Median
None
Straighten

## Enumeration Members

### All

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

### Expand

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

### Median

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

### None

Does minimal work in packing the nodes.

### Straighten

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

Copyright © 1998-2024 by Northwoods Software Corporation.