edu.uci.ics.jung.graph.decorators
Interface VertexSizeFunction
- All Known Implementing Classes:
- ConstantVertexSizeFunction, InterpolatingVertexSizeFunction
- public interface VertexSizeFunction
Returns the characteristic size at which the symbol for this
vertex should be rendered. For example:
circles: diameter
regular polygons: length of side
rectangles, ellipses: length of longest axis (side)
This size may vary for different vertices in the same graph.
- Author:
- Joshua O'Madadhain
getSize
public int getSize(Vertex v)