Class VertexCollapseDemoWithLayouts.ClusterVertexShapeFunction<V>

Type Parameters:
V - the vertex type
All Implemented Interfaces:
com.google.common.base.Function<V,Shape>, SettableVertexShapeTransformer<V>, Function<V,Shape>
Enclosing class:
VertexCollapseDemoWithLayouts

class VertexCollapseDemoWithLayouts.ClusterVertexShapeFunction<V> extends EllipseVertexShapeTransformer<V>
a demo class that will create a vertex shape that is either a polygon or star. The number of sides corresponds to the number of vertices that were collapsed into the vertex represented by this shape.