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.

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