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

GraphElementScopeExtensions.GetContainingScope

Switch to Manual
public static Experimental.GraphView.Scope GetContainingScope (Experimental.GraphView.GraphElement element);

Description

Returns the scope containing the specified GraphElement.