Skip to content

Commit 02a810a

Browse files
committed
doc: fix complex id format
1 parent 9e403c9 commit 02a810a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ Using a `SIMPLE` graph configured as in the example above and creating a new ele
435435

436436
[//]: <> (@formatter:off)
437437
```java
438-
graph.addVertex("person", T.id, "foo");
438+
graph.addVertex(T.label, "person", T.id, "foo");
439439
```
440440
[//]: <> (@formatter:on)
441441

@@ -480,7 +480,7 @@ Using a `COMPLEX` graph configured as in the example above and creating a new el
480480

481481
[//]: <> (@formatter:off)
482482
```java
483-
graph.addVertex("person", T.id, "foo");
483+
graph.addVertex(T.label, "person", T.id, "person/foo");
484484
```
485485
[//]: <> (@formatter:on)
486486

0 commit comments

Comments
 (0)