Table of Contents

Enum CycleMode

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

This enumeration specifies how the Diagram should handle cycles in graphs. Used for ValidCycle.

public enum CycleMode

Fields

All = 0

This value states that there are no restrictions on making cycles of links.

DestinationTree = 4

This value states that any number of destination links may go out of a node, but at most one source link may come into a node, and there are no directed cycles.

This value assumes that the graph does not already have any cycles in it, or else the behavior may be indeterminate.

NotDirected = 1

This value states that a valid link from a node will not produce a directed cycle in the graph.

NotUndirected = 3

This value states that a valid link from a node will not produce an undirected cycle in the graph.

SourceTree = 5

This value states that any number of source links may come into a node, but at most one destination link may go out of a node, and there are no directed cycles.

This value assumes that the graph does not already have any cycles in it, or else the behavior may be indeterminate.