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.

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