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.

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