Experimental: this API is experimental and might be changed or removed in the future.

StackNode.CollectElements

Switch to Manual
public void CollectElements (HashSet<GraphElement> collectedElementSet, Func<GraphElement,bool> conditionFunc);

Parameters

collectedElementSetThe set of matching graph elements.
conditionFuncA function that determines whether a graph element is added to the set of matching graph elements.

Description

Retrieves the set of nodes contained in this stack and its edges. The retrieved graph elements match a specific condition.