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.

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