- All Implemented Interfaces:
- edu.uci.ics.jung.algorithms.layout.Layout<V,E>, edu.uci.ics.jung.algorithms.util.IterativeContext, Caching, org.apache.commons.collections4.Transformer<V,java.awt.geom.Point2D>
public class CachingLayout<V,E>
extends edu.uci.ics.jung.algorithms.layout.LayoutDecorator<V,E>
implements Caching
A LayoutDecorator that caches locations in a clearable Map. This can be used to ensure that
edge endpoints are always the same as vertex locations when they are drawn in the render loop
during the time that the layout's relaxer thread is changing the locations.
- See Also:
LayoutDecorator