Skip to content

Commit 2b9a9c3

Browse files
committed
improve doc example
1 parent 7c869a3 commit 2b9a9c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Welcome to Topogram API Client's documentation!
2727

2828
topogram_id = r["data"]["id"]
2929
topogram.create_node(topogram_id, id="my awesome node", x=103, y=502, data={"lat" : 3.12, "lng": 5.27})
30-
30+
topogram.create_node(topogram_id, id="my other awesome node")
31+
topogram.create_edge(topogram_id, "my awesome node", "my other awesome node", name="my great edge")
3132

3233
Contents:
3334

0 commit comments

Comments
 (0)