GoDiagram Web Reference
MakesUndirectedCycle Method

the node to start from
the node that the proposed link would connect to
This method returns true if adding a link from a to b would result in a cycle or loop of links, regardless of link direction, going through the node a.
Syntax
'Declaration
 
Public Shared Function MakesUndirectedCycle( _
   ByVal a As IGoNode, _
   ByVal b As IGoNode _
) As Boolean
public static bool MakesUndirectedCycle( 
   IGoNode a,
   IGoNode b
)

Parameters

a
the node to start from
b
the node that the proposed link would connect to
Remarks
This method ignores any reflexive links--i.e. links whose ports are both part of the same node.
Requirements

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

See Also

Reference

GoDocument Class
GoDocument Members
ValidCycle Property
MakesDirectedCycle Method
MakesDirectedCycleFast Method
IsValidLink Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback