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.

852 lines
29 KiB

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