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.

1672 lines
61 KiB

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