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.

778 lines
26 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 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
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 3.7.3-SNAPSHOT
  4. ### Network
  5. - Fixed flipping of hierarchical network on update when using RL and DU.
  6. - Added zoomExtentOnStabilize option to network.
  7. - Improved destroy function, added them to the examples.
  8. - Nodes now have bounding boxes that are used for zoomExtent.
  9. - Made physics more stable (albeit a little slower).
  10. - Added a check so only one 'activator' overlay is created on clickToUse.
  11. - Made global color options for edges overrule the inheritColors.
  12. - Improved cleaning up of the physics configuration on destroy and in options.
  13. - Made nodes who lost their group revert back to default color.
  14. - Changed group behaviour, groups now extend the options, not replace. This allows partial defines of color.
  15. - Fixed bug where box shaped nodes did not use hover color.
  16. - Fixed Locales docs.
  17. - When hovering over a node that does not have a title, the title of one of the connected edges that HAS a title is no longer shown.
  18. - Fixed error in repulsion physics model.
  19. - Improved physics handling for smoother network simulation.
  20. ### Graph2d
  21. - Fixed round-off errors of zero on the y-axis.
  22. - added show major/minor lines options to dataAxis.
  23. - Fixed adapting to width and height changes.
  24. - Added a check so only one 'activator' overlay is created on clickToUse.
  25. - DataAxis width option now draws correctly.
  26. ### Timeline
  27. - Support for custom date formatting of the labels on the time axis.
  28. - added show major/minor lines options to timeline.
  29. - Added a check so only one 'activator' overlay is created on clickToUse.
  30. ### Graph3d
  31. - Fixed mouse coordinates for tooltips.
  32. ## 2014-12-09, version 3.7.2
  33. ### Timeline
  34. - Fixed zooming issue on mobile devices.
  35. ### Graph2D
  36. - Fixed infinite loop when clearing DataSet
  37. ### Network
  38. - Sidestepped double touch event from hammer (ugly.. but functional) causing
  39. strange behaviour in manipulation mode
  40. - Better cleanup after reconnecting edges in manipulation mode
  41. - Fixed recursion error with smooth edges that are connected to non-existent nodes
  42. - Added destroy method.
  43. ## 2014-11-28, version 3.7.1
  44. ### Timeline
  45. - Implemented selection of a range of items using Shift+Click.
  46. - Fixed content in range items may overflow range after zoom.
  47. - Fixed onAdd/onUpdate callbacks when using a DataView (thanks @motzel).
  48. - Fixed configuring either `start` or `end`.
  49. - Fixed Timeline and Graph2d getting stuck in an infinite loop in some
  50. circumstances.
  51. - Fixed background items being selectable and editable when a height is set.
  52. ### Graph2D
  53. - Added `alignZeros` option to dataAxis with default value true.
  54. - Fixed bug with points drawn on bargraphs
  55. - Fixed docs
  56. - Fixed height increase on scrolling if only `graphHeight` is defined.
  57. ### Network
  58. - dragEnd event now does not give the selected nodes if only the viewport has been dragged #453
  59. - merged high DPI fix by @crubier, thanks!
  60. ## 2014-11-14, version 3.7.0
  61. ### Graph2D
  62. - Added points style for scatterplots and pointclouds.
  63. - Modularized the Graph2D draw styles.
  64. - Added a finishedRedraw event.
  65. ### Network
  66. - Added pointer properties to the click and the doubleClick events containing the XY coordinates in DOM and canvas space.
  67. - Removed IDs from navigation so multiple networks can be shown on the same page. (#438)
  68. ### Timeline
  69. - Added a finishedRedraw event.
  70. - Fixed the disappearing item bug.
  71. - Fixed keycharm issue.
  72. ## 2014-11-07, version 3.6.4
  73. ### General
  74. - Removed mousetrap due to Apache license, created keycharm and implemented it with vis.
  75. ### Timeline
  76. - Fixed height of background items when having a fixed or max height defined.
  77. - Fixed only one item being dragged when multiple items are selected.
  78. - Optimised a serious slowdown on performance since hidden dates.
  79. ### Network
  80. - Fixed onRelease with navigation option.
  81. - Fixed arrow heads not being colored.
  82. ### Graph2D
  83. - Fixed cleaning up of groups.
  84. - Throw error message when items are added before groups.
  85. - Made graphHeight automatic if height is defined AND if graphHeight is smaller than the center panel when height is defined as well.
  86. - Added new verticalDrag event for internal use, allowing the vertical scrolling of the grid lines on drag.
  87. - Fixed moving legend when postioned on the bottom and vertical dragging.
  88. - Optimised a serious slowdown on performance since hidden dates.
  89. - Accepted a large pull request from @cdjackson adding the following features (thank you!):
  90. - Titles on the DataAxis to explain what units you are using.
  91. - A style field for groups and datapoints so you can dynamically change styles.
  92. - A precision option to manually set the amount of decimals.
  93. - Two new examples showing the new features.
  94. ## 2014-10-28, version 3.6.3
  95. ### Timeline
  96. - Fixed background items not always be cleared when removing them.
  97. - Fixed visible items not always be displayed.
  98. - Performance improvements when doing a lot of changes at once in a DataSet.
  99. ### Network
  100. - Fixed dashed and arrow lines not using inheritColor.
  101. ### DataSet
  102. - Support for queueing of changes, and flushing them at once.
  103. - Implemented `DataSet.setOptions`. Only applicable for the `queue` options.
  104. ## 2014-10-24, version 3.6.2
  105. - Vis.js is now dual licensed under both Apache 2.0 and MIT.
  106. ## 2014-10-22, version 3.6.1
  107. ### Timeline
  108. - Fixed uneven stepsized with hidden dates.
  109. - Fixed multiple bugs with regards to hidden dates.
  110. - Fixed subgroups and added subgroup sorting. Subgroup labels will be in future releases.
  111. ## 2014-10-21, version 3.6.0
  112. ### Network
  113. - Title of nodes and edges can now be an HTML element too.
  114. - Renamed storePosition to storePositions. Added deprication message and old name still works.
  115. - Worked around hammer.js bug with multiple release listeners.
  116. - Improved cleaning up after manipulation toolbar.
  117. - Added getPositions() method to get the position of all nodes or some of them if specific Ids are supplied.
  118. - Added getCenterCoordinates() method to get the x and y position in canvas space of the center of the view.
  119. - Fixed node label becoming undefined.
  120. - Fixed cluster fontsize scaling.
  121. - Fixed cluster sector scaling.
  122. - Added oldHeight and oldWidth to resize event.
  123. ### Timeline
  124. - Implemented field `style` for both items and groups, to set a custom style for
  125. individual items.
  126. - Fixed height of BackgroundItems not being 100% when timeline has a fixed height.
  127. - Fixed width of BackgroundItems not being reduced to 0 when zooming out.
  128. - Fixed onclick events in items not working.
  129. - Added hiddenDates to hide specific times and/or days in the timeline.
  130. ### DataSet
  131. - Event listeners of `update` now receive an extra property `data`,
  132. containing the changed fields of the changed items.
  133. ### Graph2d
  134. - Fixed height of legend when there are many items showing.
  135. ### Graph3d
  136. - Implemented options `xValueLabel`, `yValueLabel` and `zValueLabel` for custom labels along
  137. the x, y, z axis. Thanks @fabriziofortino.
  138. ## 2014-09-16, version 3.5.0
  139. ### Network
  140. - Fixed nodes not always being unfixed when using allowedToMove.
  141. - Added dragStart and dragEnd events.
  142. - Added edge selection on edge labels.
  143. ### Graph2d
  144. - Fixed dataAxis not showing large numbers correctly.
  145. ## 2014-09-12, version 3.4.2
  146. ### Network
  147. - Changed timings for zoomExtent animation.
  148. - Fixed possible cause of freezing graph when animating.
  149. - Added locked to focusOnNode and releaseNode().
  150. - Fixed minor bug in positioning of fontFill of nodes with certain shapes.
  151. - Added startStabilization event.
  152. ## 2014-09-11, version 3.4.1
  153. ### Network
  154. - Fix for introduced bug on zoomExtent navigation button.
  155. - Added animation to zoomExtent navigation button.
  156. - Improved cleaning of Hammer.js bindings.
  157. ### Timeline
  158. - Fixed a bug in IE freezing when margin.item and margin.axis where both 0.
  159. ## 2014-09-10, version 3.4.0
  160. ### Graph2d
  161. - Fixed moment.js url in localization example.
  162. ### Network
  163. - Fixed some positioning issues with the close button of the manipulation menu.
  164. - Added fontFill to Nodes as it is in Edges.
  165. - Implemented support for broken image fallback. Thanks @sfairgrieve.
  166. - Added multiline labels to edges as they are implemented in nodes. Updated
  167. multiline example to show this.
  168. - Added animation and camera controls by the method .moveTo()
  169. - Added new event that fires when the animation is finished.
  170. - Added new example showing the new features of animation.
  171. - Added getScale() method.
  172. ### Timeline
  173. - Implemented support for templates.
  174. - Implemented a new item type: `'background'`. This can be used to mark periods
  175. with a background color and label.
  176. - Implemented support for attaching HTML attributes to items. Thanks @dturkenk.
  177. - Fixed moment.js url in localization example.
  178. - Fixed `className` of groups not being updated when changed.
  179. - Fixed the `id` field of a new item not correctly generated.
  180. - Fixed newly added item ignored when returning an other object instance.
  181. - Fixed option `autoResize` not working on IE in case of changing visibility
  182. of the Timeline container element.
  183. - Fixed an overflow issue with the dots of BoxItems when using groups.
  184. - Fixed a horizontal 1-pixel offset in the items (border width wasn't taken into
  185. account).
  186. - Renamed internal items from `ItemBox`, `ItemRange`, and `ItemPoint` to
  187. respectively `BoxItem`, `RangeItem`, and `PointItem`.
  188. - Fixed an error thrown when calling `destroy()`.
  189. ## 2014-08-29, version 3.3.0
  190. ### Timeline
  191. - Added localization support.
  192. - Implemented option `clickToUse`.
  193. - Implemented function `focus(id)` to center a specific item (or multiple items)
  194. on screen.
  195. - Implemented an option `focus` for `setSelection(ids, options)`, to immediately
  196. focus selected nodes.
  197. - Implemented function `moveTo(time, options)`.
  198. - Implemented animated range change for functions `fit`, `focus`, `setSelection`,
  199. and `setWindow`.
  200. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  201. - Implemented a new callback function `onMoving(item, callback)`.
  202. - Implemented support for option `align` for range items.
  203. - Fixed the `change` event sometimes being fired twice on IE10.
  204. - Fixed canceling moving an item to another group did not move the item
  205. back to the original group.
  206. - Fixed the `change` event sometimes being fired twice on IE10.
  207. - Fixed canceling moving an item to another group did not move the item
  208. back to the original group.
  209. ### Network
  210. - A fix in reading group properties for a node.
  211. - Fixed physics solving stopping when a support node was not moving.
  212. - Implemented localization support.
  213. - Implemented option `clickToUse`.
  214. - Improved the `stabilized` event, it's now firing after every stabilization
  215. with iteration count as parameter.
  216. - Fixed page scroll event not being blocked when moving around in Network
  217. using arrow keys.
  218. - Fixed an initial rendering before the graph has been stabilized.
  219. - Fixed bug where loading hierarchical data after initialization crashed network.
  220. - Added different layout method to the hierarchical system based on the direction of the edges.
  221. ### Graph2d
  222. - Implemented option `handleOverlap` to support overlap, sideBySide and stack.
  223. - Implemented two examples showing the `handleOverlap` functionality.
  224. - Implemented `customRange` for the Y axis and an example showing how it works.
  225. - Implemented localization support.
  226. - Implemented option `clickToUse`.
  227. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  228. - Implemented function `moveTo(time, options)`.
  229. - Fixed bugs.
  230. - Added groups.visibility functionality and an example showing how it works.
  231. ## 2014-08-14, version 3.2.0
  232. ### General
  233. - Refactored Timeline and Graph2d to use the same core.
  234. ### Graph2d
  235. - Added `visible` property to the groups.
  236. - Added `getLegend()` method.
  237. - Added `isGroupVisible()` method.
  238. - Fixed empty group bug.
  239. - Added `fit()` and `getItemRange()` methods.
  240. ### Timeline
  241. - Fixed items in groups sometimes being displayed but not positioned correctly.
  242. - Fixed a group "null" being displayed in IE when not using groups.
  243. ### Network
  244. - Fixed mass = 0 for nodes.
  245. - Revamped the options system. You can globally set options (network.setOptions) to update settings of nodes and edges that have not been specifically defined by the individual nodes and edges.
  246. - Disabled inheritColor when color information is set on an edge.
  247. - Tweaked examples.
  248. - Removed the global length property for edges. The edgelength is part of the physics system. Therefore, you have to change the springLength of the physics system to change the edge length. Individual edge lengths can still be defined.
  249. - Removed global edge length definition form examples.
  250. - Removed onclick and onrelease for navigation and switched to Hammer.js (fixing touchscreen interaction with navigation).
  251. - Fixed error on adding an edge without having created the nodes it should be connected to (in the case of dynamic smooth curves).
  252. ## 2014-07-22, version 3.1.0
  253. ### General
  254. - Refactored the code to commonjs modules, which are browserifyable. This allows
  255. to create custom builds.
  256. ### Timeline
  257. - Implemented function `getVisibleItems()`, which returns the items visible
  258. in the current window.
  259. - Added options `margin.item.horizontal` and `margin.item.vertical`, which
  260. allows to specify different margins horizontally/vertically.
  261. - Removed check for number of arguments in callbacks `onAdd`, `onUpdate`,
  262. `onRemove`, and `onMove`.
  263. - Fixed items in groups sometimes being displayed but not positioned correctly.
  264. - Fixed range where the `end` of the first is equal to the `start` of the second
  265. sometimes being stacked instead of put besides each other when `item.margin=0`
  266. due to round-off errors.
  267. ### Network (formerly named Graph)
  268. - Expanded smoothCurves options for improved support for large clusters.
  269. - Added multiple types of smoothCurve drawing for greatly improved performance.
  270. - Option for inherited edge colors from connected nodes.
  271. - Option to disable the drawing of nodes or edges on drag.
  272. - Fixed support nodes not being cleaned up if edges are removed.
  273. - Improved edge selection detection for long smooth curves.
  274. - Fixed dot radius bug.
  275. - Updated max velocity of nodes to three times it's original value.
  276. - Made "stabilized" event fire every time the network stabilizes.
  277. - Fixed drift in dragging nodes while zooming.
  278. - Fixed recursively constructing of hierarchical layouts.
  279. - Added borderWidth option for nodes.
  280. - Implemented new Hierarchical view solver.
  281. - Fixed an issue with selecting nodes when the web page is scrolled down.
  282. - Added Gephi JSON parser
  283. - Added Neighbour Highlight example
  284. - Added Import From Gephi example
  285. - Enabled color parsing for nodes when supplied with rgb(xxx,xxx,xxx) value.
  286. ### DataSet
  287. - Added .get() returnType option to return as JSON object, Array or Google
  288. DataTable.
  289. ## 2014-07-07, version 3.0.0
  290. ### Timeline
  291. - Implemented support for displaying a `title` for both items and groups.
  292. - Fixed auto detected item type being preferred over the global item `type`.
  293. - Throws an error when constructing without new keyword.
  294. - Removed the 'rangeoverflow' item type. Instead, one can use a regular range
  295. and change css styling of the item contents to:
  296. .vis.timeline .item.range .content {
  297. overflow: visible;
  298. }
  299. - Fixed the height of background and foreground panels of groups.
  300. - Fixed ranges in the Timeline sometimes overlapping when dragging the Timeline.
  301. - Fixed `DataView` not working in Timeline.
  302. ### Network (formerly named Graph)
  303. - Renamed `Graph` to `Network` to prevent confusion with the visualizations
  304. `Graph2d` and `Graph3d`.
  305. - Renamed option `dragGraph` to `dragNetwork`.
  306. - Now throws an error when constructing without new keyword.
  307. - Added pull request from Vukk, user can now define the edge width multiplier
  308. when selected.
  309. - Fixed `graph.storePositions()`.
  310. - Extended Selection API with `selectNodes` and `selectEdges`, deprecating
  311. `setSelection`.
  312. - Fixed multiline labels.
  313. - Changed hierarchical physics solver and updated docs.
  314. ### Graph2d
  315. - Added first iteration of the Graph2d.
  316. ### Graph3d
  317. - Now throws an error when constructing without new keyword.
  318. ## 2014-06-19, version 2.0.0
  319. ### Timeline
  320. - Implemented function `destroy` to neatly cleanup a Timeline.
  321. - Implemented support for dragging the timeline contents vertically.
  322. - Implemented options `zoomable` and `moveable`.
  323. - Changed default value of option `showCurrentTime` to true.
  324. - Internal refactoring and simplification of the code.
  325. - Fixed property `className` of groups not being applied to related contents and
  326. background elements, and not being updated once applied.
  327. ### Graph
  328. - Reduced the timestep a little for smoother animations.
  329. - Fixed dataManipulation.initiallyVisible functionality (thanks theGrue).
  330. - Forced typecast of fontSize to Number.
  331. - Added editing of edges using the data manipulation toolkit.
  332. ### DataSet
  333. - Renamed option `convert` to `type`.
  334. ## 2014-06-06, version 1.1.0
  335. ### Timeline
  336. - Select event now triggers repeatedly when selecting an already selected item.
  337. - Renamed `Timeline.repaint()` to `Timeline.redraw()` to be consistent with
  338. the other visualisations of vis.js.
  339. - Fixed `Timeline.clear()` not resetting a configured `options.start` and
  340. `options.end`.
  341. ### Graph
  342. - Fixed error with zero nodes with hierarchical layout.
  343. - Added focusOnNode function.
  344. - Added hover option.
  345. - Added dragNodes option. Renamed movebale to dragGraph option.
  346. - Added hover events (hoverNode, blurNode).
  347. ### Graph3D
  348. - Ported Graph3D from Chap Links Library.
  349. ## 2014-05-28, version 1.0.2
  350. ### Timeline
  351. - Implemented option `minHeight`, similar to option `maxHeight`.
  352. - Implemented a method `clear([what])`, to clear items, groups, and configuration
  353. of a Timeline instance.
  354. - Added function `repaint()` to force a repaint of the Timeline.
  355. - Some tweaks in snapping dragged items to nice dates.
  356. - Made the instance of moment.js packaged with vis.js accessibly via `vis.moment`.
  357. - A newly created item is initialized with `end` property when option `type`
  358. is `"range"` or `"rangeoverflow"`.
  359. - Fixed a bug in replacing the DataSet of groups via `Timeline.setGroups(groups)`.
  360. - Fixed a bug when rendering the Timeline inside a hidden container.
  361. - Fixed axis scale being determined wrongly for a second Timeline in a single page.
  362. ### Graph
  363. - Added zoomable and moveable options.
  364. - Changes setOptions to avoid resetting view.
  365. - Interchanged canvasToDOM and DOMtoCanvas to correspond with the docs.
  366. ## 2014-05-09, version 1.0.1
  367. ### Timeline
  368. - Fixed width of items with type `rangeoverflow`.
  369. - Fixed a bug wrongly rendering invisible items after updating them.
  370. ### Graph
  371. - Added coordinate conversion from DOM to Canvas.
  372. - Fixed bug where the graph stopped animation after settling in playing with physics.
  373. - Fixed bug where hierarchical physics properties were not handled.
  374. - Added events for change of view and zooming.
  375. ## 2014-05-02, version 1.0.0
  376. ### Timeline
  377. - Large refactoring of the Timeline, simplifying the code.
  378. - Great performance improvements.
  379. - Improved layout of box-items inside groups.
  380. - Items can now be dragged from one group to another.
  381. - Implemented option `stack` to enable/disable stacking of items.
  382. - Implemented function `fit`, which sets the Timeline window such that it fits
  383. all items.
  384. - Option `editable` can now be used to enable/disable individual manipulation
  385. actions (`add`, `updateTime`, `updateGroup`, `remove`).
  386. - Function `setWindow` now accepts an object with properties `start` and `end`.
  387. - Fixed option `autoResize` forcing a repaint of the Timeline with every check
  388. rather than when the Timeline is actually resized.
  389. - Fixed `select` event fired repeatedly when clicking an empty place on the
  390. Timeline, deselecting selected items).
  391. - Fixed initial visible window in case items exceed `zoomMax`. Thanks @Remper.
  392. - Fixed an offset in newly created items when using groups.
  393. - Fixed height of a group not reckoning with the height of the group label.
  394. - Option `order` is now deprecated. This was needed for performance improvements.
  395. - More examples added.
  396. - Minor bug fixes.
  397. ### Graph
  398. - Added recalculate hierarchical layout to update node event.
  399. - Added arrowScaleFactor to scale the arrows on the edges.
  400. ### DataSet
  401. - A DataSet can now be constructed with initial data, like
  402. `new DataSet(data, options)`.
  403. ## 2014-04-18, version 0.7.4
  404. ### Graph
  405. - Fixed IE9 bug.
  406. - Style fixes.
  407. - Minor bug fixes.
  408. ## 2014-04-16, version 0.7.3
  409. ### Graph
  410. - Fixed color bug.
  411. - Added pull requests from kannonboy and vierja: tooltip styling, label fill
  412. color.
  413. ## 2014-04-09, version 0.7.2
  414. ### Graph
  415. - Fixed edge select bug.
  416. - Fixed zoom bug on empty initialization.
  417. ## 2014-03-27, version 0.7.1
  418. ### Graph
  419. - Fixed edge color bug.
  420. - Fixed select event bug.
  421. - Clarified docs, stressing importance of css inclusion for correct display of
  422. navigation an manipulation icons.
  423. - Improved and expanded playing with physics (configurePhysics option).
  424. - Added highlights to navigation icons if the corresponding key is pressed.
  425. - Added freezeForStabilization option to improve stabilization with cached
  426. positions.
  427. ## 2014-03-07, version 0.7.0
  428. ### Graph
  429. - Changed navigation CSS. Icons are now always correctly positioned.
  430. - Added stabilizationIterations option to graph.
  431. - Added storePosition() method to save the XY positions of nodes in the DataSet.
  432. - Separated allowedToMove into allowedToMoveX and allowedToMoveY. This is
  433. required for initializing nodes from hierarchical layouts after
  434. storePosition().
  435. - Added color options for the edges.
  436. ## 2014-03-06, version 0.6.1
  437. ### Graph
  438. - Bugfix graphviz examples.
  439. - Bugfix labels position for smooth curves.
  440. - Tweaked graphviz example physics.
  441. - Updated physics documentation to stress importance of configurePhysics.
  442. ### Timeline
  443. - Fixed a bug with options `margin.axis` and `margin.item` being ignored when
  444. setting them to zero.
  445. - Some clarifications in the documentation.
  446. ## 2014-03-05, version 0.6.0
  447. ### Graph
  448. - Added Physics Configuration option. This makes tweaking the physics system to
  449. suit your needs easier.
  450. - Click and doubleClick events.
  451. - Initial zoom bugfix.
  452. - Directions for Hierarchical layout.
  453. - Refactoring and bugfixes.
  454. ## 2014-02-20, version 0.5.1
  455. - Fixed broken bower module.
  456. ## 2014-02-20, version 0.5.0
  457. ### Timeline
  458. - Editable Items: drag items, add new items, update items, and remove items.
  459. - Implemented options `selectable`, `editable`.
  460. - Added events `timechange` and `timechanged` when dragging the custom time bar.
  461. - Multiple items can be selected using ctrl+click or shift+click.
  462. - Implemented functions `setWindow(start, end)` and `getWindow()`.
  463. - Fixed scroll to zoom not working on IE in standards mode.
  464. ### Graph
  465. - Editable nodes and edges: create, update, and remove them.
  466. - Support for smooth, curved edges (on by default).
  467. - Performance improvements.
  468. - Fixed scroll to zoom not working on IE in standards mode.
  469. - Added hierarchical layout option.
  470. - Overhauled physics system, now using Barnes-Hut simulation by default. Great
  471. performance gains.
  472. - Modified clustering system to give better results.
  473. - Adaptive performance system to increase visual performance (60fps target).
  474. ### DataSet
  475. - Renamed functions `subscribe` and `unsubscribe` to `on` and `off` respectively.
  476. ## 2014-01-31, version 0.4.0
  477. ### Timeline
  478. - Implemented functions `on` and `off` to create event listeners for events
  479. `rangechange`, `rangechanged`, and `select`.
  480. - Implemented function `select` to get and set the selected items.
  481. - Items can be selected by clicking them, muti-select by holding them.
  482. - Fixed non working `start` and `end` options.
  483. ### Graph
  484. - Fixed longstanding bug in the force calculation, increasing simulation
  485. stability and fluidity.
  486. - Reworked the calculation of the Graph, increasing performance for larger
  487. datasets (up to 10x!).
  488. - Support for automatic clustering in Graph to handle large (>50000) datasets
  489. without losing performance.
  490. - Added automatic initial zooming to Graph, to more easily view large amounts
  491. of data.
  492. - Added local declustering to Graph, freezing the simulation of nodes outside
  493. of the cluster.
  494. - Added support for key-bindings by including mouseTrap in Graph.
  495. - Added navigation controls.
  496. - Added keyboard navigation.
  497. - Implemented functions `on` and `off` to create event listeners for event
  498. `select`.
  499. ## 2014-01-14, version 0.3.0
  500. - Moved the generated library to folder `./dist`
  501. - Css stylesheet must be loaded explicitly now.
  502. - Implemented options `showCurrentTime` and `showCustomTime`. Thanks @fi0dor.
  503. - Implemented touch support for Timeline.
  504. - Fixed broken Timeline options `min` and `max`.
  505. - Fixed not being able to load vis.js in node.js.
  506. ## 2013-09-20, version 0.2.0
  507. - Implemented full touch support for Graph.
  508. - Fixed initial empty range in the Timeline in case of a single item.
  509. - Fixed field `className` not working for items.
  510. ## 2013-06-20, version 0.1.0
  511. - Added support for DataSet to Graph. Graph now uses an id based set of nodes
  512. and edges instead of a row based array internally. Methods getSelection and
  513. setSelection of Graph now accept a list with ids instead of rows.
  514. - Graph is now robust against edges pointing to non-existing nodes, which
  515. can occur easily while dynamically adding/removing nodes and edges.
  516. - Implemented basic support for groups in the Timeline.
  517. - Added documentation on DataSet and DataView.
  518. - Fixed selection of nodes in a Graph when the containing web page is scrolled.
  519. - Improved date conversion.
  520. - Renamed DataSet option `fieldTypes` to `convert`.
  521. - Renamed function `vis.util.cast` to `vis.util.convert`.
  522. ## 2013-06-07, version 0.0.9
  523. - First working version of the Graph imported from the old library.
  524. - Documentation added for both Timeline and Graph.
  525. ## 2013-05-03, version 0.0.8
  526. - Performance improvements: only visible items are rendered.
  527. - Minor bug fixes and improvements.
  528. ## 2013-04-25, version 0.0.7
  529. - Sanitized the published packages on npm and bower.
  530. ## 2013-04-25, version 0.0.6
  531. - Css is now packaged in the javascript file, and automatically loaded.
  532. - The library uses node style dependency management for modules now, used
  533. with Browserify.
  534. ## 2013-04-16, version 0.0.5
  535. - First working version of the Timeline.
  536. - Website created.