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)
- available algorithms
- 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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nodemon-0.1.2-py3-none-any.whl
(62.5 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1da347aeb5b74478b32ae9da7b1c299e965f832bc4346dfc67635d319b219f6
|
|
| MD5 |
3223f71668a41d6282418dd6ce766057
|
|
| BLAKE2b-256 |
46503ae7aaa2b0ce3729521df64fb930d716630278a3d6975b7015ab2ce25df9
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b50df9bba1407e55bd95d8c38ac5923fc7f3d9b41321ffd1bbed9c1280c6c622
|
|
| MD5 |
2e967cbc0c039409747b0fa12ee79f1b
|
|
| BLAKE2b-256 |
cdcd0aea72e677f6c3c13f66eec4844e56291d18876fce9c816dc7fa179db218
|