pythonhtmlgraph

Visualize a clickable graph in an HTML page


I have defined a data structure using pygraph. I can display that data easily as PNG using graphviz.

Node Graph

I would like to display the data graphically, but making each node in the graph clickable. Each node must be linked to a different web page. How would I approach this?

What I would like is:

  1. Assign an href for each node
  2. Display all the graph as image
  3. Make each node in the image clickable
  4. Tooltips for hover event: whenever the cursor is positioned on top of an edge / node, a tooltip should be displayed

Solution

  • If you are looking for a graphviz alternative, may be you could use jsPlumb Library. See some samples here

    Also checkout JavaScript InfoVis Toolkit