UNPKG

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