Adds adding/removing using repl to docs

This commit is contained in:
bcleenders 2014-12-24 01:12:20 +01:00
parent d8ce91efac
commit 18da497f3f

View file

@ -50,6 +50,18 @@ Now it's loaded. We can use Cayley now to connect to the graph. As you might hav
Where you'll be given a `cayley>` prompt. It's expecting Gremlin/JS, but that can also be configured with a flag. Where you'll be given a `cayley>` prompt. It's expecting Gremlin/JS, but that can also be configured with a flag.
New nodes and links can be added with the following command:
```bash
cayley> :a object predicate subject label
```
Removing links works similarly:
```bash
cayley> :d object predicate subject label
```
This is great for testing, and ultimately also for scripting, but the real workhorse is the next step. This is great for testing, and ultimately also for scripting, but the real workhorse is the next step.
### Serve Your Graph ### Serve Your Graph