views:

62

answers:

2

How does drawing large (10.000 nodes) graphs perform when using Eclipse GEF or Draw2D? The nodes can be drawn very simplistic (a circle); no labels and stuff.

Is using GEF/Draw2D feasible for this task?

+1  A: 

I'm not sure, but it is very easy to test.

Take a look at Zest, which is a graphing toolkit based on draw2d. There are some useful snippets provided. You can take one of those snippets, multiply the number of nodes drawn to 10K and see how it performs. From my experience with Zest, you should be up and running very quickly.

zvikico
A: 

I've done what zvikico suggested.

I've build a random binary tree with 10k nodes. It was sluggish but it worked and the nodes had a gradient as color. So I think some 10k nodes are possible with reasonable implementation.

ziggystar