Class DirectionalEdgeArrowTransformer<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.DirectionalEdgeArrowTransformer<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>
public class DirectionalEdgeArrowTransformer<V,E> extends java.lang.Object implements org.apache.commons.collections4.Transformer<edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E>,java.awt.Shape>
Returns wedge arrows for undirected edges and notched arrows for directed edges, of the specified dimensions.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Shape
directed_arrow
protected java.awt.Shape
undirected_arrow
-
Constructor Summary
Constructors Constructor Description DirectionalEdgeArrowTransformer(int length, int width, int notch_depth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Shape
transform(edu.uci.ics.jung.graph.util.Context<edu.uci.ics.jung.graph.Graph<V,E>,E> context)
-