Class RelayoutAndEnsureVisible<V extends VisualVertex,E extends VisualEdge<V>>

Type Parameters:
V - the vertex type
E - the edge type
All Implemented Interfaces:
GraphJob

public class RelayoutAndEnsureVisible<V extends VisualVertex,E extends VisualEdge<V>> extends RelayoutFunctionGraphJob<V,E>
Graph job to move the entire graph to ensure one or two vertices are fully on screen. If both vertices can't be fully shown at the same time, the primary vertex gets precedence.