All Versions
78
Latest Version
Avg Release Cycle
34 days
Latest Release
1474 days ago

Changelog History
Page 4

  • v4.2.0 Changes

    June 05, 2015

    General

    • ๐Ÿ›  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 the select 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
  • v4.1.0 Changes

    May 28, 2015

    Network

    • ๐Ÿ›  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, 2015

    General

    • ๐Ÿ”„ 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 to h4-h8.
    • ๐Ÿ—„ Deprecated option showCustomTime. Use method addCustomTime() instead.
    • ๐Ÿ—„ Deprecated event finishedRedraw as it's redundant.
    • ๐Ÿ“‡ Renamed option animate to animation, 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.
  • v3.12.0 Changes

    April 07, 2015

    Network

    • ๐Ÿ›  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 and onMoving 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.
  • v3.11.0 Changes

    March 05, 2015

    Network

    • ๐Ÿš€ (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, and contextMenu.
    • 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, and contextMenu.
    • 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, 2015

    Network

    • โž• 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 configured zoomMax.

    DataSet/DataView

    • โž• Added property length holding the total number of items to the DataSet and DataView.
    • โž• Added a method refresh() to the DataView, to update filter results.
    • ๐Ÿ›  Fixed a bug in the DataSet returning an empty object instead of null when no item was found when using both a filter and specifying fields.
  • v3.9.1 Changes

    January 16, 2015

    General

    • ๐Ÿ›  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, 2015

    Network

    • โช 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, 2015

    General

    • โšก๏ธ 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, 2014

    Timeline

    • ๐Ÿ›  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.