Update graph_visual_with_html.py
This commit is contained in:
parent
f19204160c
commit
f6e97c0528
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue