gonum.org/v1/gonum@v0.14.0/graph/formats/cytoscapejs/testdata/cola-compound.json (about) 1 { 2 "nodes": [ 3 { "data": { "id": "compound-1" } }, 4 { "data": { "id": "compound-2" } }, 5 { "data": { "id": "compound-3" } }, 6 { "data": { "id": "b", "parent": "compound-1" } }, 7 { "data": { "id": "c", "parent": "compound-1" } }, 8 { "data": { "id": "a", "parent": "compound-2" } }, 9 { "data": { "id": "d", "parent": "compound-3" } }, 10 { "data": { "id": "e", "parent": "compound-3" } }, 11 { "data": { "id": "f" } } 12 ], 13 "edges": [ 14 { "data": { "id": "ab", "source": "a", "target": "b" } }, 15 { "data": { "id": "bc", "source": "b", "target": "c" } }, 16 { "data": { "id": "ac", "source": "a", "target": "c" } }, 17 { "data": { "id": "cd", "source": "c", "target": "d" } }, 18 { "data": { "id": "de", "source": "d", "target": "e" } }, 19 { "data": { "id": "df", "source": "d", "target": "f" } }, 20 { "data": { "id": "af", "source": "a", "target": "f" } } 21 ] 22 }