projects/common/interactive/tree-controller/tree-controller.ts
Plain factory for a signal-native tree controller. Reads opts.nodes reactively, derives flat / visible projections via computed, and tracks expanded-id state internally. Must be called in an injection context (reads CNGX_TREE_CONFIG for defaults).
opts.nodes
computed
See CngxTreeController for the returned surface and CngxTreeControllerOptions for the configuration cascade.
createTreeController(opts: CngxTreeControllerOptions)
CngxTreeControllerOptions
CngxTreeController