Class ParallelEdgeShapeTransformer<V,E>

java.lang.Object
edu.uci.ics.jung.visualization.decorators.ParallelEdgeShapeTransformer<V,E>
All Implemented Interfaces:
com.google.common.base.Function<E,Shape>, Function<E,Shape>
Direct Known Subclasses:
EdgeShape.BentLine, EdgeShape.Box, EdgeShape.CubicCurve, EdgeShape.Loop, EdgeShape.Orthogonal, EdgeShape.QuadCurve, EdgeShape.SimpleLoop, EdgeShape.Wedge

public abstract class ParallelEdgeShapeTransformer<V,E> extends Object implements com.google.common.base.Function<E,Shape>
An abstract class for edge-to-Shape functions that work with parallel edges.
  • Field Details

    • control_offset_increment

      protected float control_offset_increment
      Specifies the distance between control points for edges being drawn in parallel.
    • edgeIndexFunction

      protected EdgeIndexFunction<V,E> edgeIndexFunction
  • Constructor Details

    • ParallelEdgeShapeTransformer

      public ParallelEdgeShapeTransformer()
  • Method Details

    • setControlOffsetIncrement

      public void setControlOffsetIncrement(float y)
    • setEdgeIndexFunction

      public void setEdgeIndexFunction(EdgeIndexFunction<V,E> edgeIndexFunction)
    • getEdgeIndexFunction

      public EdgeIndexFunction<V,E> getEdgeIndexFunction()