vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

242 lines
7.3 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
  1. # vis.js history
  2. http://visjs.org
  3. ## not yet released, version 1.0.1
  4. ### Graph
  5. - added coordinate conversion from DOM to Canvas.
  6. ## 2014-05-02, version 1.0.0
  7. ### Timeline
  8. - Large refactoring of the Timeline, simplifying the code.
  9. - Great performance improvements.
  10. - Improved layout of box-items inside groups.
  11. - Items can now be dragged from one group to another.
  12. - Implemented option `stack` to enable/disable stacking of items.
  13. - Implemented function `fit`, which sets the Timeline window such that it fits
  14. all items.
  15. - Option `editable` can now be used to enable/disable individual manipulation
  16. actions (`add`, `updateTime`, `updateGroup`, `remove`).
  17. - Function `setWindow` now accepts an object with properties `start` and `end`.
  18. - Fixed option `autoResize` forcing a repaint of the Timeline with every check
  19. rather than when the Timeline is actually resized.
  20. - Fixed `select` event fired repeatedly when clicking an empty place on the
  21. Timeline, deselecting selected items).
  22. - Fixed initial visible window in case items exceed `zoomMax`. Thanks @Remper.
  23. - Fixed an offset in newly created items when using groups.
  24. - Fixed height of a group not reckoning with the height of the group label.
  25. - Option `order` is now deprecated. This was needed for performance improvements.
  26. - More examples added.
  27. - Minor bug fixes.
  28. ### Graph
  29. - added recalculate hierarchical layout to update node event.
  30. - added arrowScaleFactor to scale the arrows on the edges.
  31. ### DataSet
  32. - A DataSet can now be constructed with initial data, like
  33. `new DataSet(data, options)`.
  34. ## 2014-04-18, version 0.7.4
  35. ### Graph
  36. - fixed IE9 bug.
  37. - style fixes.
  38. - minor bug fixes.
  39. ## 2014-04-16, version 0.7.3
  40. ### Graph
  41. - fixed color bug.
  42. - added pull requests from kannonboy and vierja: tooltip styling, label fill color
  43. ## 2014-04-09, version 0.7.2
  44. ### Graph
  45. - fixed edge select bug.
  46. - fixed zoom bug on empty initialization.
  47. ## 2014-03-27, version 0.7.1
  48. ### Graph
  49. - fixed edge color bug.
  50. - fixed select event bug.
  51. - clarified docs, stressing importance of css inclusion for correct display of navigation an manipulation icons.
  52. - improved and expanded playing with physics (configurePhysics option).
  53. - added highlights to navigation icons if the corresponding key is pressed.
  54. - added freezeForStabilization option to improve stabilization with cached positions.
  55. ## 2014-03-07, version 0.7.0
  56. ### Graph
  57. - changed navigation CSS. Icons are now always correctly positioned.
  58. - added stabilizationIterations option to graph.
  59. - added storePosition() method to save the XY positions of nodes in the DataSet.
  60. - separated allowedToMove into allowedToMoveX and allowedToMoveY. This is required for initializing nodes from hierarchical layouts after storePosition().
  61. - added color options for the edges.
  62. ## 2014-03-06, version 0.6.1
  63. ### Graph
  64. - Bugfix graphviz examples.
  65. - Bugfix labels position for smooth curves.
  66. - Tweaked graphviz example physics.
  67. - Updated physics documentation to stress importance of configurePhysics.
  68. ### Timeline
  69. - Fixed a bug with options `margin.axis` and `margin.item` being ignored when setting them to zero.
  70. - Some clarifications in the documentation.
  71. ## 2014-03-05, version 0.6.0
  72. ### Graph
  73. - Added Physics Configuration option. This makes tweaking the physics system to suit your needs easier.
  74. - Click and doubleClick events.
  75. - Initial zoom bugfix.
  76. - Directions for Hierarchical layout.
  77. - Refactoring and bugfixes.
  78. ## 2014-02-20, version 0.5.1
  79. - Fixed broken bower module.
  80. ## 2014-02-20, version 0.5.0
  81. ### Timeline
  82. - Editable Items: drag items, add new items, update items, and remove items.
  83. - Implemented options `selectable`, `editable`.
  84. - Added events `timechange` and `timechanged` when dragging the custom time bar.
  85. - Multiple items can be selected using ctrl+click or shift+click.
  86. - Implemented functions `setWindow(start, end)` and `getWindow()`.
  87. - Fixed scroll to zoom not working on IE in standards mode.
  88. ### Graph
  89. - Editable nodes and edges: create, update, and remove them.
  90. - Support for smooth, curved edges (on by default).
  91. - Performance improvements.
  92. - Fixed scroll to zoom not working on IE in standards mode.
  93. - Added hierarchical layout option.
  94. - Overhauled physics system, now using Barnes-Hut simulation by default. Great performance gains.
  95. - Modified clustering system to give better results.
  96. - Adaptive performance system to increase visual performance (60fps target).
  97. ### DataSet
  98. - Renamed functions `subscribe` and `unsubscribe` to `on` and `off` respectively.
  99. ## 2014-01-31, version 0.4.0
  100. ### Timeline
  101. - Implemented functions `on` and `off` to create event listeners for events
  102. `rangechange`, `rangechanged`, and `select`.
  103. - Implemented function `select` to get and set the selected items.
  104. - Items can be selected by clicking them, muti-select by holding them.
  105. - Fixed non working `start` and `end` options.
  106. ### Graph
  107. - Fixed longstanding bug in the force calculation, increasing simulation
  108. stability and fluidity.
  109. - Reworked the calculation of the Graph, increasing performance for larger
  110. datasets (up to 10x!).
  111. - Support for automatic clustering in Graph to handle large (>50000) datasets
  112. without losing performance.
  113. - Added automatic initial zooming to Graph, to more easily view large amounts
  114. of data.
  115. - Added local declustering to Graph, freezing the simulation of nodes outside
  116. of the cluster.
  117. - Added support for key-bindings by including mouseTrap in Graph.
  118. - Added navigation controls.
  119. - Added keyboard navigation.
  120. - Implemented functions `on` and `off` to create event listeners for event
  121. `select`.
  122. ## 2014-01-14, version 0.3.0
  123. - Moved the generated library to folder `./dist`
  124. - Css stylesheet must be loaded explicitly now.
  125. - Implemented options `showCurrentTime` and `showCustomTime`. Thanks @fi0dor.
  126. - Implemented touch support for Timeline.
  127. - Fixed broken Timeline options `min` and `max`.
  128. - Fixed not being able to load vis.js in node.js.
  129. ## 2013-09-20, version 0.2.0
  130. - Implemented full touch support for Graph.
  131. - Fixed initial empty range in the Timeline in case of a single item.
  132. - Fixed field `className` not working for items.
  133. ## 2013-06-20, version 0.1.0
  134. - Added support for DataSet to Graph. Graph now uses an id based set of nodes
  135. and edges instead of a row based array internally. Methods getSelection and
  136. setSelection of Graph now accept a list with ids instead of rows.
  137. - Graph is now robust against edges pointing to non-existing nodes, which
  138. can occur easily while dynamically adding/removing nodes and edges.
  139. - Implemented basic support for groups in the Timeline.
  140. - Added documentation on DataSet and DataView.
  141. - Fixed selection of nodes in a Graph when the containing web page is scrolled.
  142. - Improved date conversion.
  143. - Renamed DataSet option `fieldTypes` to `convert`.
  144. - Renamed function `vis.util.cast` to `vis.util.convert`.
  145. ## 2013-06-07, version 0.0.9
  146. - First working version of the Graph imported from the old library.
  147. - Documentation added for both Timeline and Graph.
  148. ## 2013-05-03, version 0.0.8
  149. - Performance improvements: only visible items are rendered.
  150. - Minor bug fixes and improvements.
  151. ## 2013-04-25, version 0.0.7
  152. - Sanitized the published packages on npm and bower.
  153. ## 2013-04-25, version 0.0.6
  154. - Css is now packaged in the javascript file, and automatically loaded.
  155. - The library uses node style dependency management for modules now, used
  156. with Browserify.
  157. ## 2013-04-16, version 0.0.5
  158. - First working version of the Timeline.
  159. - Website created.