Relative Content

Tag Archive for pyvis

edge line drawn over node image/shape in Pyvis

When using image as shape, edges are drawn to the center of the node’s shape (image) obstructing it. I’d like to have Node shapes ‘on top’ of the edge lines hiding them or edges been drawn to the border of the shape/image rather than center.

Indented error although everything is true?

wanna use pyvis library of python with code below, but the Results is always an Error, which says something with Indented wrong is. I used KI and double checked everything, but didnt notice anything.
I though there might be a problem with Pyvis, tried to upgrade it, but doesn’t work.
Can you please take a look at it?
Thanks a lot

pyvis node labels don’t appear sometimes

I’m using pyvis to visualize my networkx graph but sometimes when I try to load the generated HTML file, the node labels don’t appear or they are quite transparent. This seems to happen randomly as the node labels appear sometimes.

Dynamically rearranging network?

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.