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.

795 lines
26 KiB

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