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.

854 lines
29 KiB

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