ManimCommunity / manim

A community-maintained Python framework for creating mathematical animations.
https://www.manim.community
MIT License
19.95k stars 1.48k forks source link

Graph theory: Weighted edges, loop edges #3153

Open GraxCode opened 1 year ago

GraxCode commented 1 year ago

Hello. I would like to animate several algorithms used in computer science. I've noticed it is not possible to add loop edges (edge from a node to itself) and it is not possible to assign weights to edges (decimal numbers). Can you add this functionality?

MrDiver commented 7 months ago

This should definitely be something that works in the future. Maybe we can manage to do it in the same style that tikz does it.

grafik

I think that would be a good idea.

pauluhlenbruck commented 6 months ago

Hey, I would like to take a shot at this