Skip to content

Commit

Permalink
Merge pull request #63 from wey-gu/chore_help_update
Browse files Browse the repository at this point in the history
chore: help update on ng_draw
  • Loading branch information
wey-gu authored May 30, 2024
2 parents ac8702e + f2532c5 commit d679d33
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ngql/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d679d33

Please sign in to comment.