route

infix fun Node.route(routeMapDefinition: EdgesDslBlock<RouteMapBuilder>)

Adds this node's routing map, with an edge for each route routeMapDefinition maps to a node. A routing map ends the statement; connect its targets onward in separate statements. An empty map throws IllegalArgumentException, and an entry not completed with then throws IllegalStateException.