TreeNode¶
One node built by tree. data is the caller's own arbitrary payload. children/parents hold other TreeNodes directly (not ids) - use TreeRegistry.get to look one up by id later. data/children/parents are genuine Compose state, so mutating any of them after tree returns recomposes NodeTreeView automatically.
Properties¶
children¶
val children: MutableList<TreeNode<K, V>>
data¶
id¶
parents¶
val parents: MutableList<TreeNode<K, V>>