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.

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