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.

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