Hierarchy

Properties

adsorb?: [number, number]
destroy?: ((node: InstanceNode) => void)

Type declaration

linkPoints?: { isPixel?: boolean; x: number; y: number }[]
render?: (<T>(data: InstanceNode) => SVGGElement)

Type declaration

    • <T>(data: InstanceNode): SVGGElement
    • 默认渲染函数 data,snapPaper

      Type Parameters

      • T

      Parameters

      Returns SVGGElement

renderLinkPoint?: ((node: InstanceNode, point: InstanceNodePoint) => InstanceNodePoint)

Type declaration

Generated using TypeDoc