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.

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