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.

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