0

I’m looking for a way to animate a network graph algorithm in Python.

What I need to do is to draw a (large) network graph and manipulate it (add/remove vertices, add/remove edges, change vertices size and/or color, change edges colors, etc.), without having to redraw the entire graph for every frame.

I found several similar questions (this one for example) but they all either regard static plotting of network graphs or are very old and the examples doesn't work.

1 Answer 1

1

3Blue1Brown's manim animation engine may be something to consider. It supports LaTeX-style graphics and has quite an active community.

Sign up to request clarification or add additional context in comments.

3 Comments

Interesting. Any idea if it can handle a network graph with hundreds of vertices and several thousands of edges (each as a separate object)?
In terms of rendering power, I'm sure it could handle many more than thousands of nodes and edges. However, it does not natively carry any graph tools. Here is an example of large graph rendering by the creator himself.
Thanks, I'll definitely check it out!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.