I want to draw automata with edges and loops, something like http://pop-art.inrialpes.fr/~girault/Cours/Automates/td5.html , you have an example for this
JGraph is a library that you can use that is native to Java and pretty easy to use, or you can generate a file .dotand let GraphViz take care of it for you.
.dot
, , , , yed works ( , ), , , , : http://en.wikipedia.org/wiki/Layered_graph_drawing http://en.wikipedia.org/wiki/Coffman%E2%80%93Graham_algorithm