UNPKG

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