📄 edge.java
字号:
package net.sourceforge.jpowergraph;
/**
* The edge of the graph.
*/
public interface Edge {
/**
* Returns the node from which this edge points.
*
* @return the node from which this edge points
*/
Node getFrom();
/**
* Returns the node from which to edge points.
*
* @return the node to which this edge points
*/
Node getTo();
/**
* Returns the label of this node.
*
* @return the label of the node
*/
String getLabels();
/**
* Returns the length of this edge.
*
* @return the ledge of the edge
*/
double getLength();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -