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, A*, and Bellman-Ford shortest path
      • Prim's and Kruskal's minimum spanning trees
      • tree traversal algorithms (within certain constraints)
  • view of the adjacency matrix behind the drawn graph

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

  • 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.3.tar.gz (81.4 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.3-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nodemon-0.1.3.tar.gz
  • Upload date:
  • Size: 81.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for nodemon-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b838f496928d8976ace2dfa7467a55361e10cc24c53835242b521978521547e4
MD5 50c3344a859d58096a5b7d8fd3c4c700
BLAKE2b-256 43eb79b6bd3388d8475ee6bc9dde00c52d0501dc659bafba6d11187a45e226e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nodemon-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for nodemon-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8fe150ca9eb807812454cb20515096846abf7b7946b09139962c08a6fc101dcc
MD5 edebc1a0ff74c606a7fcb3d1bb42b0a5
BLAKE2b-256 bd68625fd9c92faf94a0eeaa747315b5cb435cee9b081d3d3a2afaa5c1e83f7a

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