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.

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