Table of Contents

Enum LayeredDigraphPack

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

These enumerated values can be bitwise combined as values for the PackOption property, which controls how much and what kinds of effort Northwoods.Go.Layouts.LayeredDigraphLayout.StraightenAndPack() makes.

[Flags]
public enum LayeredDigraphPack

Fields

All = Expand | Straighten | Median | MaybeExpand

Enable all options for the PackOption property.

Expand = 1

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

Median = 4

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

None = 0

Does minimal work in packing the nodes.

Straighten = 2

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