- Preparing search index...
- The search index is not available
statebot
- decomposeChart(chart: TStatebotChart): { routes: string[]; states: string[]; transitions: string[][] }
-
Returns { routes: string[]; states: string[]; transitions: string[][] }
-
routes: string[]
-
states: string[]
-
transitions: string[][]
Decompose a TStatebotChart into an object of
states
,routes
, andtransitions
.Statebot() uses this internally to parse charts. Exposed for debugging.
Returns
Example