Layout algorithms

hi there,are there any examples of layout algorithms being implemented in java?such as the one of Sugiyama (Kozo Sugiyama, 1980).Can anyone direct me to some sources please?I would be grateful to any help I can get.SincerelyKarlheinz Toni
[287 byte] By [JebeDiAHa] at [2007-9-28 10:02:11]
# 1
Algorithms operating on graphs work the same way in java as in pretty much any other programming language. I don't have any source code but if it's something in particular that you want help with then please ask some more specific questions.- Marcus Sundman
msundmana at 2007-7-11 23:37:22 > top of Java-index,Other Topics,Algorithms...
# 2

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

JebeDiAHa at 2007-7-11 23:37:22 > top of Java-index,Other Topics,Algorithms...
# 3
Check out the papers linked from the following article: http://www2.informatik.uni-wuerzburg.de/SugiBib/english.html- Marcus Sundman
msundmana at 2007-7-11 23:37:22 > top of Java-index,Other Topics,Algorithms...
# 4
check out GEF at www.tigris.org. i havn't looked at it personally but it appears to do network/graph layouts, ok.
radix_zeroa at 2007-7-11 23:37:22 > top of Java-index,Other Topics,Algorithms...
# 5

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

SebastianMa at 2007-7-11 23:37:22 > top of Java-index,Other Topics,Algorithms...
# 6
this is v. goodwww.jgraph.comit has a framework for adding your own graph drawing algorithms (and some have been ported already)
asjfa at 2007-7-11 23:37:22 > top of Java-index,Other Topics,Algorithms...
# 7
where are you stuck in implementing sugiyama ?do you have a starting point already or are you still in the planning phase ?
stepanrootsa at 2007-7-11 23:37:22 > top of Java-index,Other Topics,Algorithms...