1

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?

skaffman
  • 398,947
  • 96
  • 818
  • 769
ziggystar
  • 28,410
  • 9
  • 72
  • 124

1 Answers1

4

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
  • 9,765
  • 4
  • 38
  • 49
  • I've build a random binary tree with 10k nodes using Zest. 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 Jul 31 '13 at 19:49
  • @MacGyver I'm sorry. I was not able to find that old code anymore. The tool that requires this is not maintained (nor used) by me. But I know they are now using `jung` through a swing panel in Eclipse RCP. – ziggystar Sep 04 '14 at 08:16
  • Thanks ziggy! Removed comment for confidentiality. – JustBeingHelpful Sep 04 '14 at 14:53