- Type Parameters:
N - Node type.
public interface GraphEdge<N>
Basic interface for graph edges.
- Author:
- Damien Carbonne
-
Method Summary
Returns the source or target node.
-
Method Details
-
getSource
- Returns:
- The source node.
-
getTarget
- Returns:
- The target node.
-
getTip
Returns the source or target node.
- Parameters:
tip - Tip to return. Must not be null.
- Returns:
- Source or target node, depending on tip.