addNode

fun addNode(position: Position, initial: R, retainTime: Int = defaultRetainTime, program: Aggregate<Int>.(environment: Environment<R>) -> R)

Adds a node to the environment at the given position with the given initial value and program.