mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-03 06:16:20 +00:00
Add edge with parameter for style.
This commit is contained in:
@@ -4,10 +4,12 @@
|
||||
*/
|
||||
|
||||
var EdgeModels = {"line": 0, "cruvled" : 1};
|
||||
|
||||
const defaultEdgeWidth = 4;
|
||||
|
||||
function EdgeModel()
|
||||
{
|
||||
this.width = 4;
|
||||
this.width = globalApplication.GetDefaultEdgeWidth();
|
||||
this.type = EdgeModels.line;
|
||||
this.curvedValue = EdgeModel.prototype.defaultCruved;
|
||||
this.default = true;
|
||||
|
||||
Reference in New Issue
Block a user