I have a need to create a diagram viewer. There is hierarchical tree that I want to visualize in Eclipse plugin. I manage to know GEF, and there is Zest. But in Zest, I don't success in creating custom shape in graphic nodes and there is no tutorial to create the custom node (I have been searching all day). So I want to know if there are alternatives beside Zest. What I like most from Zest is it provides layouting algorithms.
Asked
Active
Viewed 773 times
3 Answers
0
You can use GraphViz which is popular and has an eclipse plugin. Note that I have never used it.

vainolo
- 6,907
- 4
- 24
- 47
-
Zest can visualize dinamic diagram, and I think GraphViz doen't have that capability – Agung Pratama Apr 07 '12 at 12:55
0
You need to have your LabelProvider implement the IFigureProvider interface, and override the getFigure method to return a custom IFigure implementation which draws your custom shape and has its colors set the way you want them.
However, there seems to be a bug in support for highlighting support for a custom node. The bug report gives a patch, and claims it has been fixed, but I don't see the fix appearing in current (4.3) version of the Eclipse plugins. I don't know why. (Does anybody else?) I made a copy of the plugin and patched it manually. Here is the bug:

Somebody
- 1