org.pzgui.layout
Interface Edge<V extends Vertex>

Type Parameters:
V - Vertex object type
All Known Implementing Classes:
Link

public interface Edge<V extends Vertex>

Interface which Edges must implement in order to be laid out.

Author:
David Underhill

Method Summary
 V getDestination()
          Get the destination of the edge
 V getOther(V v)
          Get the endpoint which is not vertex v
 V getSource()
          Get the source of the edge
 

Method Detail

getSource

V getSource()
Get the source of the edge


getDestination

V getDestination()
Get the destination of the edge


getOther

V getOther(V v)
Get the endpoint which is not vertex v