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.

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