[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.gef] 6000 nodes, 34 seconds to load diagram.
|
Hi,
I'm using ScrollingGraphicalViewer to display a diagram of 6000+ nodes.
I use XYLayout, each node is positioned as if in a list with a row
height of about 50 pixels.
My problem is that the diagram is taking ages to load. Using log4j the
breakdown of the time needed to display 6000 nodes is:
Load model from file 1s
Create all edit parts 5s
**Unexplained delay** 10s
Draw2d layout 18s
Total delay 34s
I cannot explain the 10 second delay I get between the last edit part
being created and the first IFigure#layout call.
The figure associated with each edit part uses several nested panels
each with it's own toolbar layout. Is this why the layout is taking so long?
I'd like to get the load down to between 5 and 10 seconds is this
possible or am I dreaming?
Any suggestions would be most welcome.
Thanks, Steve.