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.

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