hi,
how to arrange rectangles, connected with lines on a panel, without overlapping, having the shortest distance?
So tehre might be 4 rectangles. And 6 Lines between (R1,R2), (R1,R1), (R2, R4), (R2, R3), (R3,R4), (R4,R1)....
how am I able to arrange these rectangles having a predefined height/width on a panel?
Sincerely
Karlheinz Toni
hi,
take a look at http://www.yworks.com/ - they have a very good java graph drawing library, which can create automatic layouts (among which are sugiyama styles and related styles)
you may download an evaluation version, or use the free online graph editor yEd (using webstart) which demonstrates a lot of the available layouts. Additionally, they have a nice gallery of graph drawings and automatic layouts on their site... go see it
greetings, sebastian