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.

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