Interactive Graphviz graphs in a web application

后端 未结 6 399
情深已故
情深已故 2021-01-30 14:04

I am trying to make a few interactive graph visualisations in my Django web application using Python. I found Graphviz and was able to output a static graph (as a .png image) on

6条回答
  •  说谎
    说谎 (楼主)
    2021-01-30 15:03

    You can use D3.js for graph visualization (see here for examples of graph visualizations in D3js, and look at How to Make an Interactive Network Visualization).

    For back-end (if it is necessary to have something more than just a json file to represent the graph - i.e. if it is large), then you can use a Python module for graphs, NetworkX.

    Side note, here is my simple interactive graph visualization example:

    enter image description here

提交回复
热议问题