hunk.code_window:       if (this._parents[i] instanceof Animated)
           this._parents[i].__removeChild(this)
     }
     interpolate(config) {
       return new AnimatedInterpolation(this, config)
     }
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:   __update(config) {
       this._interpolation = Interpolation.create(config)
       return this
     }
  
hunk.file_path: src/animated/AnimatedInterpolation.js
hunk.type: add
file: import React from 'react'
  import cx from 'classnames'
  import { Group } from '@vx/group'
  import { partition as d3partition } from 'd3-hierarchy'
  import { HierarchyDefaultNode as DefaultNode } from '@vx/hierarchy'
  
  export default function Partition({
    top,
    left,
    className,
    root,
    size,
    round,
    padding,
    children,
    nodeComponent = DefaultNode,
    ...restProps
  }) {
    const partition = d3partition()
    if (size) partition.size(size)
    if (round) partition.round(round)
    if (padding) partition.padding(padding)
  
    const data = partition(root)
    const links = data.links()
    const descendants = root.descendants()
  
    return (
      <Group top={top} left={left} className={cx('vx-partition', className)}>
        {children}
      </Group>
    )
  }
  