GraphEdge

data class GraphEdge(val from: String, val to: String, val isConditional: Boolean = false, val label: String? = null)

A transition from from to to. Either end can be START or END.

Constructors

Link copied to clipboard
constructor(from: String, to: String, isConditional: Boolean = false, label: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard

true when to is one of the declared targets of a conditional edge, so the transition only happens when the edge's condition picks it.

Link copied to clipboard

says when a conditional edge goes to to, from the labels of StateGraph.conditionalEdge. null when it has none, and for a static edge.

Link copied to clipboard
val to: String