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.

892 lines
31 KiB

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