My implementation repository for i-Vis Engineer Exercise.
- Any node can be removed via the context menu. If, after this removal operation, a node is left with no connections to the rest of the graph, it is also removed. After the removal operation, the graph will auto-adjust the layout.
- Graph can be centered by using the context menu option "Center Graph" which is accessible on right click on the canvas.
- Clone this repository.
- Run
npm install
. - Install Neo4j Desktop.
- Use
:play movies
on Neo4j browser (running on localhost port 7474 by default) to create the Movies database. - Start the movies database.
npm start
in the cloned repository folder.- When I ran the Neo4j browser driver, I couldn't use the default password, which is
neo4j
. Therefore in my PC I changed this password topassword
. This might need change if the cloner's user info is different. The driver instantiation is on top of index.jsx file. The username isneo4j
as default.
- When I ran the Neo4j browser driver, I couldn't use the default password, which is
- Write the actor name and number and press the search button.
- Right click on movie nodes and select "Show Actors" to add the actors that acted in the movie to the graph.
- Right click on actor nodes and select "Show Movies" to add the movies that they acted in to the graph.
- express.js
- react.js
- Neo4j
- Cytoscape.js
- cytoscape-cose-bilkent
- cytoscape-content-menus