star

fun star(rootName: String, leafNames: List<String>, transportTimeFromRoot: RVSpec? = null, rootConfig: NodeScope.() -> Unit = {}, leafConfig: NodeScope.(String) -> Unit = {}): NodeScope(source)

A one-level star: a root IHP plus a leaf IHP per name in leafNames, each attached to the root with transportTimeFromRoot.

Parameters

rootConfig

configures the root node

leafConfig

configures each leaf (receives the leaf name)