Interface RenderContext<V,​E>

    • Field Detail

      • dotting

        static final float[] dotting
      • dashing

        static final float[] dashing
      • LABEL_OFFSET

        static final int LABEL_OFFSET
        Specifies the offset for the edge labels.
        See Also:
        Constant Field Values
    • Method Detail

      • getLabelOffset

        int getLabelOffset()
      • setLabelOffset

        void setLabelOffset​(int labelOffset)
      • getArrowPlacementTolerance

        float getArrowPlacementTolerance()
      • setArrowPlacementTolerance

        void setArrowPlacementTolerance​(float arrow_placement_tolerance)
      • getEdgeArrow

        Shape getEdgeArrow()
      • setEdgeArrow

        void setEdgeArrow​(Shape shape)
      • renderEdgeArrow

        boolean renderEdgeArrow()
      • setRenderEdgeArrow

        void setRenderEdgeArrow​(boolean render)
      • setupArrows

        void setupArrows​(boolean directed)
      • setArrowsOnUndirectedEdges

        void setArrowsOnUndirectedEdges​(boolean setArrowsOnUndirectedEdges)
      • getArrowsOnUndirectedEdges

        boolean getArrowsOnUndirectedEdges()
      • setEdgeFontFunction

        void setEdgeFontFunction​(Function<E,​Font> edgeFontFunction)
      • getEdgeIncludePredicate

        Predicate<E> getEdgeIncludePredicate()
      • setEdgeIncludePredicate

        void setEdgeIncludePredicate​(Predicate<E> edgeIncludePredicate)
      • getEdgeLabelCloseness

        float getEdgeLabelCloseness()
      • setEdgeLabelCloseness

        void setEdgeLabelCloseness​(float closeness)
      • setEdgeLabelRenderer

        void setEdgeLabelRenderer​(EdgeLabelRenderer edgeLabelRenderer)
      • getEdgeFillPaintFunction

        Function<E,​Paint> getEdgeFillPaintFunction()
      • setEdgeFillPaintFunction

        void setEdgeFillPaintFunction​(Function<E,​Paint> edgePaintFunction)
      • getEdgeDrawPaintFunction

        Function<E,​Paint> getEdgeDrawPaintFunction()
      • setEdgeDrawPaintFunction

        void setEdgeDrawPaintFunction​(Function<E,​Paint> edgeDrawPaintFunction)
      • getArrowDrawPaintFunction

        Function<E,​Paint> getArrowDrawPaintFunction()
      • setArrowDrawPaintFunction

        void setArrowDrawPaintFunction​(Function<E,​Paint> arrowDrawPaintFunction)
      • getArrowFillPaintFunction

        Function<E,​Paint> getArrowFillPaintFunction()
      • setArrowFillPaintFunction

        void setArrowFillPaintFunction​(Function<E,​Paint> arrowFillPaintFunction)
      • getEdgeShapeFunction

        BiFunction<org.jgrapht.Graph<V,​E>,​E,​Shape> getEdgeShapeFunction()
      • getUnarticulatedEdgeShapeFunction

        default BiFunction<org.jgrapht.Graph<V,​E>,​E,​Shape> getUnarticulatedEdgeShapeFunction()
      • setEdgeShapeFunction

        void setEdgeShapeFunction​(BiFunction<org.jgrapht.Graph<V,​E>,​E,​Shape> edgeShapeFunction)
      • setEdgeLabelFunction

        void setEdgeLabelFunction​(Function<E,​String> edgeStringer)
      • setEdgeStrokeFunction

        void setEdgeStrokeFunction​(Function<E,​Stroke> edgeStrokeFunction)
      • setEdgeWidth

        void setEdgeWidth​(float edgeWidth)
      • getEdgeWidth

        float getEdgeWidth()
      • setEdgeArrowWidth

        void setEdgeArrowWidth​(int edgeArrowWidth)
      • getEdgeArrowWidth

        int getEdgeArrowWidth()
      • setEdgeArrowLength

        void setEdgeArrowLength​(int edgeArrowLength)
      • getEdgeArrowLength

        int getEdgeArrowLength()
      • getEdgeArrowStrokeFunction

        Function<E,​Stroke> getEdgeArrowStrokeFunction()
      • setEdgeArrowStrokeFunction

        void setEdgeArrowStrokeFunction​(Function<E,​Stroke> edgeArrowStrokeFunction)
      • setParallelEdgeIndexFunction

        void setParallelEdgeIndexFunction​(EdgeIndexFunction<V,​E> parallelEdgeIndexFunction)
      • setScreenDevice

        void setScreenDevice​(JComponent screenDevice)
      • getVertexFontFunction

        Function<V,​Font> getVertexFontFunction()
      • setVertexFontFunction

        void setVertexFontFunction​(Function<V,​Font> vertexFontFunction)
      • getVertexIconFunction

        Function<V,​Icon> getVertexIconFunction()
      • setVertexIconFunction

        void setVertexIconFunction​(Function<V,​Icon> vertexIconFunction)
      • getVertexIncludePredicate

        Predicate<V> getVertexIncludePredicate()
      • setVertexIncludePredicate

        void setVertexIncludePredicate​(Predicate<V> vertexIncludePredicate)
      • setVertexLabelRenderer

        void setVertexLabelRenderer​(VertexLabelRenderer vertexLabelRenderer)
      • getVertexFillPaintFunction

        Function<V,​Paint> getVertexFillPaintFunction()
      • setVertexFillPaintFunction

        void setVertexFillPaintFunction​(Function<V,​Paint> vertexFillPaintFunction)
      • getVertexDrawPaintFunction

        Function<V,​Paint> getVertexDrawPaintFunction()
      • setVertexDrawPaintFunction

        void setVertexDrawPaintFunction​(Function<V,​Paint> vertexDrawPaintFunction)
      • getVertexShapeFunction

        Function<V,​Shape> getVertexShapeFunction()
      • setVertexShapeFunction

        void setVertexShapeFunction​(Function<V,​Shape> vertexShapeFunction)
      • setVertexLabelFunction

        void setVertexLabelFunction​(Function<V,​String> vertexStringer)
      • getVertexLabelDrawPaintFunction

        Function<V,​Paint> getVertexLabelDrawPaintFunction()
      • setVertexLabelDrawPaintFunction

        void setVertexLabelDrawPaintFunction​(Function<V,​Paint> vertexLabelDrawPaintFunction)
      • setVertexStrokeFunction

        void setVertexStrokeFunction​(Function<V,​Stroke> vertexStrokeFunction)
      • setPickSupport

        void setPickSupport​(GraphElementAccessor<V,​E> pickSupport)
        Parameters:
        pickSupport - the pickSupport to set