From 1177852de76b2dcf42cf43b48d5394b92f0974d9 Mon Sep 17 00:00:00 2001 From: bcleenders Date: Wed, 24 Dec 2014 01:12:20 +0100 Subject: [PATCH] Adds adding/removing using repl to docs --- docs/Overview.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/Overview.md b/docs/Overview.md index ff99777..f327ead 100644 --- a/docs/Overview.md +++ b/docs/Overview.md @@ -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. +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. ### Serve Your Graph