Skip to main content

A simple drag and drop application to help visualise various graph algorithms

Project description

Node Demonstrator

Building a drag and drop desktop (Tkinter) application to help visualise various graph algorithms.

Current progress

  • drag and drop interface to build a graph
    • can be weighted or unweighted
    • in "node" mode...
      • click to create a node
      • drag to move a node and associated edges
      • double-click to rename nodes, if the default names aren't sufficient
      • double-right click to delete a node
    • in "edge" mode...
      • click and drag between nodes to create an edge
      • drag to rotate a loopback edge out of the way
      • double-click to change the weight of an edge
      • double-right click to delete an edge
  • choice of stepped or timed trace of supported algorithms
  • available algorithms
    • breadth-first / depth-first from a given start point (with or without end point, ie traversal and/or search)
    • Dijkstra and A* shortest path
    • tree traversal algorithms (within certain constraints)

Usage

  • This project uses the ttkbootstrap library (it should have installed as part of the process - need to add a way to override the theme)
  • To run, install package then launch with "python -m nodemon"

Future algorithm support

  • Kruskal's and Prim's minimum spanning trees
  • Other algorithms from here, or here or here?
  • Any other suggestions?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nodemon-0.1.1.tar.gz (62.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nodemon-0.1.1-py3-none-any.whl (58.2 kB view details)

Uploaded Python 3

File details

Details for the file nodemon-0.1.1.tar.gz.

File metadata

  • Download URL: nodemon-0.1.1.tar.gz
  • Upload date:
  • Size: 62.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for nodemon-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f98a607b299525040920f7677e06ef62e0f284831c891d9d1a6080cf4f644826
MD5 a80f43ecd45a80c425295ae661412c46
BLAKE2b-256 f67ff8a7a8ce3e454407d128a77788a3cb2c737e5de3ed027e2be01325e12ec7

See more details on using hashes here.

File details

Details for the file nodemon-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nodemon-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 58.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for nodemon-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 005670caa19f3a2ba42801906985b9b7a32e41fa4ab791b59b9b33ce61fed96e
MD5 80bd46f86326f1d95f4789a90f368716
BLAKE2b-256 3a2bca35ca6a4188d795ddfa7f69e1bdd9eea8d989c39a6a5cc3f1296d2492b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page