Skip to content

Instantly share code, notes, and snippets.

@geraldo
Last active August 29, 2019 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geraldo/9eb5f74c6e4a9d772a8db55e1bcb2cfd to your computer and use it in GitHub Desktop.
Save geraldo/9eb5f74c6e4a9d772a8db55e1bcb2cfd to your computer and use it in GitHub Desktop.
{
"nodes": [
{"id": "Robot 1", "group": 1},
{"id": "Robot 2", "group": 1},
{"id": "Robot 3", "group": 1},
{"id": "Robot 4", "group": 2},
{"id": "Robot 5", "group": 2},
{"id": "Robot 6", "group": 2}
],
"links": [
{"source": "Robot 1", "target": "Robot 2", "value": 1},
{"source": "Robot 2", "target": "Robot 3", "value": 1},
{"source": "Robot 1", "target": "Robot 3", "value": 1},
{"source": "Robot 3", "target": "Robot 4", "value": 5},
{"source": "Robot 4", "target": "Robot 5", "value": 1},
{"source": "Robot 5", "target": "Robot 6", "value": 1},
{"source": "Robot 4", "target": "Robot 6", "value": 1}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment