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.

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