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.

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