projects
/
osm
/
LW-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved ns topology
[osm/LW-UI.git]
/
static
/
TopologyComposer
/
js
/
model_graph_editor.js
diff --git
a/static/TopologyComposer/js/model_graph_editor.js
b/static/TopologyComposer/js/model_graph_editor.js
index
2f5f6c8
..
6cee85d
100644
(file)
--- a/
static/TopologyComposer/js/model_graph_editor.js
+++ b/
static/TopologyComposer/js/model_graph_editor.js
@@
-118,10
+118,9
@@
TCD3.ModelGraphEditor = (function () {
* @returns {boolean}
*/
ModelGraphEditor.prototype.updateData = function (args) {
* @returns {boolean}
*/
ModelGraphEditor.prototype.updateData = function (args) {
- console.log("updateData")
this.d3_graph.nodes = args.graph_data.vertices;
this.d3_graph.links = args.graph_data.edges;
this.d3_graph.nodes = args.graph_data.vertices;
this.d3_graph.links = args.graph_data.edges;
- this.d3_graph.graph_parameters = args.graph_parameters;
+ this.d3_graph.graph_parameters = args.graph_
data.graph_
parameters;
this.model = args.model;
this.refreshGraphParameters(this.d3_graph.graph_parameters);
this.refresh();
this.model = args.model;
this.refreshGraphParameters(this.d3_graph.graph_parameters);
this.refresh();