Package edu.uci.ics.jung.samples
Class VertexCollapseDemo.ClusterVertexShapeFunction<V>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer<V>
-
- edu.uci.ics.jung.visualization.decorators.EllipseVertexShapeTransformer<V>
-
- edu.uci.ics.jung.samples.VertexCollapseDemo.ClusterVertexShapeFunction<V>
-
- Type Parameters:
V
- the vertex type
- All Implemented Interfaces:
com.google.common.base.Function<V,java.awt.Shape>
,SettableVertexShapeTransformer<V>
,java.util.function.Function<V,java.awt.Shape>
- Enclosing class:
- VertexCollapseDemo
class VertexCollapseDemo.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.
-
-
Field Summary
-
Fields inherited from class edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer
DEFAULT_ASPECT_RATIO, DEFAULT_SIZE, factory, varf, vsf
-
-
Constructor Summary
Constructors Constructor Description ClusterVertexShapeFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Shape
apply(V v)
-
Methods inherited from class edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer
setAspectRatioTransformer, setSizeTransformer
-
-