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_SERVER
constant in./index.js
to the URL of a flatmap server which is running versionv0.24.0
or newer server code.
If the connectivity viewer will be provided via a web server's endpoint, set the
--build
option in thebuild
command of./package.json
to the relative path of the endpoint and run:$ npm run build
This will create a set of files in the
./dist
directory that the server then needs to provide from requests to the endpoint.Otherwise run:
$ npm start
and reference the resulting
localhost
URL in a browser.