[Software] Graph Designer

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
DavidOliveiraSilva
Prole
Posts: 19
Joined: Fri May 29, 2015 10:19 pm
Location: Quixadá, Brazil
Contact:

[Software] Graph Designer

Post by DavidOliveiraSilva »

Hello people!
I know love2d is a GAME framework, but I did something different.
It is a program where you can draw a Graph, NOT this kind of graph:
Image
but this kind of graph:
Image
graphs from Graph Theory.
You can color the vertices and edges, you make a complete graph by pressing k, and other things.
Press H to see the help page.
I hope it's useful for you!
I accept any suggestion, criticism, etc. :D

https://github.com/DavidOliveiraSilva/Qx-Graph-Designer
Attachments
graphing.love
(582.23 KiB) Downloaded 204 times
User avatar
pgimeno
Party member
Posts: 3674
Joined: Sun Oct 18, 2015 2:58 pm

Re: [Software] Graph Designer

Post by pgimeno »

Nice! I love the "copy graph to clipboard" feature :)

I couldn't make a node point to itself. That's a kind of important issue. I realize the difficulty in that, though.

Undoing 'a' or 'k' undoes line by line rather than as a block. It's not very annoying, it just makes sense that an operation that is done with a single keypress is undone with another single keypress.

For usability, keeping track of the last help page viewed and returning to it when help is invoked again would be nice.

When I painted an arrow from A to B and then from B to A, I couldn't change the colour of the second.

It would be nice if when two nodes point to each other, they were represented with parallel lines, rather than with a single line with two arrow heads. Like this: https://upload.wikimedia.org/wikipedia/ ... ph.svg.png

But overall, it's very cool and I may be using it for representing graphs.
User avatar
RagingDave
Prole
Posts: 23
Joined: Mon Jul 27, 2015 3:12 pm

Re: [Software] Graph Designer

Post by RagingDave »

Looks nice! I could have used this back when i wrote my master's thesis!

If you want to go crazy with it you could support import/export of Graphviz Files and the export of SVGs.

Another cool thing would be automatic optimization of the graph visualization, such as minimal edge overlap etc. But that's a tough one I think.
User avatar
skyHights
Citizen
Posts: 78
Joined: Mon Aug 25, 2014 12:14 pm

Re: [Software] Graph Designer

Post by skyHights »

Well now I have to learn about Graph Theory to test this.
Onto the internets.
Learning to Löve.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests