edges

Returns the edges declared by block for a Workflow; workflow builds both in one step.

val graphEdges = edges {
Start.then(classify).route {
on("billing") then billing
otherwise(summarize)
}
billing.then(summarize)
}
val support = Workflow(name = "support_triage", edges = graphEdges)

When constructed, the Workflow checks the graph these edges form.

Throws

if a routing map has no entries, or a string route is Route.DEFAULT_ROUTE_SENTINEL.

if an on was never completed with then.