org.wilmascope.graph
Interface EdgeView
- All Superinterfaces:
- EdgeAbility, Viewable
- All Known Implementing Classes:
- AggregationEdgeView, ArrowEdgeView, AttenuatedEdgeView, BendyEdgeView, DefaultEdgeView, DirectedEdgeView, DirectedEdgeView, EdgeView, InheritanceEdgeView, LineEdgeView, SimpleSplineEdgeView, SpikeEdgeView, SplineRectTubeEdgeView, SplineTubeEdgeView, TaperedEdgeView
public interface EdgeView
- extends Viewable, EdgeAbility
Title: WilmaToo
Description: Sequel to the ever popular WilmaScope software
Copyright: Copyright (c) 2001
Company: WilmaScope.org
- Version:
- 1.0
An interface to be implemented by classes providing a drawable visual
representation of an Edge
- Author:
- Tim Dwyer
Method Summary |
void |
setMultiEdgeOffset(int edgeIndex,
int edgeCount,
int direction)
applies an offset to separate multiple edges between a pair of nodes. |
setMultiEdgeOffset
void setMultiEdgeOffset(int edgeIndex,
int edgeCount,
int direction)
- applies an offset to separate multiple edges between a pair of nodes.
for an example see how it is used in
Edge.recalculateMultiEdgeOffsets()
- Parameters:
edgeIndex
- indexes starting at zero should be arbitrarily assigned
for each edge between the pair of nodesedgeCount
- the total number of edges between the pair of nodesdirection
- for each edge between the pair of nodes its direction
should be greater than zero if it runs from Start node
to End node or less than zero otherwise (or visa versa,
as long as there is consistancy for each edge between
the node pair)