Package org.grinvin.gred

Interface Summary

Guides A guide class can be associated to a GraphPanel to provide visible guides to preferred positions for vertices, and to allow a 'snap to guides' functionality.
Transformation Coordinate transformation from n-dimensional real coordinates (in source space) to 2-dimensional real coordinates (in destination space).
TransformationListener Listens to changes in a transformation.

Class Summary

GraphBundleWithModels Implementation of GraphBundle which uses a DefaultGraphModel to represent a graph and uses a DefaultEmbeddingModel to represent an embedding.
GraphContext Keeps track of the following extra information about graph elements:
  • Whether an element is currently selected.
  • Whether an element is currently highlighted.
  • What is the current 'roll over' element.

Other classes may be registered as observers for this class and will then be notified of any changes.

GraphEditor Graph editor window.
GraphEditor3D Graph editor window for three-dimensional embeddings
GraphPanel Panel which displays a given graph embedding and reacts to changes in both the embedding and the graph it represents.
GraphPanel3D Graph panel which is backed by a 3-dimensional embedding and an OrthogonalProjection.
MutableGraphPanel Graph panel which is backed by a 2-dimensional mutable embedding model.
TransformedEmbedding Applies a Transformation to an existing embedding.