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.

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