EdgeChain
A chain of edges for Java callers, positioned at a node. EdgesBuilder.from starts a chain, and each call adds the same edges as the edges DSL function of the same name and continues from its target.
Functions
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).
Starts an edge that fires when the current node emits route; PendingEdgeChain.then completes it.
Starts one edge that fires once when the current node emits any of routes (built with EdgesBuilder.anyOf); PendingEdgeChain.then completes it.
Starts an edge that fires when the current node emits route as a Route.Flag; PendingEdgeChain.then completes it.
Starts an edge that fires when the current node emits route as a Route.Num; PendingEdgeChain.then completes it.
Starts an edge that fires when the current node emits route as a Route.Tag; PendingEdgeChain.then completes it.
Adds the current node's routing map and ends the chain.