JavaScript
var graph = {
"locations": [
{"id": "Cochlear", "l_id": 1},
{"id": "Dorsal Cochlear Nucleus", "l_id": 2},
{"id": "Anteroventral Cochlear Nucleus", "l_id": 3},
{"id": "Posteroventral Cochlear Nucleus", "l_id": 4}
],
"cells": [
{"id": "Inner Hair Cell", "location": 1},
{"id": "Outer Hair Cell", "location": 1},
{"id": "Type I SGN", "location": 1},
{"id": "Type II SGN", "location": 1},
{"id": "Pyramidal", "location": 2},
{"id": "Stellate", "location": 2},
{"id": "Cartwheel", "location": 2},
{"id": "Unipolar Brush", "location": 2},
{"id": "Golgi", "location": 2},
{"id": "Granule", "location": 2},
{"id": "Giant", "location": 2},
{"id": "Tuberculoventral", "location": 2},
{"id": "Spherical", "location": 3},
{"id": "Globular", "location": 3},
{"id": "T-Stellate", "location": 3},
{"id": "D-Stellate", "location": 3},
{"id": "Planar","location": 4},
{"id": "Octopus","location": 4},
{"id": "Radiate","location": 4}
],
"locCell":[
{"source": "Inner Hair Cell", "target": "Cochlear"},
{"source": "Outer Hair Cell", "target": "Cochlear"},
{"source": "Type I SGN", "target": "Cochlear"},
{"source": "Type II SGN", "target": "Cochlear"},
{"source": "Pyramidal", "target": "Dorsal Cochlear Nucleus"},
{"source": "Stellate", "target": "Dorsal Cochlear Nucleus"},
{"source": "Cartwheel", "target": "Dorsal Cochlear Nucleus"},
{"source": "Unipolar Brush", "target": "Dorsal Cochlear Nucleus"},
{"source": "Golgi", "target": "Dorsal Cochlear Nucleus"},
{"source": "Granule", "target": "Dorsal Cochlear Nucleus"},
{"source": "Giant", "target": "Dorsal Cochlear Nucleus"},
{"source": "Tuberculoventral", "target": "Dorsal Cochlear Nucleus"},
{"source": "Spherical", "target": "Anteroventral Cochlear Nucleus"},
{"source": "Globular", "target": "Anteroventral Cochlear Nucleus"},
{"source": "T-Stellate", "target": "Anteroventral Cochlear Nucleus"},
{"source": "D-Stellate", "target": "Anteroventral Cochlear Nucleus"},
{"source": "Planar","target": "Posteroventral Cochlear Nucleus"},
{"source":...