vis v4.21.0 Release Notes

Release Date: 2017-10-12 // over 6 years ago
  • General

    • โž• Added #3394: Adds unit tests for add, setOptions and on/off DataSet
    • ๐Ÿ›  FIX #3406: Eliminate possibility of 'window is undefined' during travis test
    • โž• Added #3402: added @macleodbroad-wf to the support team
    • REFA #3442: Strapping down of Extend-routines in util.js
    • ๐Ÿ›  FIX #3392: Addresses TODOs in Queue unit test by adding unit tests for setOptions and destroy
    • โž• Added #3354: Adds missing jsdoc and adds lint rule require-jsdoc to build process
    • โž• Added #3331 - Enable linting for Travis
    • โž• Added #3312, #3311, #3310, #3309, #3308, #3304 - Add lint
    • โž• Added #3230 - Enable 'eslint'
    • โž• Added #3262 - Upgrade packages and tools for Travis unit testing
    • โž• Added #3287: Update module versions to latest stable
    • โž• Added #3295: Update the webpack example

    Network

    • ๐Ÿ›  FIX #3554: Relax clustering condition for adding already clustered nodes to cluster
    • ๐Ÿ›  FIX #3517: Retain constraint values in label font handling
    • ๐Ÿ”จ REFA #3507: Cleanup and refactoring PhysicsEngine
    • ๐Ÿ›  FIX #3500: re-adds edges if they are now connected and add does not add invalid edges
    • ๐Ÿ›  FIX #3486: Add extra check on null value during label handling
    • FEAT #824: Network detect clicks on labels
    • ๐Ÿ›  FIX #3474: Adjust documentation for arrows.middle.scaleFactor
    • ๐Ÿ›  FIX #3483: Prevent image loading for hidden cluster nodes
    • ๐Ÿ›  FIX #3408, #2677: Fix handling of multi-fonts
    • ๐Ÿ›  FIX #3425: IE performance improvements
    • ๐Ÿ›  FIX #3356 and #3297: IE11 svg image fixes
    • ๐Ÿ›  FIX #3474: Make negative scaleFactor reverse middle arrow correctly
    • ๐Ÿ›  FIX #3464: Fix handling of space before huge word in label text
    • ๐Ÿ›  FIX #3467: Adjust for-in loops so they can deal with added properties in Array and Object prototype
    • FEAT #3412: Add endpoint 'bar' to Network
    • ๐Ÿ›  FIX #3403: Fixes sorting on Layout, refactoring
    • ๐Ÿ›  FIX #3421: Added default sizes for nodes without labels
    • FEAT #3418: Added new Hexagon shape in the Network
    • FEAT #3368: Cluster node handling due to dynamic data change
    • ๐Ÿ›  FIX #3395: Allow for multiline titles
    • ๐Ÿ›  FIX #3367: Network Clustering fixes on usage joinCondition for clusterOutliers()
    • ๐Ÿ›  FIX #3350: Fix setting of edge color options via Network.setOptions()
    • ๐Ÿ’… FEAT #3348: Add edge styles support for DOT lib
    • ๐Ÿ›  FIX #2839: Re-words documentation to reflect symmetrical input/output of get() when passed multiple ids
    • ๐Ÿ›  FIX #3316: Updates network documentation to account for edge
    • ๐Ÿ›  FIX #1218, #1291, #1315: Dynamically adjust clustering when data changes
    • ๐Ÿ›  FIX #2311: Block recalculation of level in LayoutEngine._determineLevelsDirected()
    • ๐Ÿ›  FIX #3280: Cleanup mergeOptions() and fix missing ref on globalOptions in mergeOptions()
    • FEAT #3131: Added dragStart event for adding edges
    • ๐Ÿ›  FIX #3171 and #3185: Fix infinite loop on drawing of large labels
    • ๐Ÿ›  FIX #3220: Update hierarchy when node level changes
    • ๐Ÿ›  FIX #3245: Multiple base edges in clustered edge
    • FEAT #1222: Add pointer data to hover events
    • ๐Ÿ”จ REFA #3106: Refactoring and unit testing of Validator module
    • ๐Ÿ”จ REFA #3227: Refactor LayoutEngine for further work
    • ๐Ÿ›  FIX #3164: make 'hidden' and 'clustered' play nice together
    • ๐Ÿ›  FIX #2579: Allow DOM elements for node titles
    • ๐Ÿ›  FIX #2856: Fix manipulation examples for Network

    Graph2D

    • ๐Ÿ›  FIX #1852: Correct documentation for graph2dโ€™s moveTo function

    Graph3D

    • ๐Ÿ›  FIX #3467: Adjust for-in loops so they can deal with added properties in Array and Object prototypes
    • FEAT #3099: Add option definitions and validation to Graph3d
    • ๐Ÿšš REFA #3159: move Filter into DataGroup
    • โœ… FEAT #3255: Add unit tests for Graph3D issue
    • ๐Ÿ›  FIX #3251: Graph3d put guards before unsubscription in DataGroup
    • ๐Ÿ›  FIX #3255: Fix missing reference to Graph3D instance in DataGroup

    Timeline

    • FEAT #3529: On timeline loaded
    • FEAT #3505: Drag object in to item
    • FEAT #3050: Allow disabling of RangeItem limitSize
    • ๐Ÿ›  FIX #3475: Item Redraw Performance - Bug Fix
    • ๐Ÿ›  FIX #3504: Fixing a bug with the timing of the final setting of the vertical scroll position
    • ๐Ÿ›  FIX #3509: Added describe sections to PointItem unit tests
    • ๐Ÿ›  FIX #2851: Vertical focus
    • FEAT #620: Subgroup stacking
    • ๐Ÿ›  FIX #3475: Improve Item redraw and initial draw performance
    • ๐Ÿ›  FIX #3409: Group redraw performance
    • FEAT #3428: Adds locale for Chinese (cn)
    • ๐Ÿ›  FIX #3405: fix orientation option
    • ๐Ÿ›  FIX #3360: Add performance tips to timeline docs
    • ๐Ÿ›  FIX #3378: Add item with ctrlKey/metaKey when dagging on a selected item
    • ๐Ÿ›  FIX #3126: Nested groups order logic
    • ๐Ÿ›  FIX #3246: Fix issue when showMajorLabels == false is used with a weekly scale and weekly scale minor label fix
    • ๐Ÿ›  FIX #3342: Bug fix for null parent
    • ๐Ÿ›  FIX #2123: Disable the default handling of the pinch event when handling it
    • ๐Ÿ›  FIX #3169: add parenthesis around ternary
    • ๐Ÿ›  FIX #3249: Only draw non-visible items once when they are loaded, instead of continuously every frame
    • FEAT #3162: Bidirectional scrolling in timeline - make horizontalScroll and verticalScroll work together

