Last active 3 months ago
`pip install pyvis` jeśli nie znajdzie biblioteki
1
0
1
| 1 | from pyvis.network import Network |
| 2 | |
| 3 | net = Network(directed=False) |
| 4 | |
| 5 | net.show_buttons(filter_=['physics', 'nodes', 'edges']) |
| 6 | |
| 7 | net.repulsion( |
| 8 | node_distance=100, |
| 9 | central_gravity=0.2, |
| 10 | spring_length=200, |