how to organize graph nodes to draw using java 2d -
i created program builds , draw nested cyclic graphs (with undirected edges) in jframe using java awt.
the problem if position of nodes not explicitly specified, or created @ random, graph becomes messy, edges crossing , vertex colliding.
i implement algorithm repositioning better distribute nodes, in more homogeneous , clean way.
can me?
you may want @ graphviz, program (render graphs). has java api, integrate program, , it's open-source, if you'd rather implement solution yourself, perhaps code provide inspiration (just remember check license!)
in addition, website has a list of resources pertaining graph drawing theory, sounds need.
Comments
Post a Comment