[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Diagram Performance

Martin,

Comments below...

Martin Jacob wrote:
Linda,

I checked both ways described below and found nothing. So this means I did not use BorderedNodeFigures and the below mentioned bugfix will not improve the performance. Right?

That's right.

So I have to use a multi page editor to improve the performance. Or do u have another suggestion?

No, I don't have any other suggestions. Splitting your diagram into smaller pieces is likely your best course of action.



Regards, Martin

Linda Damus wrote, On 29.01.2009 17:29:
Martin,

I guess a quick way to check is to search your generated code to see if you have any EditParts that extend AbstractBorderedShapeEditPart. Or put a breakpoint in the BorderedNodeFigure constructor and then open your diagram.

Regards,
Linda

Martin Jacob wrote:
Linda,

thank you for your support.
As I understand I have to wait for the GMF SDK 2.1.3 release to have benefits of the bugfix mentioned below.
I am not quite sure whether I use BorderedNodeFigures or not. Where can I find this information? I generated the diagram editor plugin using the dashboard. Transforming the gmfmap file to gmfgen file and than generate the diagram editor. (Sorry for simple questions but I am new to use GMF)


Regards, Martin

Linda Damus wrote, On 29.01.2009 14:51:
Martin,

I would expect that splitting the 10,000+ nodes over different pages (or editors) would help performance.

Also, if your diagrams contain a lot of BorderedNodeFigures you may benefit from a recent fix from Obeo:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=259507


Regards,
Linda


Martin Jacob wrote:
Hi,

I have to deal with quite a few nodes in my diagram. It can be easily up to 10.000 nodes and about the same number of connectors between the nodes.

I am experienced a dramatic slow down already with about 100 nodes.

If I remember correct it is possible to have a multi page editor with GMF. For me it would be possible to split my diagram in multiple pages and to view or edit it page by page. Thats fine for me.

My question is now. Does using the multi page diagram help to improve the performance?

Thanks in advance for any hints, Martin