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.

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