[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.gef] Re: GEF UML auto layout


if you set edges which have source and target same then the layout fails with runtime exception....i had to check this and remove them from the edges which could be done internally...


also similar to setDirection method in directedgrapf, why is there no method for setting the flow...
i.e
should the connections flow from top to down,left to right,right to left,down to top...
?¡ ?¡ ?¡ / \ \ / ?¡ ?¡ ?¡
considering directions also...


i had to take out the draw2d plugin out and modify the code to achieve bottom up flow...

Alex Boyko wrote:

Hi,

DirectedGraphLayout is a series of graph visitors that modify the graph and at the end produce the laid out graph. One of the steps is specifically to address cycle removal. It's been used for years and it's patented - it always worked.
The problem is probably elsewhere. However, if you see that the problem is with that cycle removal graph visitor please create an example of the graph (i.e. patch for draw2d.examples plugin), raise a defect and attach the example, so the problem can be reproduced.

Cheers,
Alex