Skip to content

Commit b01e57c

Browse files
authored
Update graph.rst - teachers to lectures
The graph linking should be teachers to lectures instead teachers to teachers teach = school.create_edge_definition( edge_collection='teach', from_vertex_collections=['teachers'], to_vertex_collections=['lectures'] )
1 parent 6aa9986 commit b01e57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/graph.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Here is an example showing how edge definitions are managed:
8787
teach = school.create_edge_definition(
8888
edge_collection='teach',
8989
from_vertex_collections=['teachers'],
90-
to_vertex_collections=['teachers']
90+
to_vertex_collections=['lectures']
9191
)
9292

9393
# List edge definitions.

0 commit comments

Comments
 (0)