UNPKG

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