/** * Create a new EdgeRenderer with the given edge and arrow types. * @param edgeType the edge type, one of * {@link prefuse.Constants#EDGE_TYPE_LINE} or * {@link prefuse.Constants#EDGE_TYPE_CURVE}. * @param arrowType the arrow type, one of * {@link prefuse.Constants#EDGE_ARROW_FORWARD}, * {@link prefuse.Constants#EDGE_ARROW_REVERSE}, or * {@link prefuse.Constants#EDGE_ARROW_NONE}. * @see #setArrowType(int) */ public EdgeRenderer(int edgeType, int arrowType) { this(); setEdgeType(edgeType); setArrowType(arrowType); }