Package ghidra.graph.viewer.renderer
Class ArticulatedEdgeRenderer<V extends VisualVertex,E extends VisualEdge<V>>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.renderers.BasicEdgeRenderer<V,E>
-
- ghidra.graph.viewer.edge.VisualEdgeRenderer<V,E>
-
- ghidra.graph.viewer.renderer.ArticulatedEdgeRenderer<V,E>
-
- All Implemented Interfaces:
edu.uci.ics.jung.visualization.renderers.Renderer.Edge<V,E>
public class ArticulatedEdgeRenderer<V extends VisualVertex,E extends VisualEdge<V>> extends VisualEdgeRenderer<V,E>
-
-
Constructor Summary
Constructors Constructor Description ArticulatedEdgeRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ShapegetEdgeShape(edu.uci.ics.jung.visualization.RenderContext<V,E> rc, edu.uci.ics.jung.graph.Graph<V,E> graph, E e, float x1, float y1, float x2, float y2, boolean isLoop, java.awt.Shape vertexShape)Returns the edge shape for the given points-
Methods inherited from class ghidra.graph.viewer.edge.VisualEdgeRenderer
drawSimpleEdge, getBaseColor, getCompactShape, getFullShape, getHighlightColor, getVertexShapeForArrow, isEmphasiszed, isInActivePath, isSelected, setBaseColor, setDashingPatternOffset, setHighlightColor, transformFromLayoutToView
-
-
-
-
Method Detail
-
getEdgeShape
public java.awt.Shape getEdgeShape(edu.uci.ics.jung.visualization.RenderContext<V,E> rc, edu.uci.ics.jung.graph.Graph<V,E> graph, E e, float x1, float y1, float x2, float y2, boolean isLoop, java.awt.Shape vertexShape)
Description copied from class:VisualEdgeRendererReturns the edge shape for the given points- Specified by:
getEdgeShapein classVisualEdgeRenderer<V extends VisualVertex,E extends VisualEdge<V>>- Parameters:
rc- the render context for the graphgraph- the graphe- the edge to shapex1- the start vertex point xy1- the start vertex point yx2- the end vertex point xy2- the end vertex point yisLoop- true if the start == end, which is a self-loopvertexShape- the vertex shape (used in the case of a loop to draw a circle from the shape to itself)- Returns:
- the edge shape
-
-