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.

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