Last active
August 1, 2017 22:08
-
-
Save onceknown/f1ba8684561f87849e622817e25de312 to your computer and use it in GitHub Desktop.
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
{ | |
programs: { | |
`${programId}`: { | |
roots: [`${commandId}`, ... ], | |
commands: { | |
`${commandId}`: { | |
id: `${commandId}`, | |
type: `${commandType}`, | |
transitions: { | |
in: [`${transitionId}`, ... ], | |
out: [`${transitionId}`, ... ] | |
}, | |
data: { | |
// Type specific data | |
} | |
} | |
}, | |
transitions: { | |
`${transitionId}`: { | |
id: `${transitionId}`, | |
commands: { | |
in: `${commandId}`, | |
out: `${commandId}` | |
}, | |
data: { | |
// Edge specific data | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment