Skip to content

Instantly share code, notes, and snippets.

@jasonho-lynx
Last active June 22, 2021 04:17
Show Gist options
  • Save jasonho-lynx/ee01876514e85aeb529051a06e43fb13 to your computer and use it in GitHub Desktop.
Save jasonho-lynx/ee01876514e85aeb529051a06e43fb13 to your computer and use it in GitHub Desktop.
state.py
'data': [
{
'nodes': [
{'id': 'COO', 'value': 'COO', 'name': 'COO'},
{'id': 'CEO', 'value': 'CEO', 'name': 'CEO'},
{'id': 'CFO', 'value': 'CFO', 'name': 'CFO'},
{'id': 'CTO', 'value': 'CTO', 'name': 'CTO'},
...
],
'edges': [
{
'relation': 'reports to',
'source': 'COO',
'target': 'CEO',
},
...
]
...
}
],
'style': {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment