1 package de.fzi.wim.guibase.graphview.graph;
2
3 /***
4 * The edge of the graph.
5 */
6 public interface Edge {
7 /***
8 * Returns the node from which this edge points.
9 *
10 * @return the node from which this edge points
11 */
12 Node getFrom();
13 /***
14 * Returns the node from which to edge points.
15 *
16 * @return the node to which this edge points
17 */
18 Node getTo();
19 /***
20 * Returns the label of this node.
21 *
22 * @return the label of the node
23 */
24 String getLabels();
25 /***
26 * Returns the length of this edge.
27 *
28 * @return the ledge of the edge
29 */
30 double getLength();
31 }