Skip to content

NodeInteractionLayer

Unofficial

Layer that handles user interactions with canvas nodes, such as resizing and connecting.

Import:

import type { NodeInteractionLayer } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface NodeInteractionLayer

Properties

Property Type Description
canvas CanvasViewCanvas Reference to the parent canvas instance.
interactionEl HTMLDivElement HTML element used for rendering interaction handles.
target null Currently targeted node for interaction, or null if none.

Methods

Method Returns Description
render() unknown Render the interaction handles for the current target node.
setTarget(arg1) unknown Set the target node for interaction.

Links to this page: