public class StepEdgeRenderer
Class which draws a Step-style edge. The edge is composed entirely of
horizontal and vertical lines. The steps can be formatted to either go
horizontally or vertically. (the default).
If the steps are formatted to be vertical, an edge between a pair of nodes
will be drawn with a vertical line from the higher node's center, to a
horizontal line, then a vertical line to the lower node's center. If there
are multiple edges from the higher node, the horizontal line is drawn at the
same level, to appear as a continuous line. The same happens with the
horizontal style, but with the horizontal and vertical lines switched.
Returns whether the arrangement is oriented horizontally or vertically
true if the arrangement is oriented horizontally, false if it is
public boolean pickEdge(java.lang.Object edge,
Checks whether the specified pickpoint is within the drawn area for the
edge. For speed, this renderer checks the vertical space directly above
the lower node (or the space to the left of the node on the right) since
there may be multiple edges obscuring each other coming from the same
Sets the initial direction for arrangement. This determines which
direction the arrangement uses for its first tier. If the flag is set to
true, the first tier is arranged horizontally. If it is false, the first
tier is vertically arranged.
horizontalFlag - whether to arrange horizontally or vertically.