Am 21.02.20 um 04:26 schrieb kant kodali:
> Hi All,
> 
> I am new to graph-tool and I am trying to figure out how to create and
> display graphs dynamically by which I mean the following.
> 
> To simplify the problem Lets say I have the following edges
> 
> (1,2)
> (3,4)
> (3,7)
> (3, 8)
> (2, 3)
> 
> I don't want to construct the graph with all the edges at once. instead
> I want to add or delete an edge one by one and render/display that
> immediately  such that I can show the user how the graph is evolving
> after each edge. Think of it more like a stream of edges that can be
> either added or deleted.
> 
> Please let me know if you need more information on the question.
> otherwise, I hope to hear how this can be achieved using graph-tool?

There is an example of how to do this in the documentation:

https://graph-tool.skewed.de/static/doc/demos/animation/animation.html#dynamic-layout


-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to