Skip to content

standakozak/graphs

Repository files navigation

Tkinter visualization of graphs

This is my project of visualization of graphs. I plan to add visualization of graph algorithms in the future.

At the moment, it can visualize graph created as Graph object.
You can also modify graph by adding vertices or edges on canvas.\

UPDATE:
Added algorithms - BFS and DFS

How to use the program:

  • Start the program by running app.py
  • You can modify graph from code
  • Or you can change the graph on canvas:
    • Add vertex by left click
    • Add edge by dragging between vertices with left button
    • Move vertices with right mouse button

Algorithms:

  • Click on vertex you want to start from

  • Choose algorithm from menu

  • Set speed of animation and hit Run!

    screenshot
    screenshot_2
    screenshot_3
    (You can find Graph, Vertex and Edge classes in branch graph_class)

About

Tkinter visualization of graphs data structure

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages