Skip to content

Instantly share code, notes, and snippets.

@robertpenner
Created August 12, 2021 22:08
Show Gist options
  • Save robertpenner/0c7e08477b366adef33ad2efe2055baf to your computer and use it in GitHub Desktop.
Save robertpenner/0c7e08477b366adef33ad2efe2055baf to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
const machine = Machine({
id: "Odds Navigation",
initial: "Unavailable",
states: {
Unavailable: {},
"To Win": {},
Matchups: {
initial: "3 Ball – DHR – R1",
states: {
"3 Ball – DHR – R1": {},
"2 Ball – DHR – R1": {},
"H2H – DHR – F": {},
},
},
Finishes: {
initial: "Top 5",
states: {
"Top 5": {},
"Top 10": {},
"Top 20": {},
},
},
Groups: {},
Players: {
initial: "Make the Cut",
states: {
"Make the Cut": {},
"Leader After R1": {},
},
},
Nationality: {
initial: "USA",
states: {
USA: {},
Asian: {},
Australian: {},
British: {},
Canadian: {},
},
},
Compare: {
initial: "FanDuel",
states: {
FanDuel: {},
BetMGM: {},
DraftKings: {},
SportsBet: {},
History: {},
},
},
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment