bibliothek.gui.dock.station.screen.magnet
Interface StickMagnetGraph.Edge

All Known Implementing Classes:
StickMagnetGraph.DefaultEdge
Enclosing class:
StickMagnetGraph

public static interface StickMagnetGraph.Edge

Represents an edge between two StickMagnetGraph.Nodes of a graph.

Author:
Benjamin Sigg

Method Summary
 MagnetRequest.Side getSide()
          Tells at which side of the starting node this edge leaves the node.
 StickMagnetGraph.Node getSource()
          Gets the starting node of this edge.
 StickMagnetGraph.Node getTarget()
          Gets the ending node of this edge.
 

Method Detail

getSource

StickMagnetGraph.Node getSource()
Gets the starting node of this edge.

Returns:
the start

getTarget

StickMagnetGraph.Node getTarget()
Gets the ending node of this edge.

Returns:
the end

getSide

MagnetRequest.Side getSide()
Tells at which side of the starting node this edge leaves the node.

Returns:
the side