📄 line.js
字号:
/**
* the basic element of graph - line
* @author: shennan amushen@yahoo.com.cn
* @date:2008-1-6
*/
function Line(name,/*Node index*/source,/*Node index*/destination,
/*Position Object*/midPoint,sPoint,dPoint
){
//construction
this.name=name;
this.source=source;
this.destination=destination;
this.midPoint=midPoint;
this.sPoint=sPoint;
this.dPoint=dPoint;
this.index=-1;// save the index in the array
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -