diff --git a/script/Graph.js b/script/Graph.js index 8db3934..e68c8d0 100644 --- a/script/Graph.js +++ b/script/Graph.js @@ -580,6 +580,7 @@ Graph.prototype.SetAdjacencyMatrix = function (matrix, viewportSize, currentEnum if (cols[i][j] > 0) { var nEdgeIndex = this.AddNewEdgeSafe(this.vertices[i], this.vertices[j], cols[i][j] != cols[j][i], cols[i][j], true); + this.FixEdgeCurved(nEdgeIndex); if (nEdgeIndex >= 0) { bWeightGraph = bWeightGraph || this.edges[nEdgeIndex].weight != 1;