mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-02 15:56:27 +00:00
Fix create graph by matrix.
This commit is contained in:
parent
4fbe526813
commit
583cb024a1
@ -17,6 +17,10 @@ function BaseEdge(vertex1, vertex2, isDirect, weight, upText)
|
||||
this.useWeight = false;
|
||||
this.id = 0;
|
||||
this.model = new EdgeModel();
|
||||
|
||||
if (upText === undefined)
|
||||
this.upText = "";
|
||||
else
|
||||
this.upText = upText;
|
||||
|
||||
if (weight !== undefined)
|
||||
|
Loading…
x
Reference in New Issue
Block a user