A simple program where the user can create vertecies which are automatically connected to the previously added vertecie.
The purpose of this project is to study graph theory in my MATH 154 class during my studies at UCSD.
Check out the demo at: https://www.youtube.com/watch?v=EnMB6u2cEH4&ab_channel=MeruzhanSargsyan
Gradle and Java8 or above
./gradlew build
./gradlew run
# default filename is 'output'
./gradlew run -args="filename"
Press backspace to delete the most recently added line and point
Press space to switch between dark mode and light mode
Hold shift to create directed edges (see below)
Hit S at any time to save the file to graphs/output.txt
You may now create directed edges from v1 to v2 by starting at v1
and clicking on v2 while holding down shift.
You may now save and load graphs which stores them in a simple text
file within the app/graphs branch and then parses them to create a graph
which the user can work on.
- Make the option of creating curved lines so that more than 2 verticies
in one row do now overlap in the edges. - Allow the user to customize where the graphs files are written and read from.