UNPKG

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