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.

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