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.

1870 lines
69 KiB

7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 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
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
9 years ago
9 years ago
9 years ago
10 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
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. ## 2017-07-01, version 4.20.1
  4. ### General
  5. - Added Release checklist
  6. - Added collapsible items for objects in graph3d doc
  7. ### Network
  8. - FIX #3203: Set dimensions properly of images on initialization
  9. - FIX #3170: Refactoring of Node Drawing
  10. - FIX #3108: Reverse nodes returned with 'from' and 'to' directions
  11. - FIX #3122: Refactored line drawing for Bezier edges
  12. - FIX #3121: Refactoring of `BezierEdgeStatic._getViaCoordinates()`
  13. - FIX #3088: Consolidate code for determining the pixel ratio
  14. - FIX #3036: Smooth type 'dynamic' adjusted for node-specific option in hierarchical
  15. - FIX #1105: Fix usage of clustering with hierarchical networks
  16. - FIX #3133: Protect Network from zero and negative mass values
  17. - FIX #3163: Prevent crashes from invalid id's in `Clustering.findNode()`
  18. - FIX #3106: Ensure start and end of stabilization progress events is sent
  19. - FIX #3015: Properly handle newline escape sequences in strings for DOT
  20. - FIX: Refactoring of LayoutEngine (#3110)
  21. - FIX #2990: Edge labels turn bold on select and hover
  22. - FIX #2959: Changed order of (de)select events for network
  23. - FIX #3091: Added param 'direction' to Network.getConnectedNodes()
  24. - FIX #3085: Add prefix to cancelAnimationFrame()
  25. ### Graph3D
  26. - FIX #3198: Small fix on ref usage in DataGroup
  27. - FIX #2804: Add data group class to Graph3d
  28. ### Timeline
  29. - FIX #3172: Fix stacking when setting option
  30. - FIX #3183: Fixes a race condition that set an item's group to be set to undefined
  31. - FEAT #3154: Caching to Range getMillisecondsPerPixel function
  32. - FIX #3105: Adjusting timeline TimeStep.roundToMinor
  33. - FEAT #3107: Allow overriding `align` per item
  34. ## 2017-05-21, version 4.20.0
  35. ### General
  36. - FIX #2934: Replacing all ES6 imports with CJS require calls (#3063)
  37. - Add command line options to mocha for running tests (#3064)
  38. - Added documentation on how labels are used (#2873)
  39. - FIX: Fix typo in PR template (#2908)
  40. - FIX #2912: updated moment.js (#2925)
  41. - Added @wimrijnders to the support team (#2886)
  42. ### Network
  43. - FIX: Fixes for loading images into image nodes (#2964)
  44. - FIX #3025: Added check on mission var 'options', refactoring. (#3055)
  45. - FIX #3057: Use get() to get data from DataSet/View instead of directly accessing member \_data. (#3069)
  46. - FIX #3065: Avoid overriding standard context method ellipse() (#3072)
  47. - FIX #2922: bold label for selected ShapeBase classes (#2924)
  48. - FIX #2952: Pre-render node images for interpolation (#3010)
  49. - FIX #1735: Fix for exploding directed network, first working version; refactored hierarchical state in LayoutEngine.(#3017)
  50. - Refactoring of Label.propagateFonts() (#3052)
  51. - FIX #2894: Set CircleImageBase.imageObjAlt always when options change (#3053)
  52. - FIX #3047: Label.getFormattingValues() fix option fallback to main font for mod-fonts (#3054)
  53. - FIX #2938: Fix handling of node id's in saveAndLoad example (#2943)
  54. - FIX: Refactoring in Canvas.js (#3030)
  55. - FIX #2968: Fix placement label for dot shape (#3018)
  56. - FIX #2994: select edge with id zero (#2996)
  57. - FIX #1847, #2436: Network: use separate refresh indicator in NodeBase, instead of width… (#2885)
  58. - Fix #2914: Use option edges.chosen if present in global options (#2917)
  59. - FIX #2940: Gephi consolidate double assignment of node title (#2962)
  60. - FIX 2936: Fix check for nodes not present in EdgesHandler (#2963)
  61. - FEAT: Reduce the time-complexity of the network initial positioning (#2759)
  62. ### Timeline / Graph2D
  63. - FEAT: Add support for multiple class names in utils add/remove class methods (#3079)
  64. - FEAT: Adds 'showTooltips' option to override popups displayed for items with titles (#3046)
  65. - FIX #2818: LineGraph: Add an existingItemsMap to check if items are new or not before skipping (#3075)
  66. - FEAT #2835: Improve timeline stack performance (#2848, #3078)
  67. - FIX #3032: mouseup and mousedown events (#3059)
  68. - FIX #2421: Fix click and doubleclick events on items (#2988)
  69. - FEAT #1405, #1715, #3002: Implementation of a week scale feature (#3009)
  70. - FIX #397: Eliminate repeatedly fired `rangechanged` events on mousewheel (#2989)
  71. - FIX #2939: Add check for parent existence when changing group in Item.setData (#2985)
  72. - FIX #2877: Add check for empty groupIds array and get full list from data set (#2986)
  73. - FIX #2614: Timeline docs border overlaps (#2992)
  74. - FIX: Doubleclick add (#2987)
  75. - FIX #2679: Cannot read property 'hasOwnProperty' of null (#2973)
  76. - FEAT #2863: Drag and drop custom fields (#2872)
  77. - FEAT #2834: Control over the drop event (#2974)
  78. - FIX #2918: Remove usages of elementsCensor (#2947)
  79. - FEAT #2948: Rolling mode offset (#2950)
  80. - FEAT #2805: Add callback functions to moveTo, zoomIn, zoomOut and setWindow (#2870)
  81. - FIX: Do not corrupt class names at high zoom levels (#2909)
  82. - FIX #2888: Fix error in class names (#2911)
  83. - FIX #2835: Visible items bug (#2878)
  84. ### Graph3D
  85. - FEAT: Configurable minimum and maximum sizes for dot-size graphs (#2849)
  86. ## 2017-03-19, version 4.19.1
  87. ### General
  88. * FIX: #2685 Fixed babel dependencies (#2875)
  89. ### Timeline / Graph2D
  90. * FIX #2809: Fix docs typo in "showNested" (#2879)
  91. * FIX #2594: Fixes for removing and adding items to subgroups (#2821)
  92. * FIX: Allow nested groups to be removed (#2852)
  93. ## 2017-03-18, version 4.19.0
  94. ### General
  95. - FIX: Fix eslint problem on Travis. (#2744)
  96. - added support for eslint (#2695)
  97. - Trivial typo fix in how_to_help doc. (#2714)
  98. - add link to a mentioned example (#2709)
  99. - FEAT: use babel preset2015 for custom builds (#2678)
  100. - FIX: use babel version compatible with webpack@1.14 (#2693)
  101. - FEAT: run mocha tests in travis ci (#2687)
  102. - Add note that PRs should be submitted against the `develop` branch (#2623)
  103. - FIX: Fixes instanceof Object statements for objects from other windows and iFrames. (#2631)
  104. - removed google-analytics from all examples (#2670)
  105. - do not ignore test folder (#2648)
  106. - updated dependencies and devDependencies (#2649)
  107. - general improvements (#2652)
  108. ### Network
  109. - FEAT: Improve the performance of the network layout engine (#2729)
  110. - FEAT: Allow for image nodes to have a selected or broken image (#2601)
  111. ### Timeline / Graph2D
  112. - FIX #2842: Prevent redirect to blank after drag and drop in FF (#2871)
  113. - FIX #2810: Nested groups do not use "groupOrder" (#2817)
  114. - FIX #2795: fix date for custom format function (#2826)
  115. - FIX #2689: Add animation options for zoomIn/zoomOut funtions (#2830)
  116. - FIX #2800: Removed all "Object.assign" from examples (#2829)
  117. - FIX #2725: Background items positioning when orientation: top (#2831)
  118. - FEAT: Added data as argument to the template function (#2802)
  119. - FIX #2827: Update "progress bar" example to reflect values (#2828)
  120. - FIX #2672: Item events original event (#2704)
  121. - FIX #2696: Update serialization example to use ISOString dates (#2789)
  122. - FIX #2790: Update examples to use ISOString format (#2791)
  123. - FEAT: Added support to supply an end-time to bar charts to have them scale (#2760)
  124. - FIX #1982, #1417: Modify redraw logic to treat scroll as needing restack (#2774)
  125. - FEAT: Initial tests for timeline ItemSet (#2750)
  126. - FIX #2720: Problems with option editable (#2743, #2796, #2806)
  127. - FIX: Range.js "event" is undeclared (#2749)
  128. - FEAT: added new locales for french and espanol (#2723)
  129. - FIX: fixes timestep next issue (#2732)
  130. - FEAT: #2647 Dynamic rolling mode option (#2705)
  131. - FIX #2679: TypeError: Cannot read property 'hasOwnProperty' of null (#2735)
  132. - Add initial tests for Timeline PointItem (#2716)
  133. - FIX #778: Tooltip does not work with background items in timeline (#2703)
  134. - FIX #2598: Flickering onUpdateTimeTooltip (#2702)
  135. - FEAT: refactor tooltip to only use one dom-element (#2662)
  136. - FEAT: Change setCustomTimeTitle title parameter to be a string or a function (#2611)
  137. ### Graph3D
  138. - FEAT #2769: Graph3d tooltip styling (#2780)
  139. - FEAT #2540: Adjusted graph3d doc for autoscaling (#2812)
  140. - FIX #2536: 3d bar graph data array unsorted (#2803)
  141. - FEAT: Added showX(YZ)Axis options to Graph3d (#2686)
  142. ## 2017-01-29, version 4.18.1
  143. ### General
  144. - updated dependencies
  145. - FIX: moved babel plugins from devDependencies to dependencies (#2629)
  146. ### Network
  147. - FIX #2604: Handle label composition for long words (#2650)
  148. - FIX #2640: Network manipulation styles together with Bootstrap styles (#2654)
  149. - FIX #2494: Fix tree collision in hierarchical layout (#2625)
  150. - FIX #2589: Vertically center label in network circle node (#2593)
  151. - FIX #2591: Self reference edge should now appear in all cases (#2595)
  152. - FIX #2613: Fixed return value for zoom in/out callback (#2615)
  153. - FIX #2609: Values should be passed to check values.borderDashes (#2599)
  154. ### Timeline / Graph2D
  155. - FIX: Fixed htmlContents example (#2651)
  156. - FIX #2590: Min zoom bug (#2646)
  157. - FIX #2597: Zoom while dragging (#2645)
  158. - FIX: Minor cleanups in Timeline Range. (#2633)
  159. - FIX #2458: Allow graph2D options to be undefined (#2634)
  160. - FIX: Fix typo (#2622)
  161. - FIX #2585: Fixed React example (#2587)
  162. ## 2017-01-15, version 4.18.0
  163. ### General
  164. - Readme improvements (#2520)
  165. - Babel updates and fixes (#2466, #2513, #2566)
  166. - Removed dist folder from the develop-branch (#2497)
  167. - updated and cleaned-up npm dependencies (#2518, #2406)
  168. - FEAT: Added CodeClimate tests (#2411)
  169. - FEAT: Added initial Travis-CI support: https://travis-ci.org/almende/vis (#2550)
  170. - FIX #2500: Replace { bool } with { boolean: bool } (#2501, #2506, #2581)
  171. - FIX #2445: Fix YUI Compressor incompatibilities (#2452)
  172. - FIX #2402: make sure a given element isn’t undefined before accessing properties (#2403)
  173. - FIX #2560: IE11 issue 'Symbol' is undefined with babel-polyfill (#2566)
  174. - FIX #2490: Don't pass non-string values to Date.parse (#2534)
  175. ### DataSet
  176. - FIX: Removed event oldData items (#2535)
  177. - FIX #2528: Fixed deleting item with id 0 (#2530)
  178. ### Network
  179. - FIX #1911: Fix missing blur edge event (#2554)
  180. - FIX #2478: Fix tooltip issue causing exception when node becomes cluster (#2555)
  181. - FEAT: Change styles if element is selected (#2446)
  182. - FEAT #2306: Add example for network onLoad animation. (#2476)
  183. - FEAT #1845: Adding example of cursor change (#2463)
  184. - FEAT #1603 #1628 #1936 #2298 #2384: Font styles, width and height of network nodes (#2385)
  185. - FEAT: Add pointer position to zoom event (#2377)
  186. - FEAT #1653 #2342: label margins for box, circle, database, icon and text nodes. (#2343)
  187. - FEAT #2233 #2068 #1756: Edit edge without endpoint dragging, and pass label in data (#2329)
  188. ### Timeline / Graph2D
  189. - FIX: #2522 Right button while dragging item makes items uneditable (#2582)
  190. - FIX #2538: Major axis labels displaying wrong value (#2551)
  191. - FEAT #2516: Added followMouse & overflowMethod to tooltip options (#2544)
  192. - FIX: Fixed tool-tip surviving after item deleted (#2545)
  193. - FIX #2515: Fixed hover events for HTML elements (#2539)
  194. - FIX: Timeline.setGroups for Array (#2529)
  195. - FIX: Error in React example when adding a ranged item (#2521)
  196. - FEAT #226 #2421 #2429: Added mouse events for the timeline (#2473)
  197. - FEAT #497: new stackSubgroups option (#2519, #2527)
  198. - FEAT #338: Added HTML tool-tip support (#2498)
  199. - FIX #2511: readded throttleRedraw option; added DEPRECATED warning (#2514)
  200. - FEAT #2300: Added nested groups (#2416)
  201. - FEAT #2464: Add template support for minor/major labels (#2493)
  202. - FIX #2379: Fix initial drag (#2474)
  203. - FIX #2102: Fix error on click for graph2D when no data is provided (#2472)
  204. - FIX #2469: Fix graph2D render issue (#2470)
  205. - FIX #1126: Add visibleFrameTemplate option for higher item dom content (#2437)
  206. - FIX #2467: Fix Range ctor with optional options parameter (#2468)
  207. - FEAT #1746: Rolling mode (#2439, #2486)
  208. - FIX #2422: Timeline onMove callback (#2427)
  209. - FIX #2370: IE10 drag-and-drop support (#2426)
  210. - FIX #1906: Pass through original hammer.js events (#2420)
  211. - FIX #2327: Add support to fixed times drag and drop (#2372)
  212. - FIX: \_origRedraw sometimes undefined (#2399)
  213. - FIX #2367 #2328: Group editable bug (#2368)
  214. - FIX #2336: Mouse wheel problem on custom time element (#2366)
  215. - FIX #2307: Timeline async initial redraw bug (#2386)
  216. - FIX #2312: Vertical scroll bug with groups and fixed height (#2363)
  217. - FIX #2333: Scrollbar width on browser zoom (#2344)
  218. - Fixed #2319: Bug in TimeStep.prototype.getClassName (#2335)
  219. - FEAT #257: Added option to change the visibility of a group (#2315)
  220. - FEAT: More editable control of timeline items (#2305)
  221. - FIX #2273: Cannot scroll page when zoomKey is enabled (#2301)
  222. - FIX #2295, 2263: Issues with vertical scroll and maxHeight (#2302)
  223. - FIX #2285: onUpdate event (#2304)
  224. - FIX: Timeline-docs: updated group.content description to show that it can be an element (#2296)
  225. - FIX #2251: No axis after daylight saving (#2290)
  226. - FEAT #2256: Timeline editable can override items (#2284)
  227. - FEAT: Graph2d performance enhancement (#2281)
  228. ### Graph3D
  229. - FEAT #2451: Allow pass the color of points in 'dot-color' mode of Graph3D (#2489)
  230. - FEAT: Improvement for camera 3d moving (#2340)
  231. - FEAT: Add ability to move graph3d by left mouse button while pressing ctrl key and rotate like before (#2357)
  232. - FIX: Fixed label disappearing bug for large axis values in graph3d (#2348)
  233. - FIX: Fixed Grpah3D-docs: Changed "an" to "and" in graph3D docs (#2313)
  234. - FIX #2274: Graph3d disappears when setSize is called (#2293)
  235. - FIX: Fixed typo in index.html of Graph3D (#2286)
  236. ## 2016-11-05, version 4.17.0
  237. ### General
  238. - Generate source-maps in develop-branch (#2246)
  239. - Implemented #2181: Ignore the "dist" folder in the develop-branch (#2245)
  240. - Updates DataSet and DataView remove event payload (#2189, #2264)
  241. - Added a Gitter chat badge to README.md (#2179)
  242. - Adds `oldData` to the update event payload in DataView (#2174)
  243. - Prevent moment.js deprecation warning (#2089)
  244. - Fixed #2170: Improved the contribution docs (#1991, #2158, #2178, #2183, #2213, #2218, #2219)
  245. - Implemented #1969: generate individual css files for network and timeline (#1970)
  246. - Cleanup bower.json (#1968)
  247. - Fixed #2114: Removed feature-request page from website
  248. - Distinguish better between `devDependencies` and `dependencies` (#1967)
  249. - Typos and minor docs improvements (#1958, #2028, #2050, #2093, #2222, #2223, #2224)
  250. - Replaced `gulp-minify-css` with `gulp-clean-css` (#1953)
  251. ### Network
  252. - Fixed HTML in nodes example to work in Safari (#2248, #2260)
  253. - Fixed #2100: "zoom" improvements; `clusterByConnection` bugfix (#2229)
  254. - Implemented #2073: New example to export/import current network as JSON (#2152)
  255. - Fixed #1718, #2122: Fix blur edge for dense networks (#2124)
  256. - Russian, Italian, Brazilian Portuguese locale (#2111, #2184, #2188, #2052)
  257. - Implemented #1993: edge-endpoint 'circle' (#2066)
  258. - Implemented #972, #1920: advanced Clustering (#2055)
  259. - Removed restriction to allow clusters of a single node. (#2013)
  260. - Improved label positioning in ellipses (#2011)
  261. - Fixed #1857: Fixed node positioning with improved Layout:true (#1987)
  262. - Fixed issue with selecting edges drawn close to another (#1922)
  263. - Fixed getPoint for same node edges (#1907)
  264. ### Timeline / Graph2D
  265. - Fixed #2261: Bugs with mousewheel events (#2262)
  266. - Implemented #1506: Date-Time-Tooltip while item dragging (#2247)
  267. - Fixed background items with no groups (#2241)
  268. - Fixed #2015: Fixes and improvements for data-serialization (#2244)
  269. - Implemented #1881: Drag and Drop into a timeline (#2238)
  270. - Implemented #1955: Added zoomIn and zoomOut functions (#2239)
  271. - Implemented #2027: Auto-detect Right-To-Left orientation from DOM attributes (#2235, #2237)
  272. - German locale (#2234)
  273. - Option `zoomKey` added for mouse wheel support (#2197, #2216, #2217)
  274. - Implements #2193: Horizontal scrollbar (#2201)
  275. - Implements #272, #466, #1060: Vertical scrollbar (#2196, #2197, #2228, #2231)
  276. - Fixed #2173: Italian locale (#2185)
  277. - Example for react.js support (#2153, #2206, #2211)
  278. - Allow custom label formatting via functions (#1098, #2145)
  279. - Fix Vertical visibility for all item types (#2143)
  280. - Fixed #2057: Right-To-Left orientation docs (#2141)
  281. - Small bugfix to prevent null pointer exception (#2116)
  282. - Add missing require for util module (#2109)
  283. - Fixed #2092: Gaps between timeline items (#2107)
  284. - Fixed #2064: Fixed position of box item (#2106)
  285. - Implemented #773, #1367: `itemover` and `itemout` events (#2099)
  286. - Fixed #27023: Use `requestAnimationFrame` to throttle redraws ()#2091)
  287. - Hide vertically hidden ranged items in groups that are not visible (#2062)
  288. - Fixed #2032: fixes BoxItem's initial width if content width is dynamic (#2035)
  289. - Use css styles instead of delete image (#2034)
  290. - Implemented #2014: weekday marks in other zoomlevel (#2016)
  291. - Fixed #1625: only use `shape.radius` if available (#2005)
  292. - Fixed incorrect documentation URL (#1998)
  293. - Added example for zoom functions (#1986)
  294. - Fixed #1156: Vertical scrolling when dragging (#1976)
  295. - Minor fix in docs (#1972)
  296. - Fixed handlebars example (#1946)
  297. - Fixed #1723: Problems in the time axis bar if using `hiddenDates` (#1944)
  298. - Timestep setMoment fix (#1932)
  299. - Fixed #1853: Content overflow (#1862)
  300. - Bugfix (#1822)
  301. - Fix right orientation axis for Graph2D (f516cb0)
  302. ### Graph3D
  303. - Minor improvements and major source restructuring (#2157, #2159, #2160, #2162, #2165, #2166, #2167, #2168, #2171, #2175, #2176, #2182, #2195, #2199, #2200, #2202, #2204, #2208, #2209, #2210, #2212, #2214, #2215, #2227, #2230)
  304. - Improvements for graph3d legend support (#1940)
  305. - Advanced Tooltips (#1884)
  306. ## 2016-04-18, version 4.16.1
  307. ### Timeline
  308. - Fixed #1786: Timeline having zero height on Internet Explorer, regression
  309. introduced after fixing #1697.
  310. ## 2016-04-07, version 4.16.0
  311. ### Timeline
  312. - Implemented rtl support. Thanks @yotamberk.
  313. - Fixed #1697: Timeline not drawn when used within the Angular.js directive.
  314. - Fixed #1774: Wrong initial scale when Timeline contains a single item.
  315. ### General
  316. - Created bundles for individual visualizations: `vis-graph3d.min.js`,
  317. `vis-network.min.js`, and `vis-timeline-graph2d.min.js`.
  318. ## 2016-03-08, version 4.15.1
  319. ## General
  320. - Updated all dependencies.
  321. ### Graph2d
  322. - Fixed #1455: allow vertical panning of the web page on touch devices.
  323. - Fixed #1692: Error when y-axis values are equal.
  324. ### Timeline
  325. - Fixed #1455: allow vertical panning of the web page on touch devices.
  326. - Fixed #1695: Item line and dot not correctly reckoning with the line width
  327. when using left or right align.
  328. - Fixed #1697: Timeline not drawn when used within the Angular.js directive.
  329. ## 2016-02-23, version 4.15.0
  330. ### Timeline
  331. - Implemented `currentTimeTick` event (see #1683).
  332. - Fixed #1630: method `getItemRange` missing in docs.
  333. ### Graph2d
  334. - Fixed #1630: method `getDataRange` was wrongly called `getItemRange` in docs.
  335. - Fixed #1655: use parseFloat instead of Number.parseFloat, as the latter is
  336. not supported in IE. Thanks @ttjoseph.
  337. ### Graph3d
  338. - Changed the built-in tooltip to show the provided `xLabel`, `yLabel`, and
  339. `zLabel` instead of `'x'`, `'y'`, and `'z'`. Thanks @jacklightbody.
  340. ### Network
  341. - Implemented interpolation option for interpolation of images, default true.
  342. - Implemented parentCentralization option for hierarchical layout.
  343. - Fixed #1635: edges are now referring to the correct points.
  344. - Fixed #1644, #1631: overlapping nodes in hierarchical layout should no longer occur.
  345. - Fixed #1575: fixed selection events
  346. - Fixed #1677: updating groups through manipulation now works as it should.
  347. - Fixed #1672: Implemented stepped scaling for nice interpolation of images.
  348. ## 2016-02-04, version 4.14.0
  349. ### Timeline
  350. - Fixed a regression: Timeline/Graph2d constructor throwing an exception when
  351. no options are provided via the constructor.
  352. ### Graph2d
  353. - Fixed a regression: Timeline/Graph2d constructor throwing an exception when
  354. no options are provided via the constructor.
  355. ### Graph3d
  356. - Fixed #1615: implemented new option `dotSizeRatio`.
  357. ## 2016-02-01, version 4.13.0
  358. ### Network
  359. - Added options to customize the hierarchical layout without the use of physics.
  360. - Altered edges for arrows and added the arrowStrikethrough option.
  361. - Improved the hierarchical layout algorithm by adding a condensing method to remove whitespace.
  362. - Fixed #1556: Network throwing an error when clicking the "Edit" button
  363. on the manipulation toolbar.
  364. - Fixed #1334 (again): Network now ignores scroll when interaction:zoomView is false.
  365. - Fixed #1588: destroy now unsubscribed from the dataset.
  366. - Fixed #1584: Navigation buttons broken.
  367. - Fixed #1596: correct clean up of manipulation dom elements.
  368. - Fixed #1594: bug in hierarchical layout.
  369. - Fixed #1597: Allow zero borders and addressed scaling artifacts.
  370. - Fixed #1608: Fixed wrong variable reference
  371. ### Timeline
  372. - Moved initial autoscale/fit method to an handler of the "changed" event.
  373. - Fixed #1580: Invisible timeline/graph should not be drawn, as most inputs are invalid
  374. - Fixed #1521: Prevent items from staying stuck to the left side of the viewport.
  375. - Fixed #1592: Emit a "changed" event after each redraw.
  376. - Fixed #1541: Timeline and Graph2d did not load synchronously anymore.
  377. ### Graph2d
  378. - Major redesign of data axis/scales, with large focus on creating a sane slave axis setup
  379. - Cleanup of linegraph's event handling.
  380. - Fixed #1585: Allow bar groups to exclude from stacking
  381. - Fixed #1580: Invisible timeline/graph should not be drawn, as most inputs are invalid
  382. - Fixed #1177: Fix custom range of slaved right axis.
  383. - Fixed #1592: Emit a "changed" event after each redraw.
  384. - Fixed #1017: Fixed minWidth behavior for bars.
  385. - Fixes #1557: Fix default axis formatting function.
  386. - Fixed #1541: Timeline and Graph2d did not load synchronously anymore.
  387. - Fixed a performance regression
  388. ## 2016-01-08, version 4.12.0
  389. ### Timeline
  390. - Fixed #1527: error when creating/updating a Timeline without data.
  391. - Fixed #1127: `doubleClick` event not being fired.
  392. - Fixed #1554: wrong cursor on readonly range items.
  393. ### Network
  394. - Fixed #1531, #1335: border distances for arrow positioning
  395. - Fixed findNode method. It now does not return internal objects anymore.
  396. - Fixed #1529, clustering and declustering now respects the original settings of the edges for physics and hidden.
  397. - Fixed #1406, control nodes are now drawn immediately without a second redraw.
  398. - Fixed #1404, made the array returned by findNode match the docs.
  399. - Added #1138, enable the user to define the color of the shadows for nodes and edges.
  400. - Fixed #1528, #1278, avoided ID's being cast to string for methods that return ID's as well as storePositions casting to string.
  401. - Fixed upscaling when the window size increases.
  402. - Accepted pull request #1544, thanks @felixhayashi!
  403. - Fixed documented bug in #1544.
  404. ## 2015-12-18, version 4.11.0
  405. ### Network
  406. - Expose `setSelection` method. Thanks @zefrog.
  407. ### Timeline
  408. - Fixed #1441: Height of subgroups not immediately updated after updating
  409. data in a DataSet or DataView.
  410. - Fixed #1491: Problem using ctrl+drag in combination with using a `DataView`,
  411. and an issue with ctrl+drag when using `snap: null`.
  412. - Fixed #1486: Item range sometimes wrongly calculated on IE in case of old dates.
  413. - Fixed #1523: end of data range wrongly determined.
  414. ### Graph2d
  415. - Large refactoring of Graph2d code base:
  416. - Implemented a new option for `shaded.orientation` to always shade towards zero.
  417. - Implemented a new option for `shaded.orientation` to follow another group (fill in between)
  418. - Implemented line-graph stacking
  419. - Fixed support for using a `DataView` in Graph2d.
  420. - Implemented a new zindex option for controlling svg rendering order.
  421. - Performance updates and fixes
  422. ### DataSet
  423. - Fixed #1487: DataSet cannot remove an item with id `0` correctly.
  424. ### DataView
  425. - Added the map() function from DataSet.
  426. ## 2015-11-27, version 4.10.0
  427. ### General
  428. - Fixed #1353: Custom bundling with browserify requiring manual installation
  429. of `babelify`.
  430. ### Network
  431. - Implemented new method `setSelection({nodes:[...], edges: [...]})`.
  432. Thanks @zefrog.
  433. - Fixed #1343: Connected edges are now deselected too when deselecting a node.
  434. - Fixed #1398: Support nodes start with the correct positions.
  435. - Fixed #1324: Labels now scale again.
  436. - Fixed #1362: Layout of hierarchicaly systems no longer overlaps NODES.
  437. - Fixed #1414: Fixed color references for nodes and edges.
  438. - Fixed #1408: Unclustering without release function respects fixed positions now.
  439. - Fixed #1358: Fixed example for clustering on zoom.
  440. - Fixed #1416: Fixed error in improvedLayout.
  441. - Improvements on hierarchical layout.
  442. ### Timeline
  443. - Implemented option `itemsAlwaysDraggable`, See #1395. Thanks @liuqingc.
  444. - Implemented option `multiselectPerGroup`. Thanks @hansmaulwurf23.
  445. - Implemented property `oldData` on change events of the DataSet, and
  446. deprecated the `data` property which wrongly contained new data instead of
  447. old data. Thanks @hansmaulwurf23.
  448. - Implemented option `maxMinorChars` to customize the width of the grid.
  449. - Expose `vis.timeline.Core` for customization purposes.
  450. - Fixed #1449, #1393: text of minor grids sometimes not being drawn.
  451. ### Graph2d
  452. - Fixed #1385: Draw lines on top of bars.
  453. - Fixed #1461 and #1345: Reset order of SVG elements in legend icons.
  454. ### DataSet/DataView
  455. - Performance improvements (see #1381). Thanks @phimimms.
  456. ## 2015-10-01, version 4.9.0
  457. ### Network
  458. - Fixed bug where an edge that was not connected would crash the layout algorithms.
  459. - Fixed bug where a box shape could not be drawn outside of the viewable area.
  460. - Fixed bug where dragging a node that is not a control node during edit edge mode would throw an error.
  461. - Made auto scaling on container size change pick the lowest between delta height and delta width.
  462. - Added images with borders option (useBorderWithImage)
  463. - Updated the manipulation css to fix offset if there is no separator.
  464. ### Timeline
  465. - Fixed #1326: wrongly positioned dot of PointItems.
  466. - Fixed #1249: option `hiddenDates` not accepting a single hidden date.
  467. - Fixed a bug when pinching and using hidden dates. Thanks @lauzierj.
  468. ## 2015-09-14, version 4.8.2
  469. ### Network
  470. - Fixed Phantom Edges during clustering.
  471. - Fixed scaling not doing anything to edges.
  472. - Fixed setting font to null so the network won't crash anymore.
  473. - Fixed stabilized event not firing if layout algorithm does very well.
  474. - Fixed arrows with some shapes when they are selected. #1292
  475. - Fixed deletion of options by settings them to null.
  476. ## 2015-09-07, version 4.8.1
  477. ### Network
  478. - Added German (de) locale. Thanks @Tooa.
  479. - Fixed critical camera zoom bug #1273.
  480. - Fixed unselectAll method. #1256
  481. - Fixed bug that broke the network if drawn in a hidden div #1254
  482. ### Timeline
  483. - Fixed #1215: inconsistent types of properties `start` and `end` in callback
  484. functions `onMove`, `onMoving`, `onAdd`.
  485. ## 2015-08-28, version 4.8.0
  486. ### Timeline
  487. - Implemented reordering groups by dragging them vertically. Thanks @hansmaulwurf23.
  488. ### Network
  489. - Added Spanish (es) locale. Thanks @gomezgoiri.
  490. - Added support for labels in edges and titles for both nodes and edges during gephi import.
  491. - Added KamadaKawai layout engine for improved initial layout.
  492. - Added Adaptive timestep to the physics solvers for increased performance during stabilization.
  493. - Added improvedLayout as experimental option for greatly improved stabilization times.
  494. - Added adaptiveTimestep as experimental option for greatly improved stabilization times.
  495. - Added support for Gephi directed edges, edge labels and titles.
  496. - Improved the positioning and CSS of the configurator and the color picker.
  497. - Greatly improved performance in clustering.
  498. - Made the network keep its 'view' during a change of the size of the container.
  499. - Fixed #1152, updating images now works.
  500. - Fixed cleaning up of nodes.
  501. - Fixed dynamic updating of label properties.
  502. - Fixed bugs in clustering algorithm.
  503. - Fixed find node return types.
  504. - Fixed bug where stabilization iterations were counted double. If it looks like the stabilization is slower, its because it is doing twice the amount of steps it did before.
  505. - Fixed getPositions return values.
  506. ## Graph2d
  507. - Implemented configuration option `excludeFromLegend`. Thanks @Bernd0.
  508. ## 2015-07-27, version 4.7.0
  509. ### Timeline
  510. - Fixed #192: Items keep their group offset while dragging items located in
  511. multiple groups. Thanks @Fice.
  512. - Fixed #1118: since v4.6.0, grid of time axis was wrongly positioned on some
  513. scales.
  514. ### Network
  515. - Added moveNode method.
  516. - Added cubic Bezier curves.
  517. ## 2015-07-22, version 4.6.0
  518. ### Timeline
  519. - Implemented #24: support for custom timezones, see configuration option `moment`.
  520. ### Graph2d
  521. - Implemented #24: support for custom timezones, see configuration option `moment`.
  522. ### Network
  523. - Fixed #1111, check if edges exist was not correct on update.
  524. - Fixed #1112, network now works in firefox on unix again.
  525. - Added #931, borderRadius in shapeProperties for the box shape.
  526. - Added #936, useImageSize for images and circularImages
  527. ## 2015-07-20, version 4.5.1
  528. ### Network
  529. - Fixed another clustering bug, phantom edges should be gone now.
  530. - Fixed disabling hierarchical layout.
  531. - Fixed delete button when using multiple selected items in manipulation system.
  532. ## 2015-07-17, version 4.5.0
  533. ### General
  534. - Docs have been greatly improved thanks to @felixhayashi! Thanks a lot!
  535. ### Network
  536. - Added shapeProperties, thanks @zukomgwili!
  537. - Added configChange event.
  538. - Properly fixed the _lockedRedraw method.
  539. - Fixed node resizing on dragging.
  540. - Fixed missing edges during clustering.
  541. - Fixed missing refresh of node data when changing hierarchical layout on the fly.
  542. - Fixed hover and blur events for edges.
  543. ### Graph3d
  544. - Fixed not changing `backgroundColor` when not provided in options. Thanks @ozydingo.
  545. ### Timeline
  546. - Implemented support for group templates (#996). Thanks @hansmaulwurf23.
  547. - Implemented option `zoomKey` for both Timeline and Graph2d (see #1082).
  548. Thanks @hansmaulwurf23.
  549. - Fixed #1076: Fixed possible overlap of minor labels text on the TimeAxis.
  550. - Fixed #1001: First element of group style being cut.
  551. - Fixed #1071: HTML contents of a group not cleared when the contents is updated.
  552. - Fixed #1033: Moved item data not updated in DataSet when using an asynchronous
  553. `onMove` handler.
  554. - Fixed #239: Do not zoom/move the window when the mouse is on the left panel
  555. with group labels.
  556. ## 2015-07-03, version 4.4.0
  557. ### General
  558. - Documentation now has breadcrums. Thanks @felixhayashi!
  559. ### Graph3d
  560. - Fixed #970: Implemented options `dataColor`, `axisColor`, and `gridColor`.
  561. ### Network
  562. - Fixed Hammerjs direction issue.
  563. - Fixed recursion error when node is fixed but has no position.
  564. - Fixed accidental redrawing during stabilization.
  565. - Fixed delete callbacks with null argument not showing toolbar afterwards.
  566. - Added zoom events from keyboard and navigation buttons.
  567. - No longer start stabilization with an empty node set.
  568. - Fixed #974 connecting static smooth and straight edges.
  569. - Improved handling of empty image field.
  570. - Fixed #987 proper cleaning of support nodes.
  571. - Fixed static smooth edges not fully working from every angle.
  572. - Fixed updating bounding box of nodes without drawing.
  573. - Fixed #1036, bug in lockedRedraw. Thanks @vges!
  574. - Added getDataset to all manipulation functions. Thanks @ericvandever!
  575. - Fixed #1039, icon now returns correct distance to border
  576. - Added blurEdge and hoverEdge events.
  577. - Added labelHighlightBold option to edges and nodes.
  578. - Added getOptionsFromConfigurator method.
  579. - Fixed extra edges in clustering.
  580. - Fixed cleaning up of clustering edges on declustering.
  581. - Made fit() method only look at visible nodes to get the range.
  582. ### Graph2d
  583. - Made graph2d more robust against string values in the y position.
  584. - Fixed bug where 0 axis was always in the automatically fitted range.
  585. - Added drawPoints.onRender. Thanks @mschallar!
  586. ### Timeline
  587. - Fixed cleaning up of items in subgroups, thanks @ChenMachluf!
  588. - Improved error notification with groups, thanks @skinkie!
  589. ## 2015-06-16, version 4.3.0
  590. ### General
  591. - Fixed #950: option `locales` broken in `Timeline`, `Graph2d`, and `Network`.
  592. - Fixed #964: `Timeline`, `Graph2d`, and `Network` not working on IE9.
  593. ### Graph2d
  594. - Fixed #942, #966: bug when data is empty.
  595. ### Timeline
  596. - Implemented `editable` option for individual items. Thanks @danbertolini.
  597. ### Network
  598. - Fixed dragStart event to give the correct node information.
  599. ## 2015-06-05, version 4.2.0
  600. ### General
  601. - Fixed #893, #911: the `clickToUse` option of Network, Graph2d, and Network
  602. was blocking click events in the web page.
  603. ### Timeline
  604. - Added axis orientation option `'none'`.
  605. - Added a property `event` to the properties emitted with the `select` event (see #923).
  606. - Improved function `fit()` to take into account the actual width of items.
  607. - Fixed #897: Timeline option `{snap: null}` did give a validation error.
  608. - Fixed #925: Event `timechanged` did not fire when mouse has been moved outside
  609. the timeline.
  610. ### Graph2D
  611. - Fixed #892, addressed any case in validator.
  612. - Fixed #898, lines are not taken into account for stacking.
  613. ### Network
  614. - Improved robustness against people molesting the Function.prototype.bind()
  615. - Fixed few functions including storePositions().
  616. - Added beginnings of unit testing for network.
  617. - Fixed #904, correctly parsing global font options now.
  618. - Fixed dataView support for storePositions.
  619. - Second click on node is no longer unselect.
  620. - Added releaseFunction to openCluster.
  621. - Fixed bug where the network could flicker when the pixelRatio is not integer.
  622. - Added enabled property to physics.
  623. - Fixed #927, dragStart event didn't contain node that was being dragged
  624. ## 2015-05-28, version 4.1.0
  625. ### Network
  626. - Fixed #866, manipulation can now be set to false without crashing.
  627. - Fixed #860, edit node mode now works as it should.
  628. - Fixed #859, images now resize again when they are loaded.
  629. - Fixed dynamic edges not correctly handling non-existent nodes.
  630. - Accepted pull from @killerDJO for fixing selected and hover colors for edges.
  631. - Fixed bug with right mouse button, scroll center and popup positions using the wrong coordinates.
  632. - Fixed click to use.
  633. - Fixed getConnectedEdges method.
  634. - Fixed clustering bug.
  635. - Added getNodesInCluster method.
  636. - Renamed editNodeMode to editNode, editNodeMode now give a deprecation log message.
  637. - Added multiselect to the docs.
  638. - Removed deprecated dynamic entree, allow any smooth curve style for hierarchical layout.
  639. - Fixed bug with the moveTo and getViewPosition methods.
  640. - Fixed #861, brokenImage only working for one node if nodes have the same image.
  641. - Fixed hoverNode and blurNode events and added them to the docs.
  642. - Fixed #884, selectNode event.
  643. - Fixed dynamic setting hidden and physics.
  644. - Fixed edit node mode's fallback.
  645. ### Graph2d & Timeline
  646. - Fixed #858, #872, fixed usage of deprecated `unsubscribe` from DataSet.
  647. - Fixed #869: Add className with id to custom time bars
  648. - Fixed #877: Added support for metaKey to select multiple items.
  649. ## 2015-05-22, version 4.0.0
  650. ### General
  651. - Changed the build scripts to include a transpilation of ES6 to ES5
  652. (using http://babel.org), so we can use ES6 features in the vis.js code.
  653. When creating a custom bundle using browserify, one now needs to add a
  654. transform step using `babelify`, this is described in README.md.
  655. ### Timeline
  656. - Integrated an option configurator and validator.
  657. - Implemented option `multiselect`, which is false by default.
  658. - Added method `setData({groups: groups, items: items})`.
  659. - Fixed range items not being displayed smaller than 10 pixels (twice the
  660. padding). In order to have overflowing text, one should now apply css style
  661. `.vis.timeline .item.range { overflow: visible; }` instead of
  662. `.vis.timeline .item.range .content { overflow: visible; }`.
  663. See example 18_range_overflow.html.
  664. - Fixed invalid css names for time axis grid, renamed hours class names from
  665. `4-8h` to `h4-h8`.
  666. - Deprecated option `showCustomTime`. Use method `addCustomTime()` instead.
  667. - Deprecated event `finishedRedraw` as it's redundant.
  668. - Renamed option `animate` to `animation`, and changed it to be either a boolean
  669. or an object `{duration: number, easingFunction: string}`.
  670. - Fixed #831: items losing selection when their type changed.
  671. ### Graph2d
  672. - New option structure.
  673. - Cleaned up docs.
  674. - Fixed #628: stacking order.
  675. - Fixed #624: sorting order.
  676. - Fixed #616: stacking with negative bars.
  677. - Fixed #728: alignment issues.
  678. - Fixed #716: Height of graph `2px` too large when configuring a fixed height.
  679. ### Network
  680. The network has been completely rewritten. The new modular setup using ES6 classes makes
  681. it future proof for maintainability, extendability and clarity. A summary of new features:
  682. - New examples, categorized by topic.
  683. - New docs.
  684. - New option structure, adhering to the modular setup on the backend.
  685. - New events for user interaction.
  686. - New render events for drawing custom elements on the canvas.
  687. - New physics events for making a loading bar during stabilization.
  688. - A lot of new methods that make extending easier.
  689. - Manipulation system now works without the UI neccesarily.
  690. - Nodes and edges can cast shadows.
  691. - Configurator system to dynamically change almost all options.
  692. - Validator has been created for the network's options, warning you about typo's and suggesting alternatives.
  693. - Diamond shape for nodes.
  694. - Unified the label code so edges and nodes have the same label settings.
  695. - InheritColors for edges can be set to both, making a gradient fade between two node colors.
  696. - Redesigned the clustering system giving full control over it.
  697. - Random seed can be saved so the network will be the same every time you start it.
  698. - New physics solver based on ForceAtlas2 as implemented in gephi.]
  699. - New avoidOverlap option for physics.
  700. - Many, many bugfixes.
  701. ### DataSet
  702. - Dropped support for Google visualization DataTable.
  703. - Dropped support for appending data returned by `DataSet.get()` to an existing
  704. Array or DataTable.
  705. ## 2015-04-07, version 3.12.0
  706. ### Network
  707. - Fixed support for DataSet with custom id fields (option `fieldId`).
  708. ### Timeline
  709. - Orientation can now be configured separately for axis and items.
  710. - The event handlers `onMove` and `onMoving` are now invoked with all item
  711. properties as argument, and can be used to update all properties (like
  712. content, className, etc) and add new properties as well.
  713. - Fixed #654: removed unnecessary minimum height for groups, takes the
  714. height of the group label as minimum height now.
  715. - Fixed #708: detecting wrong group when page is scrolled.
  716. - Fixed #733: background items being selected on shift+click.
  717. ## 2015-03-05, version 3.11.0
  718. ### Network
  719. - (added gradient coloring for lines, but set for release in 4.0 due to required refactoring of options)
  720. - Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions etc.
  721. - 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.
  722. - Added two new static smooth curves modes: curveCW and curve CCW.
  723. - Added request redraw for certain internal processes to reduce number of draw calls (performance improvements!).
  724. - Added pull request for usage of Icons. Thanks @Dude9177!
  725. - Allow hierarchical view to be set in setOptions.
  726. - Fixed manipulation bar for mobile.
  727. - Fixed #670: Bug when updating data in a DataSet, when Network is connected to the DataSet via a DataView.
  728. - Fixed #688: Added a css class to be able to distinguish buttons "Edit node"
  729. and "Edit edge".
  730. ### Timeline
  731. - Implemented orientation option `'both'`, displaying a time axis both on top
  732. and bottom (#665).
  733. - Implemented creating new range items by dragging in an empty space with the
  734. ctrl key down.
  735. - Implemented configuration option `order: function` to define a custom ordering
  736. for the items (see #538, #234).
  737. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  738. - Implemented method `getEventProperties(event)`.
  739. - Fixed not property initializing with a DataView for groups.
  740. - Merged add custom timebar functionality, thanks @aytech!
  741. - Fixed #664: end of item not restored when canceling a move event.
  742. - Fixed #609: reduce the left/right dragarea when an item range is very small,
  743. so you can still move it as a whole.
  744. - Fixed #676: misalignment of background items when using subgroups and the
  745. group label's height is larger than the contents.
  746. ### Graph2d
  747. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  748. - Implemented method `getEventProperties(event)`.
  749. ### DataSet/DataView
  750. - Implemented support for mapping field names. Thanks @spatialillusions.
  751. - Fixed #670: DataView not passing a data property on update events (see #670)
  752. ## 2015-02-11, version 3.10.0
  753. ### Network
  754. - Added option bindToWindow (default true) to choose whether the keyboard binds are global or to the network div.
  755. - Improved images handling so broken images are shown on all references of images that are broken.
  756. - Added getConnectedNodes method.
  757. - Added fontSizeMin, fontSizeMax, fontSizeMaxVisible, scaleFontWithValue, fontDrawThreshold to Nodes.
  758. - Added fade in of labels (on nodes) near the fontDrawThreshold.
  759. - Added nodes option to zoomExtent to zoom in on specific set of nodes.
  760. - Added stabilizationIterationsDone event which fires at the end of the internal stabilization run. Does not imply that the network is stabilized.
  761. - Added freezeSimulation method.
  762. - Added clusterByZoom option.
  763. - Added class name 'network-tooltip' to the tooltip, allowing custom styling.
  764. - Fixed bug when redrawing was not right on zoomed-out browsers.
  765. - Added opacity option to edges. Opacity is only used for the unselected state.
  766. - Fixed bug where selections from removed data elements persisted.
  767. ### Timeline
  768. - `Timeline.redraw()` now also recalculates the size of items.
  769. - Implemented option `snap: function` to customize snapping to nice dates
  770. when dragging items.
  771. - Implemented option `timeAxis: {scale: string, step: number}` to set a
  772. fixed scale.
  773. - Fixed width of range items not always being maintained when moving due to
  774. snapping to nice dates.
  775. - Fixed not being able to drag items to an other group on mobile devices.
  776. - Fixed `setWindow` not working when applying an interval larger than the
  777. configured `zoomMax`.
  778. ### DataSet/DataView
  779. - Added property `length` holding the total number of items to the `DataSet`
  780. and `DataView`.
  781. - Added a method `refresh()` to the `DataView`, to update filter results.
  782. - Fixed a bug in the `DataSet` returning an empty object instead of `null` when
  783. no item was found when using both a filter and specifying fields.
  784. ## 2015-01-16, version 3.9.1
  785. ### General
  786. - Fixed wrong distribution file deployed on the website and the downloadable
  787. zip file.
  788. ### Network
  789. - Fixed bug where opening a cluster with smoothCurves off caused one child to go crazy.
  790. - Fixed bug where zoomExtent does not work as expected.
  791. - Fixed nodes color data being overridden when having a group and a dataset update query.
  792. - Decoupled animation from physics simulation.
  793. - Fixed scroll being blocked if zoomable is false.
  794. ## 2015-01-16, version 3.9.0
  795. ### Network
  796. - Reverted change in image class, fixed bug #552
  797. - Improved (not neccesarily fixed) the fontFill offset between different browsers. #365
  798. - Fixed dashed lines on firefox on Unix systems
  799. - Altered the Manipulation Mixin to be succesfully destroyed from memory when calling destroy();
  800. - Improved drawing of arrowheads on smooth curves. #349
  801. - Caught case where click originated on external DOM element and drag progressed to vis.
  802. - Added label stroke support to Nodes, Edges & Groups as per-object or global settings. Thank you @klmdb!
  803. - 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.
  804. - Made the node/edge selected by the popup system the same as selected by the click-to-select system. Thank you @pavlos256!
  805. - Improved edit edge control nodes positions, altered style a little.
  806. - Fixed issue #564 by resetting state to initial when no callback is performed in the return function.
  807. - Added condition to Repulsion similar to BarnesHut to ensure nodes do not overlap.
  808. - Added labelAlignment option to edges. Thanks @T-rav!
  809. - Close active sessions in dataManipulation when calling setData().
  810. - Fixed alignment issue with edgelabels
  811. ### Timeline
  812. - Added byUser flag to options of the rangechange and rangechanged event.
  813. ## 2015-01-09, version 3.8.0
  814. ### General
  815. - Updated to moment.js v2.9.0
  816. ### Network
  817. - Fixed flipping of hierarchical network on update when using RL and DU.
  818. - Added zoomExtentOnStabilize option to network.
  819. - Improved destroy function, added them to the examples.
  820. - Nodes now have bounding boxes that are used for zoomExtent.
  821. - Made physics more stable (albeit a little slower).
  822. - Added a check so only one 'activator' overlay is created on clickToUse.
  823. - Made global color options for edges overrule the inheritColors.
  824. - Improved cleaning up of the physics configuration on destroy and in options.
  825. - Made nodes who lost their group revert back to default color.
  826. - Changed group behaviour, groups now extend the options, not replace. This allows partial defines of color.
  827. - Fixed bug where box shaped nodes did not use hover color.
  828. - Fixed Locales docs.
  829. - 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.
  830. - Fixed error in repulsion physics model.
  831. - Improved physics handling for smoother network simulation.
  832. - Fixed infinite loop when an image can not be found and no brokenImage is provided.
  833. - Added getBoundingBox method.
  834. - Community fix for SVG images in IE11, thanks @dponch!
  835. - Fixed repeating stabilized event when the network is already stabilized.
  836. - Added circularImages, thanks for the contribution @brendon1982!
  837. - Stopped infinite loop when brokenImage is also not available.
  838. - Changed util color functions so they don't need eval. Thanks @naskooskov!
  839. ### Graph2d
  840. - Fixed round-off errors of zero on the y-axis.
  841. - added show major/minor lines options to dataAxis.
  842. - Fixed adapting to width and height changes.
  843. - Added a check so only one 'activator' overlay is created on clickToUse.
  844. - DataAxis width option now draws correctly.
  845. ### Timeline
  846. - Implemented support for styling of the vertical grid.
  847. - Support for custom date formatting of the labels on the time axis.
  848. - added show major/minor lines options to timeline.
  849. - Added a check so only one 'activator' overlay is created on clickToUse.
  850. ### Graph3d
  851. - Fixed mouse coordinates for tooltips.
  852. ## 2014-12-09, version 3.7.2
  853. ### Timeline
  854. - Fixed zooming issue on mobile devices.
  855. ### Graph2D
  856. - Fixed infinite loop when clearing DataSet
  857. ### Network
  858. - Sidestepped double touch event from hammer (ugly.. but functional) causing
  859. strange behaviour in manipulation mode
  860. - Better cleanup after reconnecting edges in manipulation mode
  861. - Fixed recursion error with smooth edges that are connected to non-existent nodes
  862. - Added destroy method.
  863. ## 2014-11-28, version 3.7.1
  864. ### Timeline
  865. - Implemented selection of a range of items using Shift+Click.
  866. - Fixed content in range items may overflow range after zoom.
  867. - Fixed onAdd/onUpdate callbacks when using a DataView (thanks @motzel).
  868. - Fixed configuring either `start` or `end`.
  869. - Fixed Timeline and Graph2d getting stuck in an infinite loop in some
  870. circumstances.
  871. - Fixed background items being selectable and editable when a height is set.
  872. ### Graph2D
  873. - Added `alignZeros` option to dataAxis with default value true.
  874. - Fixed bug with points drawn on bargraphs
  875. - Fixed docs
  876. - Fixed height increase on scrolling if only `graphHeight` is defined.
  877. ### Network
  878. - dragEnd event now does not give the selected nodes if only the viewport has been dragged #453
  879. - merged high DPI fix by @crubier, thanks!
  880. ## 2014-11-14, version 3.7.0
  881. ### Graph2D
  882. - Added points style for scatterplots and pointclouds.
  883. - Modularized the Graph2D draw styles.
  884. - Added a finishedRedraw event.
  885. ### Network
  886. - Added pointer properties to the click and the doubleClick events containing the XY coordinates in DOM and canvas space.
  887. - Removed IDs from navigation so multiple networks can be shown on the same page. (#438)
  888. ### Timeline
  889. - Added a finishedRedraw event.
  890. - Fixed the disappearing item bug.
  891. - Fixed keycharm issue.
  892. ## 2014-11-07, version 3.6.4
  893. ### General
  894. - Removed mousetrap due to Apache license, created keycharm and implemented it with vis.
  895. ### Timeline
  896. - Fixed height of background items when having a fixed or max height defined.
  897. - Fixed only one item being dragged when multiple items are selected.
  898. - Optimised a serious slowdown on performance since hidden dates.
  899. ### Network
  900. - Fixed onRelease with navigation option.
  901. - Fixed arrow heads not being colored.
  902. ### Graph2D
  903. - Fixed cleaning up of groups.
  904. - Throw error message when items are added before groups.
  905. - Made graphHeight automatic if height is defined AND if graphHeight is smaller than the center panel when height is defined as well.
  906. - Added new verticalDrag event for internal use, allowing the vertical scrolling of the grid lines on drag.
  907. - Fixed moving legend when postioned on the bottom and vertical dragging.
  908. - Optimised a serious slowdown on performance since hidden dates.
  909. - Accepted a large pull request from @cdjackson adding the following features (thank you!):
  910. - Titles on the DataAxis to explain what units you are using.
  911. - A style field for groups and datapoints so you can dynamically change styles.
  912. - A precision option to manually set the amount of decimals.
  913. - Two new examples showing the new features.
  914. ## 2014-10-28, version 3.6.3
  915. ### Timeline
  916. - Fixed background items not always be cleared when removing them.
  917. - Fixed visible items not always be displayed.
  918. - Performance improvements when doing a lot of changes at once in a DataSet.
  919. ### Network
  920. - Fixed dashed and arrow lines not using inheritColor.
  921. ### DataSet
  922. - Support for queueing of changes, and flushing them at once.
  923. - Implemented `DataSet.setOptions`. Only applicable for the `queue` options.
  924. ## 2014-10-24, version 3.6.2
  925. - Vis.js is now dual licensed under both Apache 2.0 and MIT.
  926. ## 2014-10-22, version 3.6.1
  927. ### Timeline
  928. - Fixed uneven stepsized with hidden dates.
  929. - Fixed multiple bugs with regards to hidden dates.
  930. - Fixed subgroups and added subgroup sorting. Subgroup labels will be in future releases.
  931. ## 2014-10-21, version 3.6.0
  932. ### Network
  933. - Title of nodes and edges can now be an HTML element too.
  934. - Renamed storePosition to storePositions. Added deprecation message and old name still works.
  935. - Worked around hammer.js bug with multiple release listeners.
  936. - Improved cleaning up after manipulation toolbar.
  937. - Added getPositions() method to get the position of all nodes or some of them if specific Ids are supplied.
  938. - Added getCenterCoordinates() method to get the x and y position in canvas space of the center of the view.
  939. - Fixed node label becoming undefined.
  940. - Fixed cluster fontsize scaling.
  941. - Fixed cluster sector scaling.
  942. - Added oldHeight and oldWidth to resize event.
  943. ### Timeline
  944. - Implemented field `style` for both items and groups, to set a custom style for
  945. individual items.
  946. - Fixed height of BackgroundItems not being 100% when timeline has a fixed height.
  947. - Fixed width of BackgroundItems not being reduced to 0 when zooming out.
  948. - Fixed onclick events in items not working.
  949. - Added hiddenDates to hide specific times and/or days in the timeline.
  950. ### DataSet
  951. - Event listeners of `update` now receive an extra property `data`,
  952. containing the changed fields of the changed items.
  953. ### Graph2d
  954. - Fixed height of legend when there are many items showing.
  955. ### Graph3d
  956. - Implemented options `xValueLabel`, `yValueLabel` and `zValueLabel` for custom labels along
  957. the x, y, z axis. Thanks @fabriziofortino.
  958. ## 2014-09-16, version 3.5.0
  959. ### Network
  960. - Fixed nodes not always being unfixed when using allowedToMove.
  961. - Added dragStart and dragEnd events.
  962. - Added edge selection on edge labels.
  963. ### Graph2d
  964. - Fixed dataAxis not showing large numbers correctly.
  965. ## 2014-09-12, version 3.4.2
  966. ### Network
  967. - Changed timings for zoomExtent animation.
  968. - Fixed possible cause of freezing graph when animating.
  969. - Added locked to focusOnNode and releaseNode().
  970. - Fixed minor bug in positioning of fontFill of nodes with certain shapes.
  971. - Added startStabilization event.
  972. ## 2014-09-11, version 3.4.1
  973. ### Network
  974. - Fix for introduced bug on zoomExtent navigation button.
  975. - Added animation to zoomExtent navigation button.
  976. - Improved cleaning of Hammer.js bindings.
  977. ### Timeline
  978. - Fixed a bug in IE freezing when margin.item and margin.axis where both 0.
  979. ## 2014-09-10, version 3.4.0
  980. ### Graph2d
  981. - Fixed moment.js url in localization example.
  982. ### Network
  983. - Fixed some positioning issues with the close button of the manipulation menu.
  984. - Added fontFill to Nodes as it is in Edges.
  985. - Implemented support for broken image fallback. Thanks @sfairgrieve.
  986. - Added multiline labels to edges as they are implemented in nodes. Updated
  987. multiline example to show this.
  988. - Added animation and camera controls by the method .moveTo()
  989. - Added new event that fires when the animation is finished.
  990. - Added new example showing the new features of animation.
  991. - Added getScale() method.
  992. ### Timeline
  993. - Implemented support for templates.
  994. - Implemented a new item type: `'background'`. This can be used to mark periods
  995. with a background color and label.
  996. - Implemented support for attaching HTML attributes to items. Thanks @dturkenk.
  997. - Fixed moment.js url in localization example.
  998. - Fixed `className` of groups not being updated when changed.
  999. - Fixed the `id` field of a new item not correctly generated.
  1000. - Fixed newly added item ignored when returning an other object instance.
  1001. - Fixed option `autoResize` not working on IE in case of changing visibility
  1002. of the Timeline container element.
  1003. - Fixed an overflow issue with the dots of BoxItems when using groups.
  1004. - Fixed a horizontal 1-pixel offset in the items (border width wasn't taken into
  1005. account).
  1006. - Renamed internal items from `ItemBox`, `ItemRange`, and `ItemPoint` to
  1007. respectively `BoxItem`, `RangeItem`, and `PointItem`.
  1008. - Fixed an error thrown when calling `destroy()`.
  1009. ## 2014-08-29, version 3.3.0
  1010. ### Timeline
  1011. - Added localization support.
  1012. - Implemented option `clickToUse`.
  1013. - Implemented function `focus(id)` to center a specific item (or multiple items)
  1014. on screen.
  1015. - Implemented an option `focus` for `setSelection(ids, options)`, to immediately
  1016. focus selected nodes.
  1017. - Implemented function `moveTo(time, options)`.
  1018. - Implemented animated range change for functions `fit`, `focus`, `setSelection`,
  1019. and `setWindow`.
  1020. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  1021. - Implemented a new callback function `onMoving(item, callback)`.
  1022. - Implemented support for option `align` for range items.
  1023. - Fixed the `change` event sometimes being fired twice on IE10.
  1024. - Fixed canceling moving an item to another group did not move the item
  1025. back to the original group.
  1026. - Fixed the `change` event sometimes being fired twice on IE10.
  1027. - Fixed canceling moving an item to another group did not move the item
  1028. back to the original group.
  1029. ### Network
  1030. - A fix in reading group properties for a node.
  1031. - Fixed physics solving stopping when a support node was not moving.
  1032. - Implemented localization support.
  1033. - Implemented option `clickToUse`.
  1034. - Improved the `stabilized` event, it's now firing after every stabilization
  1035. with iteration count as parameter.
  1036. - Fixed page scroll event not being blocked when moving around in Network
  1037. using arrow keys.
  1038. - Fixed an initial rendering before the graph has been stabilized.
  1039. - Fixed bug where loading hierarchical data after initialization crashed network.
  1040. - Added different layout method to the hierarchical system based on the direction of the edges.
  1041. ### Graph2d
  1042. - Implemented option `handleOverlap` to support overlap, sideBySide and stack.
  1043. - Implemented two examples showing the `handleOverlap` functionality.
  1044. - Implemented `customRange` for the Y axis and an example showing how it works.
  1045. - Implemented localization support.
  1046. - Implemented option `clickToUse`.
  1047. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  1048. - Implemented function `moveTo(time, options)`.
  1049. - Fixed bugs.
  1050. - Added groups.visibility functionality and an example showing how it works.
  1051. ## 2014-08-14, version 3.2.0
  1052. ### General
  1053. - Refactored Timeline and Graph2d to use the same core.
  1054. ### Graph2d
  1055. - Added `visible` property to the groups.
  1056. - Added `getLegend()` method.
  1057. - Added `isGroupVisible()` method.
  1058. - Fixed empty group bug.
  1059. - Added `fit()` and `getItemRange()` methods.
  1060. ### Timeline
  1061. - Fixed items in groups sometimes being displayed but not positioned correctly.
  1062. - Fixed a group "null" being displayed in IE when not using groups.
  1063. ### Network
  1064. - Fixed mass = 0 for nodes.
  1065. - 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.
  1066. - Disabled inheritColor when color information is set on an edge.
  1067. - Tweaked examples.
  1068. - 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.
  1069. - Removed global edge length definition form examples.
  1070. - Removed onclick and onrelease for navigation and switched to Hammer.js (fixing touchscreen interaction with navigation).
  1071. - Fixed error on adding an edge without having created the nodes it should be connected to (in the case of dynamic smooth curves).
  1072. ## 2014-07-22, version 3.1.0
  1073. ### General
  1074. - Refactored the code to commonjs modules, which are browserifyable. This allows
  1075. to create custom builds.
  1076. ### Timeline
  1077. - Implemented function `getVisibleItems()`, which returns the items visible
  1078. in the current window.
  1079. - Added options `margin.item.horizontal` and `margin.item.vertical`, which
  1080. allows to specify different margins horizontally/vertically.
  1081. - Removed check for number of arguments in callbacks `onAdd`, `onUpdate`,
  1082. `onRemove`, and `onMove`.
  1083. - Fixed items in groups sometimes being displayed but not positioned correctly.
  1084. - Fixed range where the `end` of the first is equal to the `start` of the second
  1085. sometimes being stacked instead of put besides each other when `item.margin=0`
  1086. due to round-off errors.
  1087. ### Network (formerly named Graph)
  1088. - Expanded smoothCurves options for improved support for large clusters.
  1089. - Added multiple types of smoothCurve drawing for greatly improved performance.
  1090. - Option for inherited edge colors from connected nodes.
  1091. - Option to disable the drawing of nodes or edges on drag.
  1092. - Fixed support nodes not being cleaned up if edges are removed.
  1093. - Improved edge selection detection for long smooth curves.
  1094. - Fixed dot radius bug.
  1095. - Updated max velocity of nodes to three times it's original value.
  1096. - Made "stabilized" event fire every time the network stabilizes.
  1097. - Fixed drift in dragging nodes while zooming.
  1098. - Fixed recursively constructing of hierarchical layouts.
  1099. - Added borderWidth option for nodes.
  1100. - Implemented new Hierarchical view solver.
  1101. - Fixed an issue with selecting nodes when the web page is scrolled down.
  1102. - Added Gephi JSON parser
  1103. - Added Neighbour Highlight example
  1104. - Added Import From Gephi example
  1105. - Enabled color parsing for nodes when supplied with rgb(xxx,xxx,xxx) value.
  1106. ### DataSet
  1107. - Added .get() returnType option to return as JSON object, Array or Google
  1108. DataTable.
  1109. ## 2014-07-07, version 3.0.0
  1110. ### Timeline
  1111. - Implemented support for displaying a `title` for both items and groups.
  1112. - Fixed auto detected item type being preferred over the global item `type`.
  1113. - Throws an error when constructing without new keyword.
  1114. - Removed the 'rangeoverflow' item type. Instead, one can use a regular range
  1115. and change css styling of the item contents to:
  1116. .vis.timeline .item.range .content {
  1117. overflow: visible;
  1118. }
  1119. - Fixed the height of background and foreground panels of groups.
  1120. - Fixed ranges in the Timeline sometimes overlapping when dragging the Timeline.
  1121. - Fixed `DataView` not working in Timeline.
  1122. ### Network (formerly named Graph)
  1123. - Renamed `Graph` to `Network` to prevent confusion with the visualizations
  1124. `Graph2d` and `Graph3d`.
  1125. - Renamed option `dragGraph` to `dragNetwork`.
  1126. - Now throws an error when constructing without new keyword.
  1127. - Added pull request from Vukk, user can now define the edge width multiplier
  1128. when selected.
  1129. - Fixed `graph.storePositions()`.
  1130. - Extended Selection API with `selectNodes` and `selectEdges`, deprecating
  1131. `setSelection`.
  1132. - Fixed multiline labels.
  1133. - Changed hierarchical physics solver and updated docs.
  1134. ### Graph2d
  1135. - Added first iteration of the Graph2d.
  1136. ### Graph3d
  1137. - Now throws an error when constructing without new keyword.
  1138. ## 2014-06-19, version 2.0.0
  1139. ### Timeline
  1140. - Implemented function `destroy` to neatly cleanup a Timeline.
  1141. - Implemented support for dragging the timeline contents vertically.
  1142. - Implemented options `zoomable` and `moveable`.
  1143. - Changed default value of option `showCurrentTime` to true.
  1144. - Internal refactoring and simplification of the code.
  1145. - Fixed property `className` of groups not being applied to related contents and
  1146. background elements, and not being updated once applied.
  1147. ### Graph
  1148. - Reduced the timestep a little for smoother animations.
  1149. - Fixed dataManipulation.initiallyVisible functionality (thanks theGrue).
  1150. - Forced typecast of fontSize to Number.
  1151. - Added editing of edges using the data manipulation toolkit.
  1152. ### DataSet
  1153. - Renamed option `convert` to `type`.
  1154. ## 2014-06-06, version 1.1.0
  1155. ### Timeline
  1156. - Select event now triggers repeatedly when selecting an already selected item.
  1157. - Renamed `Timeline.repaint()` to `Timeline.redraw()` to be consistent with
  1158. the other visualisations of vis.js.
  1159. - Fixed `Timeline.clear()` not resetting a configured `options.start` and
  1160. `options.end`.
  1161. ### Graph
  1162. - Fixed error with zero nodes with hierarchical layout.
  1163. - Added focusOnNode function.
  1164. - Added hover option.
  1165. - Added dragNodes option. Renamed movebale to dragGraph option.
  1166. - Added hover events (hoverNode, blurNode).
  1167. ### Graph3D
  1168. - Ported Graph3D from Chap Links Library.
  1169. ## 2014-05-28, version 1.0.2
  1170. ### Timeline
  1171. - Implemented option `minHeight`, similar to option `maxHeight`.
  1172. - Implemented a method `clear([what])`, to clear items, groups, and configuration
  1173. of a Timeline instance.
  1174. - Added function `repaint()` to force a repaint of the Timeline.
  1175. - Some tweaks in snapping dragged items to nice dates.
  1176. - Made the instance of moment.js packaged with vis.js accessibly via `vis.moment`.
  1177. - A newly created item is initialized with `end` property when option `type`
  1178. is `"range"` or `"rangeoverflow"`.
  1179. - Fixed a bug in replacing the DataSet of groups via `Timeline.setGroups(groups)`.
  1180. - Fixed a bug when rendering the Timeline inside a hidden container.
  1181. - Fixed axis scale being determined wrongly for a second Timeline in a single page.
  1182. ### Graph
  1183. - Added zoomable and moveable options.
  1184. - Changes setOptions to avoid resetting view.
  1185. - Interchanged canvasToDOM and DOMtoCanvas to correspond with the docs.
  1186. ## 2014-05-09, version 1.0.1
  1187. ### Timeline
  1188. - Fixed width of items with type `rangeoverflow`.
  1189. - Fixed a bug wrongly rendering invisible items after updating them.
  1190. ### Graph
  1191. - Added coordinate conversion from DOM to Canvas.
  1192. - Fixed bug where the graph stopped animation after settling in playing with physics.
  1193. - Fixed bug where hierarchical physics properties were not handled.
  1194. - Added events for change of view and zooming.
  1195. ## 2014-05-02, version 1.0.0
  1196. ### Timeline
  1197. - Large refactoring of the Timeline, simplifying the code.
  1198. - Great performance improvements.
  1199. - Improved layout of box-items inside groups.
  1200. - Items can now be dragged from one group to another.
  1201. - Implemented option `stack` to enable/disable stacking of items.
  1202. - Implemented function `fit`, which sets the Timeline window such that it fits
  1203. all items.
  1204. - Option `editable` can now be used to enable/disable individual manipulation
  1205. actions (`add`, `updateTime`, `updateGroup`, `remove`).
  1206. - Function `setWindow` now accepts an object with properties `start` and `end`.
  1207. - Fixed option `autoResize` forcing a repaint of the Timeline with every check
  1208. rather than when the Timeline is actually resized.
  1209. - Fixed `select` event fired repeatedly when clicking an empty place on the
  1210. Timeline, deselecting selected items).
  1211. - Fixed initial visible window in case items exceed `zoomMax`. Thanks @Remper.
  1212. - Fixed an offset in newly created items when using groups.
  1213. - Fixed height of a group not reckoning with the height of the group label.
  1214. - Option `order` is now deprecated. This was needed for performance improvements.
  1215. - More examples added.
  1216. - Minor bug fixes.
  1217. ### Graph
  1218. - Added recalculate hierarchical layout to update node event.
  1219. - Added arrowScaleFactor to scale the arrows on the edges.
  1220. ### DataSet
  1221. - A DataSet can now be constructed with initial data, like
  1222. `new DataSet(data, options)`.
  1223. ## 2014-04-18, version 0.7.4
  1224. ### Graph
  1225. - Fixed IE9 bug.
  1226. - Style fixes.
  1227. - Minor bug fixes.
  1228. ## 2014-04-16, version 0.7.3
  1229. ### Graph
  1230. - Fixed color bug.
  1231. - Added pull requests from kannonboy and vierja: tooltip styling, label fill
  1232. color.
  1233. ## 2014-04-09, version 0.7.2
  1234. ### Graph
  1235. - Fixed edge select bug.
  1236. - Fixed zoom bug on empty initialization.
  1237. ## 2014-03-27, version 0.7.1
  1238. ### Graph
  1239. - Fixed edge color bug.
  1240. - Fixed select event bug.
  1241. - Clarified docs, stressing importance of css inclusion for correct display of
  1242. navigation an manipulation icons.
  1243. - Improved and expanded playing with physics (configurePhysics option).
  1244. - Added highlights to navigation icons if the corresponding key is pressed.
  1245. - Added freezeForStabilization option to improve stabilization with cached
  1246. positions.
  1247. ## 2014-03-07, version 0.7.0
  1248. ### Graph
  1249. - Changed navigation CSS. Icons are now always correctly positioned.
  1250. - Added stabilizationIterations option to graph.
  1251. - Added storePosition() method to save the XY positions of nodes in the DataSet.
  1252. - Separated allowedToMove into allowedToMoveX and allowedToMoveY. This is
  1253. required for initializing nodes from hierarchical layouts after
  1254. storePosition().
  1255. - Added color options for the edges.
  1256. ## 2014-03-06, version 0.6.1
  1257. ### Graph
  1258. - Bugfix graphviz examples.
  1259. - Bugfix labels position for smooth curves.
  1260. - Tweaked graphviz example physics.
  1261. - Updated physics documentation to stress importance of configurePhysics.
  1262. ### Timeline
  1263. - Fixed a bug with options `margin.axis` and `margin.item` being ignored when
  1264. setting them to zero.
  1265. - Some clarifications in the documentation.
  1266. ## 2014-03-05, version 0.6.0
  1267. ### Graph
  1268. - Added Physics Configuration option. This makes tweaking the physics system to
  1269. suit your needs easier.
  1270. - Click and doubleClick events.
  1271. - Initial zoom bugfix.
  1272. - Directions for Hierarchical layout.
  1273. - Refactoring and bugfixes.
  1274. ## 2014-02-20, version 0.5.1
  1275. - Fixed broken bower module.
  1276. ## 2014-02-20, version 0.5.0
  1277. ### Timeline
  1278. - Editable Items: drag items, add new items, update items, and remove items.
  1279. - Implemented options `selectable`, `editable`.
  1280. - Added events `timechange` and `timechanged` when dragging the custom time bar.
  1281. - Multiple items can be selected using ctrl+click or shift+click.
  1282. - Implemented functions `setWindow(start, end)` and `getWindow()`.
  1283. - Fixed scroll to zoom not working on IE in standards mode.
  1284. ### Graph
  1285. - Editable nodes and edges: create, update, and remove them.
  1286. - Support for smooth, curved edges (on by default).
  1287. - Performance improvements.
  1288. - Fixed scroll to zoom not working on IE in standards mode.
  1289. - Added hierarchical layout option.
  1290. - Overhauled physics system, now using Barnes-Hut simulation by default. Great
  1291. performance gains.
  1292. - Modified clustering system to give better results.
  1293. - Adaptive performance system to increase visual performance (60fps target).
  1294. ### DataSet
  1295. - Renamed functions `subscribe` and `unsubscribe` to `on` and `off` respectively.
  1296. ## 2014-01-31, version 0.4.0
  1297. ### Timeline
  1298. - Implemented functions `on` and `off` to create event listeners for events
  1299. `rangechange`, `rangechanged`, and `select`.
  1300. - Implemented function `select` to get and set the selected items.
  1301. - Items can be selected by clicking them, muti-select by holding them.
  1302. - Fixed non working `start` and `end` options.
  1303. ### Graph
  1304. - Fixed longstanding bug in the force calculation, increasing simulation
  1305. stability and fluidity.
  1306. - Reworked the calculation of the Graph, increasing performance for larger
  1307. datasets (up to 10x!).
  1308. - Support for automatic clustering in Graph to handle large (>50000) datasets
  1309. without losing performance.
  1310. - Added automatic initial zooming to Graph, to more easily view large amounts
  1311. of data.
  1312. - Added local declustering to Graph, freezing the simulation of nodes outside
  1313. of the cluster.
  1314. - Added support for key-bindings by including mouseTrap in Graph.
  1315. - Added navigation controls.
  1316. - Added keyboard navigation.
  1317. - Implemented functions `on` and `off` to create event listeners for event
  1318. `select`.
  1319. ## 2014-01-14, version 0.3.0
  1320. - Moved the generated library to folder `./dist`
  1321. - Css stylesheet must be loaded explicitly now.
  1322. - Implemented options `showCurrentTime` and `showCustomTime`. Thanks @fi0dor.
  1323. - Implemented touch support for Timeline.
  1324. - Fixed broken Timeline options `min` and `max`.
  1325. - Fixed not being able to load vis.js in node.js.
  1326. ## 2013-09-20, version 0.2.0
  1327. - Implemented full touch support for Graph.
  1328. - Fixed initial empty range in the Timeline in case of a single item.
  1329. - Fixed field `className` not working for items.
  1330. ## 2013-06-20, version 0.1.0
  1331. - Added support for DataSet to Graph. Graph now uses an id based set of nodes
  1332. and edges instead of a row based array internally. Methods getSelection and
  1333. setSelection of Graph now accept a list with ids instead of rows.
  1334. - Graph is now robust against edges pointing to non-existing nodes, which
  1335. can occur easily while dynamically adding/removing nodes and edges.
  1336. - Implemented basic support for groups in the Timeline.
  1337. - Added documentation on DataSet and DataView.
  1338. - Fixed selection of nodes in a Graph when the containing web page is scrolled.
  1339. - Improved date conversion.
  1340. - Renamed DataSet option `fieldTypes` to `convert`.
  1341. - Renamed function `vis.util.cast` to `vis.util.convert`.
  1342. ## 2013-06-07, version 0.0.9
  1343. - First working version of the Graph imported from the old library.
  1344. - Documentation added for both Timeline and Graph.
  1345. ## 2013-05-03, version 0.0.8
  1346. - Performance improvements: only visible items are rendered.
  1347. - Minor bug fixes and improvements.
  1348. ## 2013-04-25, version 0.0.7
  1349. - Sanitized the published packages on npm and bower.
  1350. ## 2013-04-25, version 0.0.6
  1351. - Css is now packaged in the javascript file, and automatically loaded.
  1352. - The library uses node style dependency management for modules now, used
  1353. with Browserify.
  1354. ## 2013-04-16, version 0.0.5
  1355. - First working version of the Timeline.
  1356. - Website created.