org.apache.maven.diagrams.graph_api
Interface Edge


public interface Edge

Interface for single graph edge (director or undirected)

Author:
Piotr Tabor

Method Summary
 Node getEndNode()
          Returns the start node (in directed graph) or second of the two nodes (in indirected) of the edge.
 java.lang.String getId()
          Get business id of the edge Business id should be unique within the graph
 Node getStartNode()
          Returns the start node (in directed graph) or one of the two nodes (in indirected) of the edge.
 

Method Detail

getId

java.lang.String getId()
Get business id of the edge Business id should be unique within the graph

Returns:
business id of the edge

getStartNode

Node getStartNode()
Returns the start node (in directed graph) or one of the two nodes (in indirected) of the edge.

Returns:
the node

getEndNode

Node getEndNode()
Returns the start node (in directed graph) or second of the two nodes (in indirected) of the edge.

Returns:
the node


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.