Around June 2020, for an university project, I made a graph handling and coloring software that worked beyond any expectations I could ever have. The idea behind this proyect is to make use of this software that I already got to create an interesting app.
- React
- Python
- C
Sadly, the backend needs to remain private; so future students in my university won't copy it. Yet, the functions I added for the purpose of this project (color generation, json parsing) are all in the main.c file to check. Not to modify tho as you have to compile with the rest of the archives; that's the "painter" executable sitting there. Note that there are a wide amount of reasons this executable may not work in your computer; this means the backend wont work, yet the frontend will.
set up the backend
cd Graph
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtset up the frontend
apt update
apt install nodejs
apt install npm
npm install -g npm@latest
cd Graph/app/
npm installstart the server
cd Graph
source venv/bin/activate
uvicorn server.main:app --host 0.0.0.0 --reloadstart the app
cd Graph/app
npm startThere are some example files listed on the page. Still, in the examples directory there are some files ready to be uploaded.
- Deploy into a server
- Add better backend support (Change the executable into something better idk)
- Add some fixed graphs as a demo
- Better specify the input format
- Check for wrong inputs in the backend
- Make the random color palette wider
- Display the color of each node on hover
- Add a tool to create graphs on the page, via text
- Add the same tool via Vis
- Add contact info
- Work on server responses feedback