mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-09-02 21:03:28 +00:00
Update graph_visual_with_html.py
This commit is contained in:
parent
f19204160c
commit
f6e97c0528
@ -6,7 +6,7 @@ import random
|
|||||||
G = nx.read_graphml("./dickens/graph_chunk_entity_relation.graphml")
|
G = nx.read_graphml("./dickens/graph_chunk_entity_relation.graphml")
|
||||||
|
|
||||||
# Create a Pyvis network
|
# Create a Pyvis network
|
||||||
net = Network(notebook=True)
|
net = Network(height="100vh", notebook=True)
|
||||||
|
|
||||||
# Convert NetworkX graph to Pyvis network
|
# Convert NetworkX graph to Pyvis network
|
||||||
net.from_nx(G)
|
net.from_nx(G)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user