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.

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