Package y25.view

Enriches layered layout graphs with realizers and handles rendering through OpenGL.

See:
          Description

Interface Summary
EdgeRealizer25D Provides a mechanism for rendering edges into an OpenGL context.
LayerEdgeRealizer25D Provides a mechanism for rendering layer edges into an OpenGL context.
LayerRealizer25D Provides a mechanism for rendering layers into an OpenGL context.
NodeRealizer25D Provides a mechanism for rendering nodes into an OpenGL context.
 

Class Summary
Graph25D Represents a LayeredLayoutGraph with additional 2.5D support.
Graph25DView Displays and navigates a Graph25D.
LayerLabel Very simple implementation of a layer label.
TreeView25D Displays layers, layer edges, edges and nodes of a Graph25Din a tree.
ViewMode25D Handles mouse events coming from a Graph25DView.
 

Package y25.view Description

Enriches layered layout graphs with realizers and handles rendering through OpenGL.

Graph25D provides a full implementation of the abstract y25.layout.LayeredLayoutGraph class. Internally, it stores Graph2Ds for each layer.

Layout information for nodes, edges, layer edges and layers is stored inside NodeRealizer25D, EdgeRealizer25D, LayerEdgeRealizer25D, and LayerRealizer25Ds respectively, which extend the layout interfaces defined in the y25.layout package. These so called realizers are also responsible for drawing the entities of a Graph25D into an OpenGL view via the paintGL methods.

The OpenGL view is encapsulated inside the Graph25DView which additionally provides navigation and editing mechanisms for the Graph25D assocciated with it. The navigation and editing mechanisms are implemented in so called ViewMode25D instances, that can be registered in a Graph25DView.

For an example of a typical usage of this package, see the Graph25DView description.

Finally, there is the TreeView25D class that displays an entire Graph25D as a hierarchical tree structure. This class is not implemented yet, though.