Class SuperNode
Represents a strongly connected component (SCC) in the AutoGroupGenerator asset dependency graph.
A SuperNode is an abstraction that groups together asset nodes which are mutually dependent on each other, forming a dependency cycle. In graph terms, a set of nodes is considered strongly connected if every node in the set can be reached from every other node by following dependency edges.
SuperNodes are used internally by AutoGroupGenerator to resolve cyclic dependencies by collapsing such cycles into a single logical node during graph analysis. This allows the system to reason about dependencies, ordering, and grouping in a deterministic way without being blocked by dependency loops.
SuperNodes are not user-facing and are not intended to be created or manipulated directly. They exist solely as an implementation detail of AutoGroupGenerator’s graph processing pipeline and are handled automatically by the system.
Implements
Inherited Members
Namespace: AutoGroupGenerator
Assembly: Unity.AutoGroupGenerator.Editor.dll
Syntax
[Serializable]
public class SuperNode : IEquatable<SuperNode>
Constructors
| Name | Description |
|---|---|
| SuperNode(IEnumerable<AssetNode>) | Initializes a new instance of the SuperNode class. |
Properties
| Name | Description |
|---|---|
| Nodes | Gets the asset nodes contained in this super node. |
Methods
| Name | Description |
|---|---|
| Contains(AssetNode) | Determines whether the super node contains the specified asset node. |
| Equals(SuperNode) | Determines whether another super node has the same member nodes. |
| Equals(object) | Determines whether another object is equal to this super node. |
| FromSingle(AssetNode) | Creates a SuperNode containing a single asset node. |
| GetHashCode() | Returns a hash code for this super node. |
| ToString() | Returns a string representation of the super node. |