Edge
data class Edge @JvmOverloads constructor(val from: Node, val to: Node, val routes: List<Route> = emptyList())
A connection between two nodes.
An edge carries the set of routes that select it. Omit the routes for an unconditional edge, pass a single Route for the usual conditional edge, or a List for an edge that fires on any of several routes.