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.

1700 lines
62 KiB

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