Skip to content
  1. API
  2. Types

InputTarget

Type: Node|Edge|null

Element that is clicked/hovered. If it's not null, you can check if it's a node or an edge with their isNode property.