Created
December 28, 2020 11:45
-
-
Save sramam/edf084a37174eb89ca2ce81c665a7c1c to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) | |
const fetchMachine = Machine({ | |
key: 'Kaguz', | |
initial: 'Dashboard', | |
context: { | |
elapsed: false, | |
}, | |
states: { | |
Dashboard: {}, | |
Compositions: { | |
states: { | |
list: {}, | |
composition: { | |
initial: 'edit', | |
states: { | |
init: {}, | |
edit: {}, | |
conf: {}, | |
view: { }, | |
} | |
} | |
}, | |
}, | |
Registry: { | |
states: { | |
list: {}, | |
registry: { | |
states: { | |
resources: { | |
}, | |
relations: { | |
}, | |
facet: { | |
}, | |
relation: { | |
}, | |
resource: { | |
} | |
}, | |
}, | |
}, | |
}, | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment