-
Hi, I need to animate some network graph algorithms with several hundreds of vertices and thousands of edges. What I would like to do is draw the network graph and add/remove vertices/edges, change sizes, colors, labels and such during the runtime of the algorithm.
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To give you an idea of what you might have to expect: This video illustrating a depth-first search tree on a graph with 200 vertices and an edge density of 0.25 renders in medium quality in a bit less than 20sec. LargeGraphSearch.mp4Manim is not great for scenes like that, but it can work. Regarding interactivity: In principle this is possible when using the (non-default) |
Beta Was this translation helpful? Give feedback.
To give you an idea of what you might have to expect: This video illustrating a depth-first search tree on a graph with 200 vertices and an edge density of 0.25 renders in medium quality in a bit less than 20sec.
LargeGraphSearch.mp4
Manim is not great for scenes like that, but it can work.
Regarding interactivity: In principle this is possible when using the (non-default)
opengl
renderer, but you might run into a bunch of bugs when doing so.