Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var viz;
- function draw() {
- var config = {
- container_id: "viz",
- server_url: "bolt://localhost:7687",
- server_user: "neo4j",
- server_password: "sorts-swims-burglaries",
- labels: {
- "Character": {
- "caption": "name",
- "size": "pagerank",
- "community": "community"
- }
- },
- relationships: {
- "INTERACTS": {
- "thickness": "weight",
- "caption": false
- }
- },
- initial_cypher: "MATCH (n)-[r:INTERACTS]->(m) RETURN *"
- };
- viz = new NeoVis.default(config);
- viz.render();
- }
- </script>
Add Comment
Please, Sign In to add comment