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.

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