Page 1 of 1

[Software] Graph Designer

Posted: Sun May 15, 2016 4:08 pm
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

Re: [Software] Graph Designer

Posted: Mon May 16, 2016 2:48 am
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.

Re: [Software] Graph Designer

Posted: Mon May 16, 2016 9:13 am
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.

Re: [Software] Graph Designer

Posted: Mon May 16, 2016 9:50 pm
by skyHights
Well now I have to learn about Graph Theory to test this.
Onto the internets.