popoto | Visual query builder for Neo4j graph database
kandi X-RAY | popoto Summary
kandi X-RAY | popoto Summary
Popoto.js is a JavaScript library built with D3.js designed to create interactive and customizable visual query builder for Neo4j graph databases. The graph queries are translated into Cypher and run on the database. Popoto also helps to display and customize the results. An application is composed of various components, each one can be included independently anywhere in a web application. It just need to be bound to a container ID in an HTML page and the content will be generated automatically.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Check the pages in the graph .
- Start the graph
- Updates the graph .
- Create span elements .
- Computes the lines of two words .
- Updates the layout .
- Create text elements
- Extracts the lines of a text .
- Compute the radius of the circle .
- Drag end event .
popoto Key Features
popoto Examples and Code Snippets
Community Discussions
Trending Discussions on popoto
QUESTION
I am developing a web interface to the neo4j database using popoto.js. Currently, I am able to display a start node and expand the graph up to 3-4 levels by clicking on the node relationships. It seems that the underlying query that popoto uses gets updated along with the expanding graph and after a certain point the query becomes invalid and popoto resets the graph. What I am trying to create is an interface where I can expand any node in the graph (and hence expanding the overall graph) similar to what is possible in the neo4j browser. How can I achieve this?
...ANSWER
Answered 2020-Sep-29 at 11:33Popoto.js handles this automatically but the schema has to be defined in the following way to assist it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install popoto
See an explained example page source in Getting started.
Edit the "index.html" file, by default this application is based on Neo4j movie graph example.
Change the value of popoto.rest.CYPHER_URL property to your running server REST API. The default value is http://localhost:7474/db/data/transaction/commit.
Change the value of "popoto.rest.AUTHORIZATION" with an authorized user credentials, see comments in index.html file for details.
Update the list of labels defined in "popoto.provider.node.Provider" definition. All node labels to display in the graph should be added in this list.
Add any other customization you need in this file. See Nhogs/popoto-examples for detailed configuration examples.
Open index.html file in your preferred web browser to see the result.
Click on a node to display and select a value, click on relationship arcs around nodes to navigate in relations uses right click to remove a value and ctrl+click to negate a node. See all Basic actions for details
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page