Class DirectionalEdgeArrowTransformer<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.decorators.DirectionalEdgeArrowTransformer<V,E>
-
- All Implemented Interfaces:
com.google.common.base.Function<Context<Graph<V,E>,E>,java.awt.Shape>
,java.util.function.Function<Context<Graph<V,E>,E>,java.awt.Shape>
public class DirectionalEdgeArrowTransformer<V,E> extends java.lang.Object implements com.google.common.base.Function<Context<Graph<V,E>,E>,java.awt.Shape>
Returns wedge arrows for undirected edges and notched arrows for directed edges, of the specified dimensions.- Author:
- Joshua O'Madadhain
-
-
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
apply(Context<Graph<V,E>,E> context)
-