WestHealth / pyvis

Python package for creating and visualizing interactive network graphs.
http://pyvis.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
984 stars 165 forks source link

Interactive Node in in Output #266

Closed vkuehn closed 8 months ago

vkuehn commented 10 months ago

would it be possible to have an html link at the nodes so that the could be followed in the html output (clickable for the user)?

from pyvis.network import Network

files = ["file1.md", "file2.md", "file3.md"]

net = Network()

for file_name in files:
    net.add_node(file_name)

for i in range(len(files)):
    for j in range(i + 1, len(files)):
        net.add_edge(files[i], files[j])

net.write_html('files.html')

with that I would use to create something like an interactive markdown graph. Not sure where else to ask such a question, sorry if wrong here

vkuehn commented 8 months ago

closed because inactivity