The neo4j browser, which can be accessed through http://neo4j:7474 (where neo4j
is the neo4j host), is really great in visualising query results.
As I understand, a javascript library is responsible for talking to the database backend at bolt://localhost:7687 as well as for rendering the results.
How can this javascript library be used to display query results in an embedded manner in our main web application?
- The web application should be responsible for composing the cypher query.
- I would prefer if the web application backend would be responsible to GET the result from the database backend and pass the result to the javascript library for security reasons.
- The javascript library should be responsible for rendering the result into a given
<div></div>
. The user should be able to drag the nodes around, but not be able to manipulate data or send other queries through the ui. Thus, only the red-boxed result area should be visible.