All Versions
78
Latest Version
Avg Release Cycle
34 days
Latest Release
2388 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v4.2.0 Changes
June 05, 2015General
- ๐ Fixed #893, #911: the
clickToUse
option of Network, Graph2d, and Network was blocking click events in the web page.
Timeline
- โ Added axis orientation option
'none'
. - โ Added a property
event
to the properties emitted with theselect
event (see #923). - ๐ Improved function
fit()
to take into account the actual width of items. - ๐ Fixed #897: Timeline option
{snap: null}
did give a validation error. - ๐ Fixed #925: Event
timechanged
did not fire when mouse has been moved outside the timeline.
Graph2D
- ๐ Fixed #892, addressed any case in validator.
- ๐ Fixed #898, lines are not taken into account for stacking.
Network
- ๐ Improved robustness against people molesting the Function.prototype.bind()
- ๐ Fixed few functions including storePositions().
- โ Added beginnings of unit testing for network.
- ๐ Fixed #904, correctly parsing global font options now.
- ๐ Fixed dataView support for storePositions.
- Second click on node is no longer unselect.
- โ Added releaseFunction to openCluster.
- ๐ Fixed bug where the network could flicker when the pixelRatio is not integer.
- โ Added enabled property to physics.
- ๐ Fixed #927, dragStart event didn't contain node that was being dragged
- ๐ Fixed #893, #911: the
-
v4.1.0 Changes
May 28, 2015Network
- ๐ Fixed #866, manipulation can now be set to false without crashing.
- ๐ Fixed #860, edit node mode now works as it should.
- ๐ Fixed #859, images now resize again when they are loaded.
- ๐ Fixed dynamic edges not correctly handling non-existent nodes.
- Accepted pull from @killerDJO for fixing selected and hover colors for edges.
- ๐ Fixed bug with right mouse button, scroll center and popup positions using the wrong coordinates.
- ๐ Fixed click to use.
- ๐ Fixed getConnectedEdges method.
- ๐ Fixed clustering bug.
- โ Added getNodesInCluster method.
- ๐ Renamed editNodeMode to editNode, editNodeMode now give a deprecation log message.
- โ Added multiselect to the docs.
- โ Removed deprecated dynamic entree, allow any smooth curve style for hierarchical layout.
- ๐ Fixed bug with the moveTo and getViewPosition methods.
- ๐ Fixed #861, brokenImage only working for one node if nodes have the same image.
- ๐ Fixed hoverNode and blurNode events and added them to the docs.
- ๐ Fixed #884, selectNode event.
- ๐ Fixed dynamic setting hidden and physics.
- ๐ Fixed edit node mode's fallback.
Graph2d & Timeline
- ๐ Fixed #858, #872, fixed usage of deprecated
unsubscribe
from DataSet. - ๐ Fixed #869: Add className with id to custom time bars
- ๐ Fixed #877: Added support for metaKey to select multiple items.
-
v4.0.0 Changes
May 22, 2015General
- ๐ Changed the build scripts to include a transpilation of ES6 to ES5
(using http://babel.org), so we can use ES6 features in the vis.js code.
When creating a custom bundle using browserify, one now needs to add a
transform step using
babelify
, this is described in README.md.
Timeline
- โ Integrated an option configurator and validator.
- 0๏ธโฃ Implemented option
multiselect
, which is false by default. - โ Added method
setData({groups: groups, items: items})
. - ๐ Fixed range items not being displayed smaller than 10 pixels (twice the
padding). In order to have overflowing text, one should now apply css style
.vis.timeline .item.range { overflow: visible; }
instead of.vis.timeline .item.range .content { overflow: visible; }
. See example 18_range_overflow.html. - ๐ Fixed invalid css names for time axis grid, renamed hours class names from
4-8h
toh4-h8
. - ๐ Deprecated option
showCustomTime
. Use methodaddCustomTime()
instead. - ๐ Deprecated event
finishedRedraw
as it's redundant. - ๐ Renamed option
animate
toanimation
, and changed it to be either a boolean or an object{duration: number, easingFunction: string}
. - ๐ Fixed #831: items losing selection when their type changed.
Graph2d
- ๐ New option structure.
- ๐ Cleaned up docs.
- ๐ Fixed #628: stacking order.
- ๐ Fixed #624: sorting order.
- ๐ Fixed #616: stacking with negative bars.
- ๐ Fixed #728: alignment issues.
- ๐ Fixed #716: Height of graph
2px
too large when configuring a fixed height.
Network
The network has been completely rewritten. The new modular setup using ES6 classes makes it future proof for maintainability, extendability and clarity. A summary of new features:
- ๐ New examples, categorized by topic.
- ๐ New docs.
- ๐ New option structure, adhering to the modular setup on the backend.
- ๐ New events for user interaction.
- ๐ New render events for drawing custom elements on the canvas.
- ๐ New physics events for making a loading bar during stabilization.
- A lot of new methods that make extending easier.
- ๐ป Manipulation system now works without the UI neccesarily.
- Nodes and edges can cast shadows.
- ๐ง Configurator system to dynamically change almost all options.
- โ Validator has been created for the network's options, warning you about typo's and suggesting alternatives.
- Diamond shape for nodes.
- Unified the label code so edges and nodes have the same label settings.
- InheritColors for edges can be set to both, making a gradient fade between two node colors.
- Redesigned the clustering system giving full control over it.
- ๐ Random seed can be saved so the network will be the same every time you start it.
- ๐ New physics solver based on ForceAtlas2 as implemented in gephi.]
- ๐ New avoidOverlap option for physics.
- ๐ Many, many bugfixes.
DataSet
- โฌ๏ธ Dropped support for Google visualization DataTable.
- โฌ๏ธ Dropped support for appending data returned by
DataSet.get()
to an existing Array or DataTable.
- ๐ Changed the build scripts to include a transpilation of ES6 to ES5
(using http://babel.org), so we can use ES6 features in the vis.js code.
When creating a custom bundle using browserify, one now needs to add a
transform step using
-
v3.12.0 Changes
April 07, 2015Network
- ๐ Fixed support for DataSet with custom id fields (option
fieldId
).
Timeline
- ๐ง Orientation can now be configured separately for axis and items.
- ๐ The event handlers
onMove
andonMoving
are now invoked with all item properties as argument, and can be used to update all properties (like content, className, etc) and add new properties as well. - ๐ Fixed #654: removed unnecessary minimum height for groups, takes the height of the group label as minimum height now.
- ๐ Fixed #708: detecting wrong group when page is scrolled.
- ๐ Fixed #733: background items being selected on shift+click.
- ๐ Fixed support for DataSet with custom id fields (option
-
v3.11.0 Changes
March 05, 2015Network
- ๐ (added gradient coloring for lines, but set for release in 4.0 due to required refactoring of options)
- ๐ Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions etc.
- โ 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.
- โ Added two new static smooth curves modes: curveCW and curve CCW.
- โ Added request redraw for certain internal processes to reduce number of draw calls (performance improvements!).
- โ Added pull request for usage of Icons. Thanks @Dude9177!
- ๐ Allow hierarchical view to be set in setOptions.
- ๐ Fixed manipulation bar for mobile.
- ๐ Fixed #670: Bug when updating data in a DataSet, when Network is connected to the DataSet via a DataView.
- ๐ Fixed #688: Added a css class to be able to distinguish buttons "Edit node" and "Edit edge".
Timeline
- Implemented orientation option
'both'
, displaying a time axis both on top and bottom (#665). - Implemented creating new range items by dragging in an empty space with the ctrl key down.
- ๐ง Implemented configuration option
order: function
to define a custom ordering for the items (see #538, #234). - Implemented events
click
,doubleClick
, andcontextMenu
. - Implemented method
getEventProperties(event)
. - ๐ Fixed not property initializing with a DataView for groups.
- ๐ Merged add custom timebar functionality, thanks @aytech!
- ๐ Fixed #664: end of item not restored when canceling a move event.
- ๐ Fixed #609: reduce the left/right dragarea when an item range is very small, so you can still move it as a whole.
- ๐ Fixed #676: misalignment of background items when using subgroups and the group label's height is larger than the contents.
Graph2d
- Implemented events
click
,doubleClick
, andcontextMenu
. - Implemented method
getEventProperties(event)
.
DataSet/DataView
- ๐ Implemented support for mapping field names. Thanks @spatialillusions.
- ๐ Fixed #670: DataView not passing a data property on update events (see #670)
-
v3.10.0 Changes
February 11, 2015Network
- โ Added option bindToWindow (default true) to choose whether the keyboard binds are global or to the network div.
- ๐ Improved images handling so broken images are shown on all references of images that are broken.
- โ Added getConnectedNodes method.
- โ Added fontSizeMin, fontSizeMax, fontSizeMaxVisible, scaleFontWithValue, fontDrawThreshold to Nodes.
- โ Added fade in of labels (on nodes) near the fontDrawThreshold.
- โ Added nodes option to zoomExtent to zoom in on specific set of nodes.
- โ Added stabilizationIterationsDone event which fires at the end of the internal stabilization run. Does not imply that the network is stabilized.
- โ Added freezeSimulation method.
- โ Added clusterByZoom option.
- โ Added class name 'network-tooltip' to the tooltip, allowing custom styling.
- ๐ Fixed bug when redrawing was not right on zoomed-out browsers.
- โ Added opacity option to edges. Opacity is only used for the unselected state.
- ๐ Fixed bug where selections from removed data elements persisted.
Timeline
Timeline.redraw()
now also recalculates the size of items.- Implemented option
snap: function
to customize snapping to nice dates when dragging items. - Implemented option
timeAxis: {scale: string, step: number}
to set a fixed scale. - ๐ Fixed width of range items not always being maintained when moving due to snapping to nice dates.
- ๐ Fixed not being able to drag items to an other group on mobile devices.
- ๐ Fixed
setWindow
not working when applying an interval larger than the configuredzoomMax
.
DataSet/DataView
- โ Added property
length
holding the total number of items to theDataSet
andDataView
. - โ Added a method
refresh()
to theDataView
, to update filter results. - ๐ Fixed a bug in the
DataSet
returning an empty object instead ofnull
when no item was found when using both a filter and specifying fields.
-
v3.9.1 Changes
January 16, 2015General
- ๐ Fixed wrong distribution file deployed on the website and the downloadable zip file.
Network
- ๐ Fixed bug where opening a cluster with smoothCurves off caused one child to go crazy.
- ๐ Fixed bug where zoomExtent does not work as expected.
- ๐ Fixed nodes color data being overridden when having a group and a dataset update query.
- Decoupled animation from physics simulation.
- ๐ Fixed scroll being blocked if zoomable is false.
-
v3.9.0 Changes
January 16, 2015Network
- โช Reverted change in image class, fixed bug #552
- ๐ Improved (not neccesarily fixed) the fontFill offset between different browsers. #365
- ๐ Fixed dashed lines on firefox on Unix systems
- Altered the Manipulation Mixin to be succesfully destroyed from memory when calling destroy();
- ๐ Improved drawing of arrowheads on smooth curves. #349
- Caught case where click originated on external DOM element and drag progressed to vis.
- โ Added label stroke support to Nodes, Edges & Groups as per-object or global settings. Thank you @klmdb!
- โช 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.
- Made the node/edge selected by the popup system the same as selected by the click-to-select system. Thank you @pavlos256!
- ๐ Improved edit edge control nodes positions, altered style a little.
- ๐ Fixed issue #564 by resetting state to initial when no callback is performed in the return function.
- โ Added condition to Repulsion similar to BarnesHut to ensure nodes do not overlap.
- โ Added labelAlignment option to edges. Thanks @T-rav!
- Close active sessions in dataManipulation when calling setData().
- ๐ Fixed alignment issue with edgelabels
Timeline
- โ Added byUser flag to options of the rangechange and rangechanged event.
-
v3.8.0 Changes
January 09, 2015General
- โก๏ธ Updated to moment.js v2.9.0
Network
- ๐ Fixed flipping of hierarchical network on update when using RL and DU.
- โ Added zoomExtentOnStabilize option to network.
- ๐ Improved destroy function, added them to the examples.
- Nodes now have bounding boxes that are used for zoomExtent.
- Made physics more stable (albeit a little slower).
- โ Added a check so only one 'activator' overlay is created on clickToUse.
- Made global color options for edges overrule the inheritColors.
- ๐ Improved cleaning up of the physics configuration on destroy and in options.
- โช Made nodes who lost their group revert back to default color.
- ๐ Changed group behaviour, groups now extend the options, not replace. This allows partial defines of color.
- ๐ Fixed bug where box shaped nodes did not use hover color.
- ๐ Fixed Locales docs.
- 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.
- ๐ Fixed error in repulsion physics model.
- ๐ Improved physics handling for smoother network simulation.
- ๐ Fixed infinite loop when an image can not be found and no brokenImage is provided.
- โ Added getBoundingBox method.
- Community fix for SVG images in IE11, thanks @dponch!
- ๐ Fixed repeating stabilized event when the network is already stabilized.
- โ Added circularImages, thanks for the contribution @brendon1982!
- Stopped infinite loop when brokenImage is also not available.
- ๐ Changed util color functions so they don't need eval. Thanks @naskooskov!
Graph2d
- ๐ Fixed round-off errors of zero on the y-axis.
- โ added show major/minor lines options to dataAxis.
- ๐ Fixed adapting to width and height changes.
- โ Added a check so only one 'activator' overlay is created on clickToUse.
- DataAxis width option now draws correctly.
Timeline
- ๐ Implemented support for styling of the vertical grid.
- ๐ Support for custom date formatting of the labels on the time axis.
- โ added show major/minor lines options to timeline.
- โ Added a check so only one 'activator' overlay is created on clickToUse.
Graph3d
- ๐ Fixed mouse coordinates for tooltips.
-
v3.7.2 Changes
December 09, 2014Timeline
- ๐ Fixed zooming issue on mobile devices.
Graph2D
- ๐ Fixed infinite loop when clearing DataSet
Network
- Sidestepped double touch event from hammer (ugly.. but functional) causing strange behaviour in manipulation mode
- ๐ Better cleanup after reconnecting edges in manipulation mode
- ๐ Fixed recursion error with smooth edges that are connected to non-existent nodes
- โ Added destroy method.