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.

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