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.

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