Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "src/Node/index"

Index

Classes

Type aliases

Type aliases

NodeEventHandler

NodeEventHandler: (hierarchyPointNode: HierarchyPointNode<TreeNodeDatum>, evt: SyntheticEvent) => void

Type declaration

    • (hierarchyPointNode: HierarchyPointNode<TreeNodeDatum>, evt: SyntheticEvent): void
    • Parameters

      • hierarchyPointNode: HierarchyPointNode<TreeNodeDatum>
      • evt: SyntheticEvent

      Returns void

NodeProps

NodeProps: { centerNode: (hierarchyPointNode: HierarchyPointNode<TreeNodeDatum>) => void; data: TreeNodeDatum; enableLegacyTransitions: boolean; handleAddChildrenToNode: (nodeId: string, children: RawNodeDatum[]) => void; hierarchyPointNode: HierarchyPointNode<TreeNodeDatum>; nodeClassName: string; nodeSize: { x: number; y: number }; onNodeClick: NodeEventHandler; onNodeMouseOut: NodeEventHandler; onNodeMouseOver: NodeEventHandler; onNodeToggle: (nodeId: string) => void; orientation: Orientation; parent: HierarchyPointNode<TreeNodeDatum> | null; position: Point; renderCustomNodeElement: RenderCustomNodeElementFn; subscriptions: object; transitionDuration: number }

Type declaration

NodeState

NodeState: { initialStyle: { opacity: number }; transform: string; wasClicked: boolean }

Type declaration

  • initialStyle: { opacity: number }
    • opacity: number
  • transform: string
  • wasClicked: boolean

Generated using TypeDoc