diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-11-19 03:27:41 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-19 23:23:40 +0200 |
| commit | 2322e76389d1e60bb4b5ace2f2968ecd02e8cf67 (patch) | |
| tree | f197e424db6ec26937ff313c55fd50229ece309a /src/model | |
| parent | a70a01801ab34180091c53a45c0e8eed8c4f0d35 (diff) | |
replace _addNodeNoHistory() call with addNode
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/graph.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/graph.js b/src/model/graph.js index d015cc3a..a93d74a1 100644 --- a/src/model/graph.js +++ b/src/model/graph.js @@ -584,7 +584,7 @@ function Graph() { } for(i = 0; i < data["nodes"].length; i++){ node = data.nodes[i]; - this._addNodeNoHistory({id:node.id, name:node.name ? node.name : node.id, + this.__addNode({id:node.id, name:node.name ? node.name : node.id, type:node.type,state:"perm", start:new Date(node.start), end:new Date(node.end), @@ -592,7 +592,7 @@ function Graph() { url:node.url, x: node.x, y: node.y, - }); + }, false); textanalysis.autoSuggestAddName(node.name.toLowerCase()); } for(i = 0; i < data["links"].length; i++){ |
