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.

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