chain

fun chain(first: Node, second: Node, vararg rest: Node): EdgeChain

Connects the current node to first, second, and each node in rest in order, adding an edge from each node to the next and continuing from the last node. This adds the same edges as EdgesBuilder.chain would when starting from the current node: g.fromStart().chain(a, b) is the Java equivalent of chain(Start, a, b).