Edge - public class EdgeShape<V,E>
extends java.lang.Object
Shape for a specified edge.
All edge shapes must be defined so that their endpoints are at
(0,0) and (1,0). They will be scaled, rotated and translated into
position by the PluggableRenderer.| Modifier and Type | Class and Description |
|---|---|
static class |
EdgeShape.BentLine<V,E>
An edge shape that renders as a bent-line between the
vertex endpoints.
|
static class |
EdgeShape.Box<V,E>
An edge shape that renders as a loop with its nadir at the
center of the vertex.
|
static class |
EdgeShape.CubicCurve<V,E>
An edge shape that renders as a CubicCurve between vertex
endpoints.
|
static interface |
EdgeShape.IndexedRendering<V,E> |
static class |
EdgeShape.Line<V,E>
An edge shape that renders as a straight line between
the vertex endpoints.
|
static class |
EdgeShape.Loop<V,E>
An edge shape that renders as a loop with its nadir at the
center of the vertex.
|
static class |
EdgeShape.Orthogonal<V,E>
An edge shape that renders as a bent-line between the
vertex endpoints.
|
static class |
EdgeShape.QuadCurve<V,E>
An edge shape that renders as a QuadCurve between vertex
endpoints.
|
static class |
EdgeShape.SimpleLoop<V,E>
An edge shape that renders as a loop with its nadir at the center of the
vertex.
|
static class |
EdgeShape.Wedge<V,E>
An edge shape that renders as an isosceles triangle whose
apex is at the destination vertex for directed edges,
and as a "bowtie" shape for undirected edges.
|
| Modifier and Type | Field and Description |
|---|---|
protected static EdgeShape.Box |
box |
protected static EdgeShape.Loop |
loop
a convenience instance for other edge shapes to use
for self-loop edges where parallel instances will not
overlay each other.
|
protected static EdgeShape.SimpleLoop |
simpleLoop
a convenience instance for other edge shapes to use
for self-loop edges where parallel instances overlay each
other
|
| Constructor and Description |
|---|
EdgeShape() |
protected static EdgeShape.Loop loop
protected static EdgeShape.SimpleLoop simpleLoop
protected static EdgeShape.Box box