Skip to content
  1. API
  2. Types

NeighborMergingOptions

Type: object

Properties

  • options

    • dataFunction(optional) function(node: Node): object|undefined If unspecified or if it returns undefined, no data is added to the neighbors.
    • selector function(node: Node): boolean Function indicating which nodes will be merged.
  • duration(optional) number[=0]

  • easing(optional) EasingFunction[="quadraticOut"] Animation easing function.

  • enabled(optional) boolean[=true]