addNode

fun addNode(data: T, id: Any = data.hashCode(), isOpen: Boolean = false, childrenGenerator: ChildrenGeneratorScope<T>.() -> Unit = { })