Class EdgeShape.Wedge<V,​E>

  • All Implemented Interfaces:
    org.apache.commons.collections4.Transformer<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,​E>,​E>,​java.awt.Shape>
    Enclosing class:
    EdgeShape<V,​E>

    public static class EdgeShape.Wedge<V,​E>
    extends AbstractEdgeShapeTransformer<V,​E>
    An edge shape that renders as an isosceles triangle whose apex is at the destination vertex for directed edges, and as a "bowtie" shape for undirected edges.
    • Constructor Detail

      • Wedge

        public Wedge​(int width)
    • Method Detail

      • transform

        public java.awt.Shape transform​(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,​E>,​E> context)