Skip to content
  1. API
  2. Types

TooltipOptions

Type: object

Properties

  • options(optional)
    • autoAdjust(optional) boolean[=true] When the mouse is at the edge of the screen, indicates if the tooltip position should be corrected so it fits in the canvas.
    • className(optional) string If specified, this class name will be added to tooltip.
    • delay(optional) number[=0] Delay in milliseconds before the tooltip is shown when the node is hovered.
    • position(optional) "top"|"bottom"|"left"|"right"|"cssDefined"[="top"] Position of the tooltip relative to the mouse. If "cssDefined" is specified, the tooltip will only be added to the graph container without positioning it.