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.
Name | Description | Type | Default |
---|---|---|---|
bindType | -- | "node" | "edge" | node |
children | -- | React.ReactChild | JSX.Element | -- |
style | -- | CSSProperties | -- |
placement | -- | "top" | "bottom" | "right" | "left" | "center" | -- |
hasArrow | display arrow | boolean | -- |