Previous changes from v4.20.1

  • General

    • โž• Added Release checklist
    • โž• Added collapsible items for objects in graph3d doc

    Network

    • ๐Ÿ›  FIX #3203: Set dimensions properly of images on initialization
    • ๐Ÿ›  FIX #3198: Small fix on ref usage in DataGroup
    • ๐Ÿ›  FIX #3170: Refactoring of Node Drawing
    • ๐Ÿ›  FIX #3108: Reverse nodes returned with 'from' and 'to' directions
    • ๐Ÿ›  FIX #3122: Refactored line drawing for Bezier edges
    • ๐Ÿ›  FIX #3121: Refactoring of BezierEdgeStatic._getViaCoordinates()
    • ๐Ÿ›  FIX #3088: Consolidate code for determining the pixel ratio
    • ๐Ÿ›  FIX #3036: Smooth type 'dynamic' adjusted for node-specific option in hierarchical
    • ๐Ÿ›  FIX #1105: Fix usage of clustering with hierarchical networks
    • ๐Ÿ›  FIX #3133: Protect Network from zero and negative mass values
    • ๐Ÿ›  FIX #3163: Prevent crashes from invalid id's in Clustering.findNode()
    • ๐Ÿ›  FIX #3106: Ensure start and end of stabilization progress events is sent
    • ๐Ÿ›  FIX #3015: Properly handle newline escape sequences in strings for DOT
    • ๐Ÿ›  FIX Refactoring of LayoutEngine
    • ๐Ÿ›  FIX #2990: Edge labels turn bold on select and hover
    • ๐Ÿ›  FIX #2959: Changed order of (de)select events for network
    • ๐Ÿ›  FIX #3091: Added param 'direction' to Network.getConnectedNodes()
    • ๐Ÿ›  FIX #3085: Add prefix to cancelAnimationFrame()

    Graph3D

    • ๐Ÿ›  FIX #2804: Add data group class to Graph3d

    Timeline

    • ๐Ÿ›  FIX #3172: Fix stacking when setting option
    • ๐Ÿ›  FIX #3183: Fixes a race condition that set an item's group to be set to undefined
    • FEAT #3154: Caching to Range getMillisecondsPerPixel function
    • ๐Ÿ›  FIX #3105: Adjusting timeline TimeStep.roundToMinor
    • FEAT #3107: Allow overriding align per item