📄 node.js
字号:
/**
* the basic graph element -- node
* @author: shennan amushen@yahoo.com.cn
* @date: 2008-1-6
*/
function Node(name,type,comment,/*Position Object*/position,width,height,/*Object*/info,
/*Array of NodeIndex*/parentNode,childNode,
/*Array of lineIndex*/inLine,outLine
){
//construction
this.name=name;
this.type=type;
this.comment=comment;
this.position=position; //top and left
this.width=width;
this.height=height;
this.info=info; //some extra informations
this.parentNode=parentNode;//save the Node Object itself
this.childNode=childNode;
this.inLine=inLine;//save the Line Object
this.outLine=outLine;
this.index=-1;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -