A Cytoscape.js viewer for neuron connectivity graphs.
$ git clone https://github.com/AnatomicMaps/connectivity-graph.git $ cd connectivity-graph $ git checkout v0.2.0 $ npm install
- Set the
MAP_SERVERconstant in./index.jsto the URL of a flatmap server which is running versionv0.24.0or newer server code.
If the connectivity viewer will be provided via a web server's endpoint, set the
--buildoption in thebuildcommand of./package.jsonto the relative path of the endpoint and run:$ npm run build
This will create a set of files in the
./distdirectory that the server then needs to provide from requests to the endpoint.Otherwise run:
$ npm start
and reference the resulting
localhostURL in a browser.