From b01e57c37826b04007c82a1480b4a67270041e2d Mon Sep 17 00:00:00 2001 From: veto8 Date: Tue, 13 May 2025 05:24:47 +0700 Subject: [PATCH] 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'] ) --- docs/graph.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/graph.rst b/docs/graph.rst index 0b37154f..b544e368 100644 --- a/docs/graph.rst +++ b/docs/graph.rst @@ -87,7 +87,7 @@ Here is an example showing how edge definitions are managed: teach = school.create_edge_definition( edge_collection='teach', from_vertex_collections=['teachers'], - to_vertex_collections=['teachers'] + to_vertex_collections=['lectures'] ) # List edge definitions.