diff --git a/dist/vis.js b/dist/vis.js
index 9c84637c..269efc9f 100644
--- a/dist/vis.js
+++ b/dist/vis.js
@@ -21229,7 +21229,7 @@ return /******/ (function(modules) { // webpackBootstrap
network.start();
},
'update': function (event, params) {
- network._updateNodes(params.items, params.data);
+ network._updateNodes(params.items, params.scadata);
network.start();
},
'remove': function (event, params) {
diff --git a/docs/network.html b/docs/network.html
index 360963e6..77f4c462 100644
--- a/docs/network.html
+++ b/docs/network.html
@@ -2159,7 +2159,7 @@ var options: {
This function will move the view to center on the specified node. An optional options object can submitted where you can define the animation properties.
The options that can be defined are:
scale:Number - to zoom to that scale,
- offset:{x:Number, y:Number} - to offset the position from the center of the canvas (in DOM units),
+ offset:{x:Number, y:Number} - to offset the position from the center of the canvas (in pixels),
locked: boolean - if true, the view remains locked on this node until either another focusOnNode, moveTo, releaseNode or drag is done
animation: Object || Boolean - to define the specifics of the animation. True is animated with default settings, false is not animated.
diff --git a/lib/network/Network.js b/lib/network/Network.js
index 75ed92a2..ae0e0f96 100644
--- a/lib/network/Network.js
+++ b/lib/network/Network.js
@@ -297,7 +297,7 @@ function Network (container, data, options) {
network.start();
},
'update': function (event, params) {
- network._updateNodes(params.items, params.data);
+ network._updateNodes(params.items, params.scadata);
network.start();
},
'remove': function (event, params) {
|