zrguo commited on
Commit
ad3d10d
·
1 Parent(s): 6335839

Update graph_visual_with_html.py

Browse files
Files changed (1) hide show
  1. examples/graph_visual_with_html.py +1 -1
examples/graph_visual_with_html.py CHANGED
@@ -6,7 +6,7 @@ import random
6
  G = nx.read_graphml("./dickens/graph_chunk_entity_relation.graphml")
7
 
8
  # Create a Pyvis network
9
- net = Network(notebook=True)
10
 
11
  # Convert NetworkX graph to Pyvis network
12
  net.from_nx(G)
 
6
  G = nx.read_graphml("./dickens/graph_chunk_entity_relation.graphml")
7
 
8
  # Create a Pyvis network
9
+ net = Network(height="100vh", notebook=True)
10
 
11
  # Convert NetworkX graph to Pyvis network
12
  net.from_nx(G)