Skip to content

Instantly share code, notes, and snippets.

@robole
Created March 2, 2018 18:24
Show Gist options
  • Save robole/f2f8eb16ceea345fc85ef0d77f9525e5 to your computer and use it in GitHub Desktop.
Save robole/f2f8eb16ceea345fc85ef0d77f9525e5 to your computer and use it in GitHub Desktop.
simple berlin transport json
{
"nodes": [
{
"label": "Kottbuster To",
"x": 464.41607666015625,
"y": 216.58160400390625,
"id": "3",
"attributes": {
"Target": "4",
"Source": "3"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Schonleinstr",
"x": 138.845458984375,
"y": 103.9927978515625,
"id": "6",
"attributes": {
"Target": "6",
"Source": "3"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Hermannplatz",
"x": -443.0809020996094,
"y": -377.9383544921875,
"id": "7",
"attributes": {
"Target": "7",
"Source": "6"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Schlesisches Tor",
"x": 450.490234375,
"y": -256.42205810546875,
"id": "1",
"attributes": {
"Target": "3",
"Source": "2"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Sudstern",
"x": 18.36492919921875,
"y": 136.8634033203125,
"id": "8",
"attributes": {
"Target": "7",
"Source": "8"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Gneisenaustr",
"x": -1889.7705078125,
"y": 771.0048828125,
"id": "9",
"attributes": {
"Target": "9",
"Source": "8"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Mehringdamm ",
"x": -1365.21826171875,
"y": 756.02978515625,
"id": "10",
"attributes": {
"Target": "10",
"Source": "9"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Hallesches Tor",
"x": 139.1053466796875,
"y": 27.98577880859375,
"id": "5",
"attributes": {
"Target": "11",
"Source": "12"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Mockernbrucke",
"x": 369.747314453125,
"y": 26.06207275390625,
"id": "11",
"attributes": {
"Target": "11",
"Source": "10"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Yorckstrasse",
"x": -291.8214111328125,
"y": -31.58673095703125,
"id": "12",
"attributes": {
"Target": "11",
"Source": "5"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Gorlitzer Bahnhof",
"x": -472.4402770996094,
"y": 103.3387451171875,
"id": "2",
"attributes": {
"Target": "2",
"Source": "1"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Prinzenstr",
"x": -259.6952209472656,
"y": -369.0351867675781,
"id": "4",
"attributes": {
"Target": "5",
"Source": "4"
},
"color": "rgb(0,0,0)",
"weight": 10.0
},
{
"label": "Warschauer Str",
"x": -77.211669921875,
"y": 188.16619873046875,
"id": "0",
"attributes": {
"Target": "1",
"Source": "0"
},
"color": "rgb(0,0,0)",
"weight": 10.0
}
],
"edges": [
{
"source": "8",
"target": "7",
"id": "24",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "8",
"target": "9",
"id": "25",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "3",
"target": "4",
"id": "19",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "10",
"target": "11",
"id": "27",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "1",
"target": "2",
"id": "29",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "5",
"target": "11",
"id": "28",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "9",
"target": "10",
"id": "26",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "11",
"target": "12",
"id": "20",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "2",
"target": "3",
"id": "17",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "6",
"target": "7",
"id": "23",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "0",
"target": "1",
"id": "16",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "10",
"target": "5",
"id": "32",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "4",
"target": "5",
"id": "30",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
},
{
"source": "3",
"target": "6",
"id": "22",
"attributes": {},
"color": "rgb(0,0,0)",
"weight": 2.0
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment