Tooltip

Note⚠️: Starting from graphin version 2.6.0, we have built this component from @antv/graphin-components into @antv/graphin, please refer to [release documentation](https://www.yuque .com/antv/gi/gstoyh)

Tooltip is an interactive component for quickly accessing nodes or edges information. By hovering over a node or edge, a display box appears with detailed information about an element. The tooltip disappears on mouse leave.

设置placement
是否需要小箭头
设置样式 ( JSON 格式 )

API

NameDescriptionTypeDefault
bindType--"node" | "edge"node
children--React.ReactChild | JSX.Element--
style--CSSProperties--
placement--"top" | "bottom" | "right" | "left" | "center"--
hasArrowdisplay arrowboolean--