- Fixed background items not always be cleared when removing them.
- Fixed visible items not always be displayed.
- Performance improvements when doing a lot of changes at once in a DataSet.
- Fixed dashed and arrow lines not using inheritColor.
- Support for queueing of changes, and flushing them at once.
- Implemented
DataSet.setOptions
. Only applicable for thequeue
options.
- Vis.js is now dual licensed under both Apache 2.0 and MIT.
- Fixed uneven stepsized with hidden dates.
- Fixed multiple bugs with regards to hidden dates.
- Fixed subgroups and added subgroup sorting. Subgroup labels will be in future releases.
- Title of nodes and edges can now be an HTML element too.
- Renamed storePosition to storePositions. Added deprication message and old name still works.
- Worked around hammer.js bug with multiple release listeners.
- Improved cleaning up after manipulation toolbar.
- Added getPositions() method to get the position of all nodes or some of them if specific Ids are supplied.
- Added getCenterCoordinates() method to get the x and y position in canvas space of the center of the view.
- Fixed node label becoming undefined.
- Fixed cluster fontsize scaling.
- Fixed cluster sector scaling.
- Added oldHeight and oldWidth to resize event.
- Implemented field
style
for both items and groups, to set a custom style for individual items. - Fixed height of BackgroundItems not being 100% when timeline has a fixed height.
- Fixed width of BackgroundItems not being reduced to 0 when zooming out.
- Fixed onclick events in items not working.
- Added hiddenDates to hide specific times and/or days in the timeline.
- Event listeners of
update
now receive an extra propertydata
, containing the changed fields of the changed items.
- Fixed height of legend when there are many items showing.
- Implemented options
xValueLabel
,yValueLabel
andzValueLabel
for custom labels along the x, y, z axis. Thanks @fabriziofortino.
- Fixed nodes not always being unfixed when using allowedToMove.
- Added dragStart and dragEnd events.
- Added edge selection on edge labels.
- Fixed dataAxis not showing large numbers correctly.
- Changed timings for zoomExtent animation.
- Fixed possible cause of freezing graph when animating.
- Added locked to focusOnNode and releaseNode().
- Fixed minor bug in positioning of fontFill of nodes with certain shapes.
- Added startStabilization event.
- Fix for introduced bug on zoomExtent navigation button.
- Added animation to zoomExtent navigation button.
- Improved cleaning of Hammer.js bindings.
- Fixed a bug in IE freezing when margin.item and margin.axis where both 0.
- Fixed moment.js url in localization example.
- Fixed some positioning issues with the close button of the manipulation menu.
- Added fontFill to Nodes as it is in Edges.
- Implemented support for broken image fallback. Thanks @sfairgrieve.
- Added multiline labels to edges as they are implemented in nodes. Updated multiline example to show this.
- Added animation and camera controls by the method .moveTo()
- Added new event that fires when the animation is finished.
- Added new example showing the new features of animation.
- Added getScale() method.
- Implemented support for templates.
- Implemented a new item type:
'background'
. This can be used to mark periods with a background color and label. - Implemented support for attaching HTML attributes to items. Thanks @dturkenk.
- Fixed moment.js url in localization example.
- Fixed
className
of groups not being updated when changed. - Fixed the
id
field of a new item not correctly generated. - Fixed newly added item ignored when returning an other object instance.
- Fixed option
autoResize
not working on IE in case of changing visibility of the Timeline container element. - Fixed an overflow issue with the dots of BoxItems when using groups.
- Fixed a horizontal 1-pixel offset in the items (border width wasn't taken into account).
- Renamed internal items from
ItemBox
,ItemRange
, andItemPoint
to respectivelyBoxItem
,RangeItem
, andPointItem
. - Fixed an error thrown when calling
destroy()
.
- Added localization support.
- Implemented option
clickToUse
. - Implemented function
focus(id)
to center a specific item (or multiple items) on screen. - Implemented an option
focus
forsetSelection(ids, options)
, to immediately focus selected nodes. - Implemented function
moveTo(time, options)
. - Implemented animated range change for functions
fit
,focus
,setSelection
, andsetWindow
. - Implemented functions
setCurrentTime(date)
andgetCurrentTime()
. - Implemented a new callback function
onMoving(item, callback)
. - Implemented support for option
align
for range items. - Fixed the
change
event sometimes being fired twice on IE10. - Fixed canceling moving an item to another group did not move the item back to the original group.
- Fixed the
change
event sometimes being fired twice on IE10. - Fixed canceling moving an item to another group did not move the item back to the original group.
- A fix in reading group properties for a node.
- Fixed physics solving stopping when a support node was not moving.
- Implemented localization support.
- Implemented option
clickToUse
. - Improved the
stabilized
event, it's now firing after every stabilization with iteration count as parameter. - Fixed page scroll event not being blocked when moving around in Network using arrow keys.
- Fixed an initial rendering before the graph has been stabilized.
- Fixed bug where loading hierarchical data after initialization crashed network.
- Added different layout method to the hierarchical system based on the direction of the edges.
- Implemented option
handleOverlap
to support overlap, sideBySide and stack. - Implemented two examples showing the
handleOverlap
functionality. - Implemented
customRange
for the Y axis and an example showing how it works. - Implemented localization support.
- Implemented option
clickToUse
. - Implemented functions
setCurrentTime(date)
andgetCurrentTime()
. - Implemented function
moveTo(time, options)
. - Fixed bugs.
- Added groups.visibility functionality and an example showing how it works.
- Refactored Timeline and Graph2d to use the same core.
- Added
visible
property to the groups. - Added
getLegend()
method. - Added
isGroupVisible()
method. - Fixed empty group bug.
- Added
fit()
andgetItemRange()
methods.
- Fixed items in groups sometimes being displayed but not positioned correctly.
- Fixed a group "null" being displayed in IE when not using groups.
- Fixed mass = 0 for nodes.
- 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.
- Disabled inheritColor when color information is set on an edge.
- Tweaked examples.
- 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.
- Removed global edge length definition form examples.
- Removed onclick and onrelease for navigation and switched to Hammer.js (fixing touchscreen interaction with navigation).
- Fixed error on adding an edge without having created the nodes it should be connected to (in the case of dynamic smooth curves).
- Refactored the code to commonjs modules, which are browserifyable. This allows to create custom builds.
- Implemented function
getVisibleItems()
, which returns the items visible in the current window. - Added options
margin.item.horizontal
andmargin.item.vertical
, which allows to specify different margins horizontally/vertically. - Removed check for number of arguments in callbacks
onAdd
,onUpdate
,onRemove
, andonMove
. - Fixed items in groups sometimes being displayed but not positioned correctly.
- Fixed range where the
end
of the first is equal to thestart
of the second sometimes being stacked instead of put besides each other whenitem.margin=0
due to round-off errors.
- Expanded smoothCurves options for improved support for large clusters.
- Added multiple types of smoothCurve drawing for greatly improved performance.
- Option for inherited edge colors from connected nodes.
- Option to disable the drawing of nodes or edges on drag.
- Fixed support nodes not being cleaned up if edges are removed.
- Improved edge selection detection for long smooth curves.
- Fixed dot radius bug.
- Updated max velocity of nodes to three times it's original value.
- Made "stabilized" event fire every time the network stabilizes.
- Fixed drift in dragging nodes while zooming.
- Fixed recursively constructing of hierarchical layouts.
- Added borderWidth option for nodes.
- Implemented new Hierarchical view solver.
- Fixed an issue with selecting nodes when the web page is scrolled down.
- Added Gephi JSON parser
- Added Neighbour Highlight example
- Added Import From Gephi example
- Enabled color parsing for nodes when supplied with rgb(xxx,xxx,xxx) value.
- Added .get() returnType option to return as JSON object, Array or Google DataTable.
-
Implemented support for displaying a
title
for both items and groups. -
Fixed auto detected item type being preferred over the global item
type
. -
Throws an error when constructing without new keyword.
-
Removed the 'rangeoverflow' item type. Instead, one can use a regular range and change css styling of the item contents to:
.vis.timeline .item.range .content { overflow: visible; }
-
Fixed the height of background and foreground panels of groups.
-
Fixed ranges in the Timeline sometimes overlapping when dragging the Timeline.
-
Fixed
DataView
not working in Timeline.
- Renamed
Graph
toNetwork
to prevent confusion with the visualizationsGraph2d
andGraph3d
.- Renamed option
dragGraph
todragNetwork
.
- Renamed option
- Now throws an error when constructing without new keyword.
- Added pull request from Vukk, user can now define the edge width multiplier when selected.
- Fixed
graph.storePositions()
. - Extended Selection API with
selectNodes
andselectEdges
, deprecatingsetSelection
. - Fixed multiline labels.
- Changed hierarchical physics solver and updated docs.
- Added first iteration of the Graph2d.
- Now throws an error when constructing without new keyword.
- Implemented function
destroy
to neatly cleanup a Timeline. - Implemented support for dragging the timeline contents vertically.
- Implemented options
zoomable
andmoveable
. - Changed default value of option
showCurrentTime
to true. - Internal refactoring and simplification of the code.
- Fixed property
className
of groups not being applied to related contents and background elements, and not being updated once applied.
- Reduced the timestep a little for smoother animations.
- Fixed dataManipulation.initiallyVisible functionality (thanks theGrue).
- Forced typecast of fontSize to Number.
- Added editing of edges using the data manipulation toolkit.
- Renamed option
convert
totype
.
- Select event now triggers repeatedly when selecting an already selected item.
- Renamed
Timeline.repaint()
toTimeline.redraw()
to be consistent with the other visualisations of vis.js. - Fixed
Timeline.clear()
not resetting a configuredoptions.start
andoptions.end
.
- Fixed error with zero nodes with hierarchical layout.
- Added focusOnNode function.
- Added hover option.
- Added dragNodes option. Renamed movebale to dragGraph option.
- Added hover events (hoverNode, blurNode).
- Ported Graph3D from Chap Links Library.
- Implemented option
minHeight
, similar to optionmaxHeight
. - Implemented a method
clear([what])
, to clear items, groups, and configuration of a Timeline instance. - Added function
repaint()
to force a repaint of the Timeline. - Some tweaks in snapping dragged items to nice dates.
- Made the instance of moment.js packaged with vis.js accessibly via
vis.moment
. - A newly created item is initialized with
end
property when optiontype
is"range"
or"rangeoverflow"
. - Fixed a bug in replacing the DataSet of groups via
Timeline.setGroups(groups)
. - Fixed a bug when rendering the Timeline inside a hidden container.
- Fixed axis scale being determined wrongly for a second Timeline in a single page.
- Added zoomable and moveable options.
- Changes setOptions to avoid resetting view.
- Interchanged canvasToDOM and DOMtoCanvas to correspond with the docs.
- Fixed width of items with type
rangeoverflow
. - Fixed a bug wrongly rendering invisible items after updating them.
- Added coordinate conversion from DOM to Canvas.
- Fixed bug where the graph stopped animation after settling in playing with physics.
- Fixed bug where hierarchical physics properties were not handled.
- Added events for change of view and zooming.
- Large refactoring of the Timeline, simplifying the code.
- Great performance improvements.
- Improved layout of box-items inside groups.
- Items can now be dragged from one group to another.
- Implemented option
stack
to enable/disable stacking of items. - Implemented function
fit
, which sets the Timeline window such that it fits all items. - Option
editable
can now be used to enable/disable individual manipulation actions (add
,updateTime
,updateGroup
,remove
). - Function
setWindow
now accepts an object with propertiesstart
andend
. - Fixed option
autoResize
forcing a repaint of the Timeline with every check rather than when the Timeline is actually resized. - Fixed
select
event fired repeatedly when clicking an empty place on the Timeline, deselecting selected items). - Fixed initial visible window in case items exceed
zoomMax
. Thanks @Remper. - Fixed an offset in newly created items when using groups.
- Fixed height of a group not reckoning with the height of the group label.
- Option
order
is now deprecated. This was needed for performance improvements. - More examples added.
- Minor bug fixes.
- Added recalculate hierarchical layout to update node event.
- Added arrowScaleFactor to scale the arrows on the edges.
- A DataSet can now be constructed with initial data, like
new DataSet(data, options)
.
- Fixed IE9 bug.
- Style fixes.
- Minor bug fixes.
- Fixed color bug.
- Added pull requests from kannonboy and vierja: tooltip styling, label fill color.
- Fixed edge select bug.
- Fixed zoom bug on empty initialization.
- Fixed edge color bug.
- Fixed select event bug.
- Clarified docs, stressing importance of css inclusion for correct display of navigation an manipulation icons.
- Improved and expanded playing with physics (configurePhysics option).
- Added highlights to navigation icons if the corresponding key is pressed.
- Added freezeForStabilization option to improve stabilization with cached positions.
- Changed navigation CSS. Icons are now always correctly positioned.
- Added stabilizationIterations option to graph.
- Added storePosition() method to save the XY positions of nodes in the DataSet.
- Separated allowedToMove into allowedToMoveX and allowedToMoveY. This is required for initializing nodes from hierarchical layouts after storePosition().
- Added color options for the edges.
- Bugfix graphviz examples.
- Bugfix labels position for smooth curves.
- Tweaked graphviz example physics.
- Updated physics documentation to stress importance of configurePhysics.
- Fixed a bug with options
margin.axis
andmargin.item
being ignored when setting them to zero. - Some clarifications in the documentation.
- Added Physics Configuration option. This makes tweaking the physics system to suit your needs easier.
- Click and doubleClick events.
- Initial zoom bugfix.
- Directions for Hierarchical layout.
- Refactoring and bugfixes.
- Fixed broken bower module.
- Editable Items: drag items, add new items, update items, and remove items.
- Implemented options
selectable
,editable
. - Added events
timechange
andtimechanged
when dragging the custom time bar. - Multiple items can be selected using ctrl+click or shift+click.
- Implemented functions
setWindow(start, end)
andgetWindow()
. - Fixed scroll to zoom not working on IE in standards mode.
- Editable nodes and edges: create, update, and remove them.
- Support for smooth, curved edges (on by default).
- Performance improvements.
- Fixed scroll to zoom not working on IE in standards mode.
- Added hierarchical layout option.
- Overhauled physics system, now using Barnes-Hut simulation by default. Great performance gains.
- Modified clustering system to give better results.
- Adaptive performance system to increase visual performance (60fps target).
- Renamed functions
subscribe
andunsubscribe
toon
andoff
respectively.
- Implemented functions
on
andoff
to create event listeners for eventsrangechange
,rangechanged
, andselect
. - Implemented function
select
to get and set the selected items. - Items can be selected by clicking them, muti-select by holding them.
- Fixed non working
start
andend
options.
- Fixed longstanding bug in the force calculation, increasing simulation stability and fluidity.
- Reworked the calculation of the Graph, increasing performance for larger datasets (up to 10x!).
- Support for automatic clustering in Graph to handle large (>50000) datasets without losing performance.
- Added automatic initial zooming to Graph, to more easily view large amounts of data.
- Added local declustering to Graph, freezing the simulation of nodes outside of the cluster.
- Added support for key-bindings by including mouseTrap in Graph.
- Added navigation controls.
- Added keyboard navigation.
- Implemented functions
on
andoff
to create event listeners for eventselect
.
- Moved the generated library to folder
./dist
- Css stylesheet must be loaded explicitly now.
- Implemented options
showCurrentTime
andshowCustomTime
. Thanks @fi0dor. - Implemented touch support for Timeline.
- Fixed broken Timeline options
min
andmax
. - Fixed not being able to load vis.js in node.js.
- Implemented full touch support for Graph.
- Fixed initial empty range in the Timeline in case of a single item.
- Fixed field
className
not working for items.
- Added support for DataSet to Graph. Graph now uses an id based set of nodes and edges instead of a row based array internally. Methods getSelection and setSelection of Graph now accept a list with ids instead of rows.
- Graph is now robust against edges pointing to non-existing nodes, which can occur easily while dynamically adding/removing nodes and edges.
- Implemented basic support for groups in the Timeline.
- Added documentation on DataSet and DataView.
- Fixed selection of nodes in a Graph when the containing web page is scrolled.
- Improved date conversion.
- Renamed DataSet option
fieldTypes
toconvert
. - Renamed function
vis.util.cast
tovis.util.convert
.
- First working version of the Graph imported from the old library.
- Documentation added for both Timeline and Graph.
- Performance improvements: only visible items are rendered.
- Minor bug fixes and improvements.
- Sanitized the published packages on npm and bower.
- Css is now packaged in the javascript file, and automatically loaded.
- The library uses node style dependency management for modules now, used with Browserify.
- First working version of the Timeline.
- Website created.