GroupScope

object GroupScope

Thread-local context manager for hierarchical node grouping.

Allows nodes to be created within the scope of a parent node group, establishing a hierarchical organization.

Properties

Link copied to clipboard

The currently active node group, or null if not within a group scope.

Functions

Link copied to clipboard
inline fun <T> withGroup(group: NodeGroup?, block: () -> T): T

Executes a block of code within the scope of a node group.