edu.uci.ics.jung.visualization
Interface LayoutMutable
- All Superinterfaces:
- Layout, VertexLocationFunction
- All Known Implementing Classes:
- DAGLayout, FRLayout, SpringLayout
public interface LayoutMutable
- extends Layout
An extended interface for signalling a layout that the
underlying graph has been changed. The complete sequence for
updating a graph is:
visualizationViewer = graphdraw.getVisualization();
layoutMut = (LaoyutMutable) visualizationViewer.getLayout();
visualizationViewer.suspend();
// make your changes to the graph here
graph.addVertex(new SparseVertex());
layoutMut.update();
visualizationViewer.unsuspend();
graphDraw.repaint()
- Author:
- winterf@sourceforge.net
Methods inherited from interface edu.uci.ics.jung.visualization.Layout |
advancePositions, applyFilter, forceMove, getCurrentSize, getGraph, getLocation, getStatus, getVertex, getVertex, getVisibleEdges, getVisibleVertices, getX, getY, incrementsAreDone, initialize, isIncremental, isLocked, lockVertex, resize, restart, unlockVertex |
update
void update()