Add more options for vertex.

This commit is contained in:
Oleg Sh
2021-04-23 21:38:16 +02:00
parent 7583db561f
commit 35c6656d0f
14 changed files with 125 additions and 17 deletions

View File

@@ -1787,9 +1787,9 @@ Application.prototype.SetDefaultEdgeWidth = function(width)
for (i = 0; i < this.graph.edges.length; i ++)
{
if (this.graph.vertices[i].model.width == oldDefaultWidth)
if (this.graph.edges[i].model.width == oldDefaultWidth)
{
this.graph.vertices[i].model.width = width;
this.graph.edges[i].model.width = width;
}
}
}