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.

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