Skip to content

WinterRat/nodegraph-draw-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Nodegraph Draw Tutorial

This is a simple Python application that allows the user to input graph data and visualize it using NetworkX and Matplotlib.

Installation

To use this application, you will need to have Python 3.x installed on your computer. You can download Python from the official website at https://www.python.org/downloads/.

You will also need to install the following libraries:

  • tkinter
  • networkx
  • matplotlib

To install these libraries, you can use the following command:

pip install tkinter networkx matplotlib

Usage

To run the application, simply run the main.py file using Python:

python main.py

Or use /dist/Draw_GraphImage.exe

This will open a window where you can enter the graph data.

Example

  1. Write Graph data > each line mean (start_node, end_node, distance)
5 7 9
3 7 4
3 6 6
2 5 8
5 1 9
1 3 6
6 5 1
2 7 4
2 3 5
6 4 2
7 1 5
5 4 4
4 1 3
5 3 9
7 6 4
2 1 3
4 3 9
6 2 7
4 2 8
6 1 10

  1. Click Submit

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This project was inspired by the NetworkX tutorial at https://networkx.github.io/documentation/stable/tutorial.html.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages