Added ability to create relationships #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I love your tool, I find it very useful to prepare graphs for blog posts about neo4j, but one thing I was missing was the ability to create new relationships, so I decided to fork your repo and add this piece of functionality. This was my first time forking a repo, so I am not sure if I am doing everything right. Also I didn't have too much time to test it, but it seems to be working fine.
I added an ID field to the nodes, so when you double click on them you can see the node ID.
Then, let's say you want to add a new relationship "R" between node 3 and node 5, all you have to do is click on the "+ relationship" button and enter 3 as the FROM node and 5 as the TO node.
I also added these fields in the edit relationship modal so you can change or move a relationship easily