Northwoods.Go Assembly > Northwoods.Go Namespace > GoDocument Class : ValidCycle Property |
'Declaration <CategoryAttribute("Behavior")> <DefaultValueAttribute()> <DescriptionAttribute("Whether a valid link can produce a cycle in the graph.")> Public Overridable Property ValidCycle As GoDocumentValidCycle
[CategoryAttribute("Behavior")] [DefaultValueAttribute()] [DescriptionAttribute("Whether a valid link can produce a cycle in the graph.")] public virtual GoDocumentValidCycle ValidCycle {get; set;}
GoDocumentValidCycle | |
---|---|
GoDocumentValidCycle.All | produces no checking for cycles. |
GoDocumentValidCycle.NotDirected | checks for possible cycle consisting of directed links. This check is slower and consumes more memory than the "Fast" version, but will not fail even if there are cycles or loops in the graph. |
GoDocumentValidCycle.NotDirectedFast | checks for possible cycle consisting of directed links, without concern for any existing directed cycles elsewhere in the graph. Thus using this mode may result in infinite recursion and stack overflows if there happen to be any directed cycles accessible from either port in a call to IsValidLink. |
GoDocumentValidCycle.NotUndirected | checks for possible cycle consisting of links in either direction. |
GoDocumentValidCycle.DestinationTree | checks for possible links that would cause the graph no longer to be a tree, with each node having at most one source link. |
GoDocumentValidCycle.SourceTree | checks for possible links that would cause the graph no longer to be a tree, with each node having at most one destination link. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2