UNPKG

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