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.

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