Search
Preparing search index...
The search index is not available
react-d3-tree - v3.6.2
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"src/Node/index"
Module "src/Node/index"
Index
Classes
Node
Type aliases
Node
Event
Handler
Node
Props
Node
State
Type aliases
Node
Event
Handler
Node
Event
Handler
:
(
hierarchyPointNode
:
HierarchyPointNode
<
TreeNodeDatum
>
, evt
:
SyntheticEvent
)
=>
void
Type declaration
(
hierarchyPointNode
:
HierarchyPointNode
<
TreeNodeDatum
>
, evt
:
SyntheticEvent
)
:
void
Parameters
hierarchyPointNode:
HierarchyPointNode
<
TreeNodeDatum
>
evt:
SyntheticEvent
Returns
void
Node
Props
Node
Props
:
{
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
center
Node
:
(
hierarchyPointNode
:
HierarchyPointNode
<
TreeNodeDatum
>
)
=>
void
(
hierarchyPointNode
:
HierarchyPointNode
<
TreeNodeDatum
>
)
:
void
Parameters
hierarchyPointNode:
HierarchyPointNode
<
TreeNodeDatum
>
Returns
void
data
:
TreeNodeDatum
enable
Legacy
Transitions
:
boolean
handle
Add
Children
ToNode
:
(
nodeId
:
string
, children
:
RawNodeDatum
[]
)
=>
void
(
nodeId
:
string
, children
:
RawNodeDatum
[]
)
:
void
Parameters
nodeId:
string
children:
RawNodeDatum
[]
Returns
void
hierarchy
Point
Node
:
HierarchyPointNode
<
TreeNodeDatum
>
node
Class
Name
:
string
node
Size
:
{
x
:
number
;
y
:
number
}
x
:
number
y
:
number
on
Node
Click
:
NodeEventHandler
on
Node
Mouse
Out
:
NodeEventHandler
on
Node
Mouse
Over
:
NodeEventHandler
on
Node
Toggle
:
(
nodeId
:
string
)
=>
void
(
nodeId
:
string
)
:
void
Parameters
nodeId:
string
Returns
void
orientation
:
Orientation
parent
:
HierarchyPointNode
<
TreeNodeDatum
>
|
null
position
:
Point
render
Custom
Node
Element
:
RenderCustomNodeElementFn
subscriptions
:
object
transition
Duration
:
number
Node
State
Node
State
:
{
initialStyle
:
{
opacity
:
number
}
;
transform
:
string
;
wasClicked
:
boolean
}
Type declaration
initial
Style
:
{
opacity
:
number
}
opacity
:
number
transform
:
string
was
Clicked
:
boolean
Globals
"src/
Link/index"
"src/
Node/
Default
Node
Element"
"src/
Node/index"
"src/
Tree/
Transition
Group
Wrapper"
"src/
Tree/index"
"src/
Tree/types"
"src/index"
"src/types/common"
Node
Node
Event
Handler
Node
Props
Node
State
Generated using
TypeDoc