Method IsHierarchy
IsHierarchy(Subgraph, DependencyGraph)
Determines whether a subgraph forms a hierarchy rooted at its sources.
Declaration
public static bool IsHierarchy(Subgraph subgraph, DependencyGraph dependencyGraph)
Parameters
| Type | Name | Description |
|---|---|---|
| Subgraph | subgraph | The subgraph instance to evaluate for hierarchical structure. |
| DependencyGraph | dependencyGraph | The dependency graph that contains the subgraph nodes. |
Returns
| Type | Description |
|---|---|
| bool | True when the subgraph is hierarchical. |