I have defined a graph by using from pyvis.network import Network
and defining a network as net = Network()
.
I added to the net edges and nodes using the functions net.add_nodes(nodes)
and net.add_edge(x, y)
. There is any chance to deal with this graph not only using a visualization? So for e.g. to find all paths between two specific nodes? Because searching in the documentation there is only the possibility to plot the graph. I saw other options (e.g. class) to deal with graphs (example) but is very annoying to define the graph with a dict of a dict.