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