Table of Contents

Enum LayeredDigraphAlign

Namespace
Northwoods.Go.Layouts
Assembly
Northwoods.GoDiagram.WinForms.LayeredDigraphLayout.dll

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

[Flags]
public enum LayeredDigraphAlign

Fields

All = UpperLeft | UpperRight | LowerLeft | LowerRight

Enable all options for the AlignOption property. This option will tend to balance nodes compared to their neighbors.

LowerLeft = 4

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

LowerRight = 8

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

None = 0

This option means the the layout will pack nodes using the {@link LayeredDigraphLayout.packOption} instead of {@link LayeredDigraphLayout.alignOption}.

UpperLeft = 1

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

UpperRight = 2

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