Skip to content

Commit 1dd0a60

Browse files
v2bellevilleadsharma
authored andcommitted
Update yfiles.mdx
LadybugGraphWidget -> KuzuGraphWidget
1 parent bf509ca commit 1dd0a60

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/content/docs/visualization/third-party-integrations

src/content/docs/visualization/third-party-integrations/yfiles.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Each person has a `name` and an `alias`, which is the name they are best known b
4747

4848
```py
4949
import real_ladybug as lb
50-
from yfiles_jupyter_graphs_for_kuzu import LadybugGraphWidget
50+
from yfiles_jupyter_graphs_for_kuzu import KuzuGraphWidget
5151
# Open a new in-memory database
5252
db = lb.Database(":memory:")
5353
conn = lb.Connection(db)
@@ -77,7 +77,7 @@ notebook.
7777

7878
```py
7979
# Create a widget instance using the existing connection
80-
g = LadybugGraphWidget(conn)
80+
g = KuzuGraphWidget(conn)
8181
# Display the entire graph
8282
g.show_cypher("MATCH (a)-[b]->(c) RETURN * LIMIT 100")
8383
```
@@ -102,7 +102,7 @@ In this case, because the relationships result in a tree structure, it can be us
102102
the mentors of Christian Christiansen up to 2 degrees?".
103103

104104
```py
105-
g2 = LadybugGraphWidget(conn, layout="tree")
105+
g2 = KuzuGraphWidget(conn, layout="tree")
106106
# Match the mentors of Christian Christiansen up to 2 degrees
107107
g2.show_cypher("MATCH (a:Person)-[r:MENTORED*1..2]->(b:Person {name: 'Christian Christiansen'}) RETURN *")
108108
```

0 commit comments

Comments
 (0)