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.

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