{"_id":"neo4jd3","_rev":"10-92ca4f7f3366f9618232f274f93882ca","name":"neo4jd3","description":"Neo4jD3","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1-SNAPSHOT":{"name":"neo4jd3","version":"0.0.1-SNAPSHOT","description":"Neo4jD3","main":"dist/neo4jd3.min.js","bugs":{"url":"https://github.com/eisman/neo4jd3/issues"},"homepage":"https://github.com/eisman/neo4jd3","directories":{"test":"test"},"scripts":{"start":"gulp","test":"gulp test"},"keywords":["neo4j","d3.js","graph visualization"],"author":{"name":"Eduardo Eisman","email":"eeisman@gmail.com","url":"https://github.com/eisman"},"repository":{"type":"git","url":"git+https://github.com/eisman/neo4jd3.git"},"license":"MIT","dependencies":{"d3":"^4.2.1"},"devDependencies":{"angular-mocks":"^1.5.7","bootstrap":"^3.3.7","browserify":"^13.0.1","browserify-shim":"^3.8.12","chai":"^3.5.0","del":"^2.2.1","ecstatic":"^2.1.0","font-awesome":"^4.6.3","gulp":"^3.9.1","gulp-autoprefixer":"^3.1.0","gulp-cache":"^0.4.5","gulp-concat":"^2.6.0","gulp-connect":"^5.0.0","gulp-cssnano":"^2.1.2","gulp-derequire":"^2.1.0","gulp-embedlr":"^0.5.2","gulp-if":"^2.0.1","gulp-imagemin":"^3.0.2","gulp-jshint":"^2.0.1","gulp-livereload":"^3.8.1","gulp-mocha":"^2.2.0","gulp-notify":"^2.2.0","gulp-plumber":"^1.1.0","gulp-rename":"^1.2.2","gulp-ruby-sass":"^2.1.0","gulp-uglify":"^2.0.0","gulp-uncache":"^0.4.0-beta1","gulp-util":"^3.0.7","http-server":"^0.9.0","jshint":"^2.9.3","karma":"^0.13.22","karma-bamboo-reporter":"^0.1.2","karma-browserify":"^5.0.5","karma-chai-plugins":"^0.7.0","karma-coverage":"^1.0.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.4","karma-phantomjs-launcher":"^1.0.0","karma-sinon":"^1.0.4","lodash":"^4.13.1","node-notifier":"^4.6.0","phantomjs":"^2.1.1","proxyquire":"^1.7.9 ","proxyquireify":"^3.2.0","run-sequence":"^1.2.2","tiny-lr":"^0.2.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0","vinyl-transform":"^1.0.0","wallabify":"^0.0.14","watchify":"^3.7.0","wrench":"^1.5.9"},"gitHead":"fff5ac3824bb3858d915b50f91d688ac938c9635","_id":"neo4jd3@0.0.1-SNAPSHOT","_shasum":"894272a0d0b3031dbcb5ac6cf7840c6092044404","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"eisman","email":"eeisman@gmail.com"},"dist":{"shasum":"894272a0d0b3031dbcb5ac6cf7840c6092044404","tarball":"https://registry.npmjs.org/neo4jd3/-/neo4jd3-0.0.1-SNAPSHOT.tgz","integrity":"sha512-aqsq2aL0+Yi/tmj8o2pYy35KqyMIyEGhDOgtDsEUiS1zkuxYZ38Z0RXCSucy7fhbfoF8g6DQXgMYNU5aXxV74Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5r51Zvp6ncEELvwtpNnxR+PjSV1EmYN5p0Drn7VHbSAiBTGSL4bkMvwB6ho5hrO1+WiseKcOHEG5Js9FumcLTDbg=="}]},"maintainers":[{"name":"eisman","email":"eeisman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/neo4jd3-0.0.1-SNAPSHOT.tgz_1474365073657_0.6966325105167925"}},"0.0.3":{"name":"neo4jd3","version":"0.0.3","description":"Neo4jD3","main":"dist/neo4jd3.min.js","bugs":{"url":"https://github.com/eisman/neo4jd3/issues"},"homepage":"https://github.com/eisman/neo4jd3","directories":{"test":"test"},"scripts":{"start":"gulp","test":"gulp test"},"keywords":["neo4j","d3.js","graph visualization"],"author":{"name":"Eduardo Eisman","email":"eeisman@gmail.com","url":"https://github.com/eisman"},"repository":{"type":"git","url":"git+https://github.com/eisman/neo4jd3.git"},"license":"MIT","dependencies":{"d3":"^4.2.1"},"devDependencies":{"angular-mocks":"^1.5.7","bootstrap":"^3.3.7","browserify":"^13.0.1","browserify-shim":"^3.8.12","chai":"^3.5.0","del":"^2.2.1","ecstatic":"^2.1.0","font-awesome":"^4.6.3","gulp":"^3.9.1","gulp-autoprefixer":"^3.1.0","gulp-cache":"^0.4.5","gulp-concat":"^2.6.0","gulp-connect":"^5.0.0","gulp-cssnano":"^2.1.2","gulp-derequire":"^2.1.0","gulp-embedlr":"^0.5.2","gulp-if":"^2.0.1","gulp-imagemin":"^3.0.2","gulp-jshint":"^2.0.1","gulp-livereload":"^3.8.1","gulp-mocha":"^2.2.0","gulp-notify":"^2.2.0","gulp-plumber":"^1.1.0","gulp-rename":"^1.2.2","gulp-ruby-sass":"^2.1.0","gulp-uglify":"^2.0.0","gulp-uncache":"^0.4.0-beta1","gulp-util":"^3.0.7","http-server":"^0.9.0","jshint":"^2.9.3","karma":"^0.13.22","karma-bamboo-reporter":"^0.1.2","karma-browserify":"^5.0.5","karma-chai-plugins":"^0.7.0","karma-coverage":"^1.0.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.4","karma-phantomjs-launcher":"^1.0.0","karma-sinon":"^1.0.4","lodash":"^4.13.1","node-notifier":"^4.6.0","phantomjs":"^2.1.1","proxyquire":"^1.7.9 ","proxyquireify":"^3.2.0","run-sequence":"^1.2.2","tiny-lr":"^0.2.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0","vinyl-transform":"^1.0.0","wallabify":"^0.0.14","watchify":"^3.7.0","wrench":"^1.5.9"},"gitHead":"02540a8d999a8341292d0034ce10f97c4d3da444","_id":"neo4jd3@0.0.3","_shasum":"73798268b6645d91bd78a2b549982e388fc515d6","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"eisman","email":"eeisman@gmail.com"},"dist":{"shasum":"73798268b6645d91bd78a2b549982e388fc515d6","tarball":"https://registry.npmjs.org/neo4jd3/-/neo4jd3-0.0.3.tgz","integrity":"sha512-VLrviP8W+Z+Rq5a9kvKZoFh/LVmP+xmValgdgvOXvKRvou21Km7eZe/ozZjGNdO3LHdV2HoKS1YDJT92W9wsyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPasEjvNqEfCoponX5jGJzCT3nPU34Ie9PLc1b+3ZBNAiEAxKxghYRrBMZdcnVLRb+hrWqmO7DpVqdBq+uP6abinaM="}]},"maintainers":[{"name":"eisman","email":"eeisman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/neo4jd3-0.0.3.tgz_1474368823779_0.6055063751991838"}},"0.0.4":{"name":"neo4jd3","version":"0.0.4","description":"Neo4jD3","main":"dist/neo4jd3.min.js","bugs":{"url":"https://github.com/eisman/neo4jd3/issues"},"homepage":"https://github.com/eisman/neo4jd3","directories":{"test":"test"},"scripts":{"start":"gulp","test":"gulp test"},"keywords":["neo4j","d3.js","graph visualization"],"author":{"name":"Eduardo Eisman","email":"eeisman@gmail.com","url":"https://github.com/eisman"},"repository":{"type":"git","url":"git+https://github.com/eisman/neo4jd3.git"},"license":"MIT","dependencies":{"d3":"^4.2.1"},"devDependencies":{"angular-mocks":"^1.5.7","bootstrap":"^3.3.7","browserify":"^13.0.1","browserify-shim":"^3.8.12","chai":"^3.5.0","del":"^2.2.1","ecstatic":"^2.1.0","font-awesome":"^4.6.3","gulp":"^3.9.1","gulp-autoprefixer":"^3.1.0","gulp-cache":"^0.4.5","gulp-concat":"^2.6.0","gulp-connect":"^5.0.0","gulp-cssnano":"^2.1.2","gulp-derequire":"^2.1.0","gulp-embedlr":"^0.5.2","gulp-if":"^2.0.1","gulp-imagemin":"^3.0.2","gulp-jshint":"^2.0.1","gulp-livereload":"^3.8.1","gulp-mocha":"^2.2.0","gulp-notify":"^2.2.0","gulp-plumber":"^1.1.0","gulp-rename":"^1.2.2","gulp-ruby-sass":"^2.1.0","gulp-uglify":"^2.0.0","gulp-uncache":"^0.4.0-beta1","gulp-util":"^3.0.7","http-server":"^0.9.0","jshint":"^2.9.3","karma":"^0.13.22","karma-bamboo-reporter":"^0.1.2","karma-browserify":"^5.0.5","karma-chai-plugins":"^0.7.0","karma-coverage":"^1.0.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.4","karma-phantomjs-launcher":"^1.0.0","karma-sinon":"^1.0.4","lodash":"^4.13.1","node-notifier":"^4.6.0","phantomjs":"^2.1.1","proxyquire":"^1.7.9 ","proxyquireify":"^3.2.0","run-sequence":"^1.2.2","tiny-lr":"^0.2.1","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0","vinyl-transform":"^1.0.0","wallabify":"^0.0.14","watchify":"^3.7.0","wrench":"^1.5.9"},"gitHead":"1201c1c84f68e5adc52aa1c63c5a6c1f5b2a12ad","_id":"neo4jd3@0.0.4","_shasum":"47d6f059fc889231f8a3b8ff54965b29e75c0d9c","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"eisman","email":"eeisman@gmail.com"},"dist":{"shasum":"47d6f059fc889231f8a3b8ff54965b29e75c0d9c","tarball":"https://registry.npmjs.org/neo4jd3/-/neo4jd3-0.0.4.tgz","integrity":"sha512-iop1GXFnt+hZGAvDNIFHi7++NsKqe2bEY2zcdENM1+JMmh4CfHvNtY1KU7TykrL20w8mU3DzOk4DBNTllpF+Rw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSyrQ/6Z6Gx1ZaawrY/NKSjuyiZDBeqroAe7uI+m7BzQIhALHCXoiYSH6nchHl5kQg22Azz3nS9EV+5W/7Fm9tP39S"}]},"maintainers":[{"name":"eisman","email":"eeisman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/neo4jd3-0.0.4.tgz_1474461667895_0.9178606295026839"}},"0.0.5":{"name":"neo4jd3","version":"0.0.5","description":"Neo4jD3","main":"dist/neo4jd3.min.js","bugs":{"url":"https://github.com/eisman/neo4jd3/issues"},"homepage":"https://github.com/eisman/neo4jd3","directories":{"test":"test"},"scripts":{"start":"gulp","test":"gulp test"},"keywords":["neo4j","d3.js","graph visualization"],"author":{"name":"Eduardo Eisman","email":"eeisman@gmail.com","url":"https://github.com/eisman"},"repository":{"type":"git","url":"git+https://github.com/eisman/neo4jd3.git"},"license":"MIT","dependencies":{"d3":"^4.2.1"},"devDependencies":{"angular-mocks":"^1.5.7","bootstrap":"^3.3.7","browserify":"^13.0.1","browserify-shim":"^3.8.12","chai":"^3.5.0","del":"^2.2.1","ecstatic":"^2.1.0","font-awesome":"^4.6.3","gulp":"^3.9.1","gulp-autoprefixer":"^3.1.0","gulp-cache":"^0.4.5","gulp-concat":"^2.6.0","gulp-connect":"^5.0.0","gulp-cssnano":"^2.1.2","gulp-derequire":"^2.1.0","gulp-embedlr":"^0.5.2","gulp-if":"^2.0.1","gulp-imagemin":"^3.0.2","gulp-jshint":"^2.0.1","gulp-livereload":"^3.8.1","gulp-mocha":"^2.2.0","gulp-notify":"^2.2.0","gulp-plumber":"^1.1.0","gulp-rename":"^1.2.2","gulp-ruby-sass":"^2.1.0","gulp-uglify":"^2.0.0","gulp-uncache":"^0.4.0-beta1","gulp-util":"^3.0.7","http-server":"^0.9.0","jshint":"^2.9.3","karma":"^0.13.22","karma-bamboo-reporter":"^0.1.2","karma-browserify":"^5.0.5","karma-chai-plugins":"^0.7.0","karma-coverage":"^1.0.0","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.4","karma-phantomjs-launcher":"^1.0.0","karma-sinon":"^1.0.4","lodash":"^4.13.1","node-notifier":"^4.6.0","phantomjs":"^2.1.1","proxyquire":"^1.7.9 ","proxyquireify":"^3.2.0","run-sequence":"^1.2.2","tiny-lr":"^0.2.1","twemoji":"^2.2.0","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0","vinyl-transform":"^1.0.0","wallabify":"^0.0.14","watchify":"^3.7.0","wrench":"^1.5.9"},"gitHead":"7bf20d0cff802b850b33a243d2483e8139bff9cd","_id":"neo4jd3@0.0.5","_shasum":"a884c79b2cbcc6a9d5642b73b01e0807d3a1c251","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"eisman","email":"eeisman@gmail.com"},"dist":{"shasum":"a884c79b2cbcc6a9d5642b73b01e0807d3a1c251","tarball":"https://registry.npmjs.org/neo4jd3/-/neo4jd3-0.0.5.tgz","integrity":"sha512-Qem+qLSn+614IpJQpfHzXecKG8EBMZ/YsmKphHIdr/3G7qjwAkXareagmz9DUQ9YuSvjbSpUiswzFL2dW8Go+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEId252pGv747kwTH3/7XUsXfDwJsYJeDKTs8ipcX1qXAiEA/b9ZVbKLHrPtgP2OKR9arty0YZ5yZwFc2DpMo4zWLJc="}]},"maintainers":[{"name":"eisman","email":"eeisman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/neo4jd3-0.0.5.tgz_1475011205422_0.4653646210208535"}}},"readme":"# neo4jd3.js\r\n\r\n[Neo4j](https://github.com/neo4j) graph visualization using [D3.js](https://github.com/d3/d3).\r\n\r\n![neo3jd3.js](https://eisman.github.io/neo4jd3/img/neo4jd3.jpg?v=0.0.5)\r\n\r\n## Features\r\n\r\n* Neo4j's JSON graph format.\r\n* Force simulation.\r\n* Info panel that shows nodes and relationships information on hover.\r\n* Double click callbacks.\r\n* Custom node colors by node type.\r\n* Text nodes + [Font Awesome](http://fontawesome.io/) icon nodes + SVG image nodes (e.g. using [Twitter Emoji](https://github.com/twitter/twemoji))).\r\n* Sticky nodes (drag to stick, single click to unstick).\r\n* Dynamic graph update (e.g. double click a node to expand it).\r\n* Highlight nodes on init.\r\n* Relationship auto-orientation.\r\n* Zoom, pan, auto fit.\r\n* Compatible with D3.js v4.\r\n\r\n## Running\r\n\r\nClone the repository, install all dependencies, build and serve the project:\r\n\r\n```bash\r\n> git clone https://github.com/eisman/neo4jd3.git\r\n> npm install\r\n> gulp\r\n```\r\n\r\nOpen `http://localhost:8080` in your favorite browser.\r\n\r\n## Documentation\r\n\r\n```javascript\r\nvar neo4jd3 = new Neo4jd3('.selector', options);\r\n```\r\n\r\n### Options\r\n\r\n| Parameter | Type | Description |\r\n| --------- | ---- | ----------- |\r\n| **highlight** | *array* | Highlight several nodes of the graph.<br>Example:<br>`[`<br>&nbsp;&nbsp;&nbsp;&nbsp;`{`<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`class: 'Project',`<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`property: 'name',`<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`value: 'neo4jd3'`<br>&nbsp;&nbsp;&nbsp;&nbsp;`}`<br>`]` |\r\n| **icons** | *object* | Map node labels to [Font Awesome icons](http://fontawesome.io/icons).<br>Example:<br>`{`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'BirthDate': 'birthday-cake',`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'Password': 'lock',`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'Phone': 'phone',`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'User': 'user'`<br>`}`. |\r\n| **images** | *object* | Map node labels to SVG images (e.g. using [Twitter Emoji](https://github.com/twitter/twemoji)).<br>Example:<br>`{`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'Address': 'img/twemoji/1f3e0.svg',`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'BirthDate': 'img/twemoji/1f382.svg',`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'Password': 'img/twemoji/1f511.svg',`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'Project': 'img/twemoji/2198.svg',`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'Project|name|neo4jd3': 'img/twemoji/2196.svg',`<br>&nbsp;&nbsp;&nbsp;&nbsp;`'User': 'img/twemoji/1f600.svg'`<br>`}`. |\r\n| **infoPanel** | *boolean* | Show the information panel: `true`, `false`. Default: `true`. |\r\n| **minCollision** | *int* | Minimum distance between nodes. Default: 2 * *nodeRadius*. |\r\n| **neo4jData** | *object* | Graph data in [Neo4j data format](#neo4j-data-format). |\r\n| **neo4jDataUrl** | *string* | URL of the endpoint that serves the graph data in [Neo4j data format](#neo4j-data-format). |\r\n| **nodeRadius** | *int* | Radius of nodes. Default: 25. |\r\n| **onNodeClick** | *function* | Callback function to be executed when the user clicks a node. |\r\n| **onNodeDoubleClick** | *function* | Callback function to be executed when the user double clicks a node. |\r\n| **onNodeDragEnd** | *function* | Callback function to be executed when the user finishes dragging a node. |\r\n| **onNodeDragStart** | *function* | Callback function to be executed when the user starts dragging a node. |\r\n| **onNodeMouseEnter** | *function* | Callback function to be executed when the mouse enters a node. |\r\n| **onNodeMouseLeave** | *function* | Callback function to be executed when the mouse leaves a node. |\r\n| **onRelationshipDoubleClick** | *function* | Callback function to be executed when the user double clicks a relationship. |\r\n| **zoomFit** | *boolean* | Adjust the graph to the container once it has been loaded: `true`, `false`. Default: `false`. |\r\n\r\n### JavaScript API\r\n\r\n| Function | Description |\r\n| -------- | ----------- |\r\n| **appendRandomDataToNode**(*d*, *maxNodesToGenerate*) | Generates between 1 and *maxNodesToGenerate* random nodes connected to node *d* and updates the graph data. |\r\n| **neo4jDataToD3Data**(*data*) | Converts data from [Neo4j data format](#neo4j-data-format) to [D3.js data format](#d3js-data-format). |\r\n| **randomD3Data**(*d*, *maxNodesToGenerate*) | Generates between 1 and *maxNodesToGenerate* random nodes connected to node *d*. |\r\n| **size**() | Returns the number of nodes and relationships.<br>Example:<br>`{`<br>&nbsp;&nbsp;&nbsp;&nbsp;`nodes: 25,`<br>&nbsp;&nbsp;&nbsp;&nbsp;`relationships: 50`<br>`}` |\r\n| **updateWithD3Data**(*d3Data*) | Updates the graph data using the [D3.js data format](#d3js-data-format). |\r\n| **updateWithNeo4jData**(*neo4jData*) | Updates the graph data using the [Neo4j data format](#neo4j-data-format). |\r\n| **version**() | Returns the version of neo4jd3.js.<br>Example: `'0.0.1'` |\r\n\r\n### Documentation\r\n\r\n#### D3.js data format\r\n\r\n```\r\n{\r\n    \"nodes\": [\r\n        {\r\n            \"id\": \"1\",\r\n            \"labels\": [\"User\"],\r\n            \"properties\": {\r\n                \"userId\": \"eisman\"\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"8\",\r\n            \"labels\": [\"Project\"],\r\n            \"properties\": {\r\n                \"name\": \"neo4jd3\",\r\n                \"title\": \"neo4jd3.js\",\r\n                \"description\": \"Neo4j graph visualization using D3.js.\",\r\n                \"url\": \"https://eisman.github.io/neo4jd3\"\r\n            }\r\n        }\r\n    ],\r\n    \"relationships\": [\r\n        {\r\n            \"id\": \"7\",\r\n            \"type\": \"DEVELOPES\",\r\n            \"startNode\": \"1\",\r\n            \"endNode\": \"8\",\r\n            \"properties\": {\r\n                \"from\": 1470002400000\r\n            },\r\n            \"source\": \"1\",\r\n            \"target\": \"8\",\r\n            \"linknum\": 1\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\n#### Neo4j data format\r\n\r\n```\r\n{\r\n    \"results\": [\r\n        {\r\n            \"columns\": [\"user\", \"entity\"],\r\n            \"data\": [\r\n                {\r\n                    \"graph\": {\r\n                        \"nodes\": [\r\n                            {\r\n                                \"id\": \"1\",\r\n                                \"labels\": [\"User\"],\r\n                                \"properties\": {\r\n                                    \"userId\": \"eisman\"\r\n                                }\r\n                            },\r\n                            {\r\n                                \"id\": \"8\",\r\n                                \"labels\": [\"Project\"],\r\n                                \"properties\": {\r\n                                    \"name\": \"neo4jd3\",\r\n                                    \"title\": \"neo4jd3.js\",\r\n                                    \"description\": \"Neo4j graph visualization using D3.js.\",\r\n                                    \"url\": \"https://eisman.github.io/neo4jd3\"\r\n                                }\r\n                            }\r\n                        ],\r\n                        \"relationships\": [\r\n                            {\r\n                                \"id\": \"7\",\r\n                                \"type\": \"DEVELOPES\",\r\n                                \"startNode\": \"1\",\r\n                                \"endNode\": \"8\",\r\n                                \"properties\": {\r\n                                    \"from\": 1470002400000\r\n                                }\r\n                            }\r\n                        ]\r\n                    }\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"errors\": []\r\n}\r\n```\r\n\r\n### Example\r\n\r\nLive example @ [https://eisman.github.io/neo4jd3/](https://eisman.github.io/neo4jd3/)\r\n\r\n```javascript\r\nvar neo4jd3 = new Neo4jd3('#neo4jd3', {\r\n    highlight: [\r\n        {\r\n            class: 'Project',\r\n            property: 'name',\r\n            value: 'neo4jd3'\r\n        }, {\r\n            class: 'User',\r\n            property: 'userId',\r\n            value: 'eisman'\r\n        }\r\n    ],\r\n    icons: {\r\n        'Api': 'gear',\r\n        'BirthDate': 'birthday-cake',\r\n        'Cookie': 'paw',\r\n        'Email': 'at',\r\n        'Git': 'git',\r\n        'Github': 'github',\r\n        'Ip': 'map-marker',\r\n        'Issues': 'exclamation-circle',\r\n        'Language': 'language',\r\n        'Options': 'sliders',\r\n        'Password': 'asterisk',\r\n        'Phone': 'phone',\r\n        'Project': 'folder-open',\r\n        'SecurityChallengeAnswer': 'commenting',\r\n        'User': 'user',\r\n        'zoomFit': 'arrows-alt',\r\n        'zoomIn': 'search-plus',\r\n        'zoomOut': 'search-minus'\r\n    },\r\n    images: {\r\n        'Address': 'img/twemoji/1f3e0.svg',\r\n        'BirthDate': 'img/twemoji/1f5d3.svg',\r\n        'Cookie': 'img/twemoji/1f36a.svg',\r\n        'CreditCard': 'img/twemoji/1f4b3.svg',\r\n        'Device': 'img/twemoji/1f4bb.svg',\r\n        'Email': 'img/twemoji/2709.svg',\r\n        'Git': 'img/twemoji/1f5c3.svg',\r\n        'Github': 'img/twemoji/1f5c4.svg',\r\n        'icons': 'img/twemoji/1f38f.svg',\r\n        'Ip': 'img/twemoji/1f4cd.svg',\r\n        'Issues': 'img/twemoji/1f4a9.svg',\r\n        'Language': 'img/twemoji/1f1f1-1f1f7.svg',\r\n        'Options': 'img/twemoji/2699.svg',\r\n        'Password': 'img/twemoji/1f511.svg',\r\n        'Project|name|d3': 'img/twemoji/32-20e3.svg',\r\n        'Project|name|neo4j': 'img/twemoji/33-20e3.svg',\r\n        'Project|name|neo4jd3': 'img/twemoji/31-20e3.svg',\r\n        'User': 'img/twemoji/1f600.svg'\r\n    },\r\n    minCollision: 60,\r\n    neo4jDataUrl: 'json/neo4jData.json',\r\n    nodeRadius: 25,\r\n    onNodeDoubleClick: function(node) {\r\n        var maxNodes = 5,\r\n            data = neo4jd3.randomD3Data(node, maxNodes);\r\n        neo4jd3.updateWithD3Data(data);\r\n    },\r\n    zoomFit: true\r\n});\r\n```\r\n\r\n## What's coming?\r\n\r\n* Toolbar.\r\n* More than one relationship between two nodes.\r\n* Markers.\r\n* Performance optimization.\r\n* Testing.\r\n\r\n## Copyright and license\r\n\r\nCode and documentation copyright 2016 the author. Code released under the [MIT license](LICENSE). Docs released under [Creative Commons](docs/LICENSE).\r\n","maintainers":[{"name":"eisman","email":"eeisman@gmail.com"}],"time":{"modified":"2022-06-21T00:10:25.135Z","created":"2016-09-20T09:51:15.756Z","0.0.1-SNAPSHOT":"2016-09-20T09:51:15.756Z","0.0.2":"2016-09-20T10:05:33.266Z","0.0.3":"2016-09-20T10:53:46.323Z","0.0.4":"2016-09-21T12:41:10.505Z","0.0.5":"2016-09-27T21:20:09.348Z"},"homepage":"https://github.com/eisman/neo4jd3","keywords":["neo4j","d3.js","graph visualization"],"repository":{"type":"git","url":"git+https://github.com/eisman/neo4jd3.git"},"author":{"name":"Eduardo Eisman","email":"eeisman@gmail.com","url":"https://github.com/eisman"},"bugs":{"url":"https://github.com/eisman/neo4jd3/issues"},"license":"MIT","readmeFilename":"README.md","users":{"alvis":true,"kodekracker":true}}