Difference between revisions of "Demo embedded Neo4j"
From Earth Science Information Partners (ESIP)
m (Blanked the page) Tag: Blanking |
m |
||
Line 1: | Line 1: | ||
+ | <html> | ||
+ | <head> | ||
+ | <title>DataViz</title> | ||
+ | <style type="text/css"> | ||
+ | #viz { | ||
+ | width: 900px; | ||
+ | height: 700px; | ||
+ | } | ||
+ | </style> | ||
+ | <script src="https://cdn.neo4jlabs.com/neovis.js/v1.5.0/neovis.js"></script> | ||
+ | </head> | ||
+ | <script> | ||
+ | function draw() { | ||
+ | var config = { | ||
+ | container_id: "viz", | ||
+ | server_url: "neo4j+s://bde80852.databases.neo4j.io", | ||
+ | server_user: "neo4j", | ||
+ | server_password: "Qmr2Yi06ACQxz7RxiJxyM261tYDlwn8Khamnn1Bic5M", | ||
+ | labels: { | ||
+ | "Bird": { | ||
+ | caption: true | ||
+ | } | ||
+ | }, | ||
+ | relationships: { | ||
+ | "HAS_PRIORITY": { | ||
+ | caption: true | ||
+ | } | ||
+ | }, | ||
+ | initial_cypher: "MATCH (:Bird {name:"Piping Plover"})-[:HAS_PRIORITY]->(:Priority) RETURN *" | ||
+ | } | ||
+ | var viz = new NeoVis.default(config); | ||
+ | viz.render(); | ||
+ | } | ||
+ | </script> | ||
+ | <body onload="draw()">boo boo<p>qweq qweq</p> | ||
+ | <div id="viz"></div> | ||
+ | </body> | ||
+ | </html> |
Revision as of 15:20, January 1, 2021
qweq qweq