# Enumeration LayeredDigraphAlign

GoJS® Diagramming Components
version 3.0.14
by Northwoods Software®

These enumerated values can be bitwise combined as values for the LayeredDigraphLayout.alignOption property, which controls how LayeredDigraphLayout attempts to align nodes during straightening and packing.

`since`

3.0

#####
Index

### Enumeration Members

All
LowerLeft
LowerRight
None
UpperLeft
UpperRight

## Enumeration Members

### All

Enable all options for the LayeredDigraphLayout.alignOption property; See also UpperLeft, UpperRight, LowerLeft, and LowerRight.

This option will tend to balance nodes compared to their neighbors.

### LowerLeft

This option aligns and compacts nodes based on lower neighbors, favoring leftmost neighbors.

### LowerRight

This option aligns and compacts nodes based on lower neighbors, favoring rightmost neighbors.

### None

This option means the the layout will pack nodes using the LayeredDigraphLayout.packOption instead of LayeredDigraphLayout.alignOption.

### UpperLeft

This option aligns and compacts nodes based on upper neighbors, favoring leftmost neighbors.

### UpperRight

This option aligns and compacts nodes based on upper neighbors, favoring rightmost neighbors.

Copyright © 1998-2024 by Northwoods Software Corporation.