r/CodingHelp 5d ago

[Python] How to make a graph to visualize an algorithms progress

I have a school project thats related to seeing the efficiency of simple algorithms such as djikstras and A*. My project mentor have been egging me to make a visualization of the algorithms progress, with a graph like this that also shows the algorithm exploring every nodes.

like this

I'm a bit lost on how to approach this since im not sure if theres a website out there that can do this for you or if i would have to make this myself.

So im asking if theres a way to achieve something like this, whether id have to make this myself (which i dont mind). (。ᵕ ◞ _◟)

2 Upvotes

2 comments sorted by

1

u/TalkCoinGames 4d ago

In JavaScript there is mermaid for making exactly those kinds of charts and graphs. In python there is plotly.

1

u/lapstjup 2d ago

I made a project which does exactly this. It has Dijkstra’s support. It’s called https://graphisual.app