Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Using dash to to visualize a network graph algorithm

$
0
0

Hi,

I’m looking for a way to visualize a network graph algorithm in Python and was wondering if Dash + networkx is a viable framework for it.

What I need to do is to draw a network graph and manipulate it.

The changes are initiated on the server side. The client is only supposed to observes the graphical visualization of the changes in the network graph.

I was thinking about using a queue of events to communicate between the thread running the algorithm and the thread rendering the visualization.

My questions are:

  1. Is it possible to make changes to a network graph in a callback? (stuff like add/remove vertices, change vertices’ size, color, add/remove edges, etc.).

  2. Can such a change (e.g. remove a vertex and connected edges) be handled without having to render/redraw the whole graph from scratch?

  3. Is it possible to trigger a callback when the rendering of some changes has been completed (in order to display changes chronologically on the client side).

  4. Is this a good idea in general…?

Thanks,
Tal.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images