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
      • 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.2.tar.gz (78.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.2-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nodemon-0.1.2.tar.gz
  • Upload date:
  • Size: 78.2 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.2.tar.gz
Algorithm Hash digest
SHA256 c1da347aeb5b74478b32ae9da7b1c299e965f832bc4346dfc67635d319b219f6
MD5 3223f71668a41d6282418dd6ce766057
BLAKE2b-256 46503ae7aaa2b0ce3729521df64fb930d716630278a3d6975b7015ab2ce25df9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nodemon-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 62.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b50df9bba1407e55bd95d8c38ac5923fc7f3d9b41321ffd1bbed9c1280c6c622
MD5 2e967cbc0c039409747b0fa12ee79f1b
BLAKE2b-256 cdcd0aea72e677f6c3c13f66eec4844e56291d18876fce9c816dc7fa179db218

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