vis v4.21.0 Release Notes

Release Date: 2017-10-12 // almost 3 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