GoDiagram Win Reference
MakesDirectedCycle 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 of directed links going through the node a.
Syntax
'Declaration
 
Public Shared Function MakesDirectedCycle( _
   ByVal a As IGoNode, _
   ByVal b As IGoNode _
) As Boolean
public static bool MakesDirectedCycle( 
   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
MakesDirectedCycleFast Method
MakesUndirectedCycle Method
IsValidLink Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback