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.

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