Browse Source

Released version 3.4.2

gh-pages
jos 10 years ago
parent
commit
58557a8f70
8 changed files with 4421 additions and 4360 deletions
  1. +4394
    -4340
      dist/vis.js
  2. +1
    -1
      dist/vis.map
  3. +15
    -15
      dist/vis.min.js
  4. +7
    -0
      docs/network.html
  5. BIN
      download/vis.zip
  6. +2
    -2
      examples/network/02_random_nodes.html
  7. +1
    -1
      examples/network/21_data_manipulation.html
  8. +1
    -1
      index.html

+ 4394
- 4340
dist/vis.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/vis.map
File diff suppressed because it is too large
View File


+ 15
- 15
dist/vis.min.js
File diff suppressed because it is too large
View File


+ 7
- 0
docs/network.html View File

@ -2158,6 +2158,7 @@ var options: {
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>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 />
The animation object can consist of:<br />
@ -2168,6 +2169,12 @@ var options: {
easeInQuint, easeOutQuint, easeInOutQuint </code> <br /><br />
</td>
</tr>
<tr>
<td>releaseNode()</td>
<td>none</td>
<td>When locked on to a node, this function releases it again. If the view is not locked onto a node due to the focusOnNode locked option, nothing happens.
</td>
</tr>
<tr>
<td>storePosition()</td>
<td>none</td>

BIN
download/vis.zip View File


+ 2
- 2
examples/network/02_random_nodes.html View File

@ -82,13 +82,13 @@
// add event listeners
network.on('select', function(params) {
document.getElementById('selection').innerHTML = 'Selection: ' + params.nodes;
console.log(params)
});
network.on('stabilized', function (params) {
document.getElementById('stabilization').innerHTML = 'Stabilization took ' + params.iterations + ' iterations.';
doFocus = false;
});
}
</script>
</head>

+ 1
- 1
examples/network/21_data_manipulation.html View File

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Network | Navigation</title>
<title>Network | Data Manipulation</title>
<style type="text/css">
body {

+ 1
- 1
index.html View File

@ -74,7 +74,7 @@ bower install vis
<h3>download</h3>
<a href="download/vis.zip">Click here to download vis.js</a>
(version <span class="version">3.4.1</span>)
(version <span class="version">3.4.2</span>)
<h2 id="example">Example</h2>

Loading…
Cancel
Save