diff --git a/ngql/magic.py b/ngql/magic.py index c0642cf..ceeb8e4 100644 --- a/ngql/magic.py +++ b/ngql/magic.py @@ -336,12 +336,16 @@ def _help_info(): name = "nba" %ngql USE "{{ name }}" - > Query and draw the graph + > Query and draw the graph of last executed query. - %ngql GET SUBGRAPH 2 STEPS FROM "player101" YIELD VERTICES AS nodes, EDGES AS relationships; + %ngql GET SUBGRAPH WITH PROP 2 STEPS FROM "player101" YIELD VERTICES AS nodes, EDGES AS relationships; %ng_draw + Or draw a Query + + %ng_draw GET SUBGRAPH WITH PROP 2 STEPS FROM "player101" YIELD VERTICES AS nodes, EDGES AS relationships; + > Query and draw the graph schema %ng_draw_schema