Skip to content

Instantly share code, notes, and snippets.

@rafaelbecks
Created February 6, 2017 04:15
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 rafaelbecks/c60f4b320677eaee034b6ce0c525e702 to your computer and use it in GitHub Desktop.
Save rafaelbecks/c60f4b320677eaee034b6ce0c525e702 to your computer and use it in GitHub Desktop.
Estructura de datos de un grafo representando las relaciones de los músicos de Radiohead
{
"nodes": [
{
"name": "Radiohead",
"group": 1
},
{
"name": "Colin Greenwood",
"group": 1
},
{
"name": "Ed O'Brien",
"group": 1
},
{
"name": "Jonny Greenwood",
"group": 1
},
{
"name": "Phil Selway",
"group": 1
},
{
"name": "Thom Yorke",
"group": 1
},
{
"name": "Band Aid 20",
"group": 1
},
{
"name": "The Venus In Furs",
"group": 1
},
{
"name": "Wyrd Sisters",
"group": 1
},
{
"name": "7 Worlds Collide",
"group": 1
},
{
"name": "Neil Finn & Friends",
"group": 1
}
],
"links": [
{
"source": 0,
"target": 1,
"value": 1
},
{
"source": 0,
"target": 2,
"value": 1
},
{
"source": 0,
"target": 3,
"value": 1
},
{
"source": 0,
"target": 4,
"value": 1
},
{
"source": 0,
"target": 5,
"value": 1
},
{
"source": 3,
"target": 6,
"value": 1
},
{
"source": 3,
"target": 0,
"value": 1
},
{
"source": 3,
"target": 7,
"value": 1
},
{
"source": 3,
"target": 0,
"value": 1
},
{
"source": 3,
"target": 8,
"value": 1
},
{
"source": 3,
"target": 0,
"value": 1
},
{
"source": 4,
"target": 9,
"value": 1
},
{
"source": 4,
"target": 0,
"value": 1
},
{
"source": 4,
"target": 10,
"value": 1
},
{
"source": 4,
"target": 0,
"value": 1
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment