Table of Contents

Method WillCreateRecursive

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

WillCreateRecursive(IEdge)

Returns whether adding an edge would create a recursive dependency path.

public bool WillCreateRecursive(IEdge edge)

Parameters

edge IEdge

The candidate edge to test.

Returns

bool

true when the candidate edge would allow traversal from its input node back to its own output node; otherwise, false.

Remarks

The check walks outward from the candidate input node through existing outgoing edges using a stack-based search.