Created
January 11, 2018 19:19
-
-
Save aleccool213/d3a256ea67d05f4b875add16072d7339 to your computer and use it in GitHub Desktop.
eg for use with sigma in a codepen
This file contains 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
{ | |
"nodes": [ | |
{ | |
"id": "n0", | |
"label": "A node", | |
"x": 0, | |
"y": 0, | |
"size": 3 | |
}, | |
{ | |
"id": "n1", | |
"label": "Another node", | |
"x": 3, | |
"y": 1, | |
"size": 2 | |
}, | |
{ | |
"id": "n2", | |
"label": "And a last one", | |
"x": 1, | |
"y": 3, | |
"size": 1 | |
} | |
], | |
"edges": [ | |
{ | |
"id": "e0", | |
"source": "n0", | |
"target": "n1" | |
}, | |
{ | |
"id": "e1", | |
"source": "n1", | |
"target": "n2" | |
}, | |
{ | |
"id": "e2", | |
"source": "n2", | |
"target": "n0" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment