Note to non-wiki readers: This documentation is generated from the Eclipse wiki - if you have corrections or additions it would be awesome if you added them in the original wiki page.
The GEF4 Graph component provides a simple, UI-independent graph model. It consists of the single Graph module.
- feature: org.eclipse.gef4.graph
- bundle: org.eclipse.gef4.graph
- package: org.eclipse.gef4.graph
This package provides a simple graph model and a support class to copy/merge such models.
Graph, Node, Edge
Graph serves as a container for
Edges. Additionally, a
Graph can be nested inside a nesting
Node, so that sub-graphs can be properly represented.
Moreover, arbitrary attributes can be set on
Edges. The concrete attributes that are used are outside the scope of the GEF Graph component. The DOT importer of the GEF DOT component, e.g. adds DOT-specific attributes to the Graph it creates, the GEF Zest component uses visualization-specific attributes, which determine the concrete visualization.
The graph package also contains a utility class (
GraphCopier) to copy/merge graphs.