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.

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