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.

1961 lines
74 KiB

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