Package edu.uci.ics.jung.visualization.decorators
package edu.uci.ics.jung.visualization.decorators
Mechanisms for associating data (shapes, colors, values, strings, etc.) with graph elements.
-
ClassDescriptionReturns the constructor-specified value for each edge type.Returns wedge arrows for undirected edges and notched arrows for directed edges, of the specified dimensions.EdgeShape<V,
E> An interface for decorators that return aShapefor a specified edge.CreatesGradientPaintinstances which can be used to paint anEdge.Provides vertex sizes that are spaced proportionally between min_size and max_size depending onTransforms inputs to String representations by chaining an inputNumber-generatingFunctionwith an internalNumberFormatinstance.An abstract class for edge-to-Shape functions that work with parallel edges.Paints each edge according to thePaintparameters given in the constructor, so that picked and non-picked edges can be made to look different.Supplies an Icon for each vertex according to theIconparameters given in the constructor, so that picked and non-picked vertices can be made to look different.Paints each vertex according to thePaintparameters given in the constructor, so that picked and non-picked vertices can be made to look different.Labels vertices by their toString.A default implementation that stores images in a Map keyed on the vertex.