Update graph_visual_with_html.py
Browse files
examples/graph_visual_with_html.py
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
import networkx as nx
|
|
|
|
|
|
|
|
|
2 |
from pyvis.network import Network
|
3 |
import random
|
4 |
|
|
|
1 |
import networkx as nx
|
2 |
+
import pipmaster as pm
|
3 |
+
if not pm.is_installed("pyvis"):
|
4 |
+
pm.install("pyvis")
|
5 |
+
|
6 |
from pyvis.network import Network
|
7 |
import random
|
8 |
|