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.

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