testing removing barnes_hut
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def network_visualizer(yaxis, city, fstyear,lastyr, num_nodes):
|
|
75 |
net.add_edge(source, target, color=edge_color, value=attribute_value, label = f"{yaxis}:{attribute_value}")
|
76 |
|
77 |
|
78 |
-
net.barnes_hut(gravity=-5000, central_gravity=0.3, spring_length=200)
|
79 |
html = net.generate_html()
|
80 |
html = html.replace("'", "\"")
|
81 |
|
|
|
75 |
net.add_edge(source, target, color=edge_color, value=attribute_value, label = f"{yaxis}:{attribute_value}")
|
76 |
|
77 |
|
78 |
+
#net.barnes_hut(gravity=-5000, central_gravity=0.3, spring_length=200)
|
79 |
html = net.generate_html()
|
80 |
html = html.replace("'", "\"")
|
81 |
|