SkillAgentSearch skills...

PyGraphArt

Some Python code to make GIFs from graph algos

Install / Use

/learn @dnlcrl/PyGraphArt
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PyGraphArt

I wrote this code some time ago with the purpose of learning graph algorithms while enjoying it, through the creation of animated images that show how different graph algorithms work.

So through this code you can do something as follows.

Breadth-First Traversal

BFS

Depth-First Traversal

DFS

Prim's Algorithm

Prim

Kruskal's Algorithm

Kruskal

Dijkstra's Algorithm

Shortest paths from Milano: Dijkstra 1

Shortest paths from Roma: Dijkstra 2

Shortest paths from Napoli: Dijkstra 3

Note that some function may be bugged.

Thank @inconvergent for render.py that I somehow edited a bit.

View on GitHub
GitHub Stars75
CategoryDevelopment
Updated1y ago
Forks14

Languages

Python

Security Score

85/100

Audited on Oct 11, 2024

No findings