Browse Source

Merge remote-tracking branch 'origin/develop' into develop

v3_develop
jos 9 years ago
parent
commit
e64d9cfc2f
2 changed files with 22 additions and 8 deletions
  1. +4
    -4
      HISTORY.md
  2. +18
    -4
      docs/network.html

+ 4
- 4
HISTORY.md View File

@ -2,15 +2,15 @@
http://visjs.org http://visjs.org
## not yet released, version 3.10.1-SNAPSHOT
## not yet released, version 3.11.0-SNAPSHOT
### Network ### Network
- (added gradient coloring for lines, but set for release in 4.0 due to required refactoring of options) - (added gradient coloring for lines, but set for release in 4.0 due to required refactoring of options)
- Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions etc. - Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions etc.
- (add docs) Added option to bypass default groups. If more groups are specified in the nodes than there are in the groups, loop over supplied groups instead of default.
- (add docs) Added two new static smooth curves modes: curveCW and curve CCW.
- Added request redraw for certain internal processes to reduce number of draw calls.
- Added option to bypass default groups. If more groups are specified in the nodes than there are in the groups, loop over supplied groups instead of default.
- Added two new static smooth curves modes: curveCW and curve CCW.
- Added request redraw for certain internal processes to reduce number of draw calls (performance improvements!).
- Added pull request for usage of Icons. Thanks @Dude9177! - Added pull request for usage of Icons. Thanks @Dude9177!
- Allow hierarchical view to be set in setOptions. - Allow hierarchical view to be set in setOptions.
- Fixed manipulation bar for mobile. - Fixed manipulation bar for mobile.

+ 18
- 4
docs/network.html View File

@ -280,13 +280,13 @@ When using a DataSet, the network is automatically updating to changes in the Da
<td>allowedToMoveX</td> <td>allowedToMoveX</td>
<td>Boolean</td> <td>Boolean</td>
<td>no</td> <td>no</td>
<td>If allowedToMoveX is false, then the node will not move in the X direction from its position.</td>
<td>If allowedToMoveX is false, then the node will not move in the X direction from its position. This does not do anything in hierarchical views.</td>
</tr> </tr>
<tr> <tr>
<td>allowedToMoveY</td> <td>allowedToMoveY</td>
<td>Boolean</td> <td>Boolean</td>
<td>no</td> <td>no</td>
<td>If allowedToMoveY is false, then the node will not move in the Y direction from its position.</td>
<td>If allowedToMoveY is false, then the node will not move in the Y direction from its position. This does not do anything in hierarchical views.</td>
</tr> </tr>
<tr> <tr>
@ -599,7 +599,14 @@ var options = {
<td>When a Network is configured to be <code>clickToUse</code>, it will react to mouse, touch, and keyboard events only when active. <td>When a Network is configured to be <code>clickToUse</code>, it will react to mouse, touch, and keyboard events only when active.
When active, a blue shadow border is displayed around the Network. The Network is set active by clicking on it, and is changed to inactive again by clicking outside the Network or by pressing the ESC key.</td> When active, a blue shadow border is displayed around the Network. The Network is set active by clicking on it, and is changed to inactive again by clicking outside the Network or by pressing the ESC key.</td>
</tr> </tr>
<tr>
<td>useDefaultGroups</td>
<td>boolean</td>
<td>true</td>
<td>If true, the default groups are used when groups are used. If you have defined your own groups those will be used. If you have an item with a group that is NOT in your own group list,
setting useDefaultGroups true will iterate over the default groups for unknown groups. If it is set to false, it will iterate over your own groups for unknown groups.
</td>
</tr>
<tr> <tr>
<td><a href="#Physics">physics</a></td> <td><a href="#Physics">physics</a></td>
<td>Object</td> <td>Object</td>
@ -758,7 +765,7 @@ var options = {
<td>smoothCurves.type</td> <td>smoothCurves.type</td>
<td>String</td> <td>String</td>
<td>"continuous"</td> <td>"continuous"</td>
<td>This option only affects NONdynamic smooth curves. The supported types are: <code>continuous, discrete, diagonalCross, straightCross, horizontal, vertical</code>. The effects of these types
<td>This option only affects NONdynamic smooth curves. The supported types are: <code>continuous, discrete, diagonalCross, straightCross, horizontal, vertical, curvedCW, curvedCCW</code>. The effects of these types
are shown in examples <a href="../examples/network/26_staticSmoothCurves.html">26</a> and <a href="../examples/network/27_world_cup_network.html">27</a></td> are shown in examples <a href="../examples/network/26_staticSmoothCurves.html">26</a> and <a href="../examples/network/27_world_cup_network.html">27</a></td>
</tr> </tr>
<tr> <tr>
@ -2648,6 +2655,13 @@ network.off('select', onSelect);
none none
</td> </td>
</tr> </tr>
<tr>
<td>stabilizationIterationsDone</td>
<td>Fired once when the network finished the initial stabilization run. This is fired REGARDLESS if the network has stabilized. It only means that the amount of configured stabilizationIterations have been completed.
<td>
none
</td>
</tr>
<tr> <tr>
<td>stabilized</td> <td>stabilized</td>
<td>Fired every time the network has been stabilized. This event can be used to trigger the .storePositions() function after stabilization. Fired with an object having the following properties:</td> <td>Fired every time the network has been stabilized. This event can be used to trigger the .storePositions() function after stabilization. Fired with an object having the following properties:</td>

Loading…
Cancel
Save