Is there a way to set up a Pyvis diagram such that it will dynamically rearrange itself around a specific node? I.e. the selected node in the center, nodes connected to it in a ring around it, the nodes connected to them in another ring further out, etc. The node would ideally be selected just by clicking on it and/or or clicking a button, but entering its ID in the command line, or something like that, would work, too.
I understand that one can select a node such that its neighbors are highlighted and the other nodes are grayed-out or made entirely invisible. (In the tutorial: https://pyvis.readthedocs.io/en/latest/tutorial.html#filtering-and-highlighting-the-nodes) However, I have a large diagram, and would like the neighbors to actually group themselves around the node that’s been selected, so that they are better-visible.
ivoconsta is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.