React Sankey - Methods

Methods used to control the sankey node.

hideTooltip()

Hides the sankey node's tooltip.

See Also

hover(state)

Changes the sankey node's hover state.

Parameters:
state:

Boolean

true sets the sankey node's state to hovered; false - normal state.

isHovered()

Indicates whether the sankey node is in the hover state.

Return Value:

Boolean

true if the sankey node is in the hover state; otherwise false.

showTooltip()

Shows the sankey node's tooltip.

See Also