Browse Source

rephrased docs line

v3_develop
Alex de Mulder 10 years ago
parent
commit
59a32e0a0d
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      dist/vis.js
  2. +1
    -1
      docs/network.html
  3. +1
    -1
      lib/network/Network.js

+ 1
- 1
dist/vis.js View File

@ -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) {

+ 1
- 1
docs/network.html View File

@ -2159,7 +2159,7 @@ var options: {
<td>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. <br />
The options that can be defined are:<br />
<b><code>scale:Number</code></b><br /> - to zoom to that scale,<br />
<b><code>offset:{x:Number, y:Number}</code></b><br /> - to offset the position from the center of the canvas (in DOM units),<br />
<b><code>offset:{x:Number, y:Number}</code></b><br /> - to offset the position from the center of the canvas (in pixels),<br />
<b><code>locked: boolean</code></b><br /> - if true, the view remains locked on this node until either another focusOnNode, moveTo, releaseNode or drag is done <br />
<b><code>animation: Object || Boolean</code></b><br /> - to define the specifics of the animation. True is animated with default settings, false is not animated.<br />
<br />

+ 1
- 1
lib/network/Network.js View File

@ -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) {

Loading…
Cancel
Save