Skip to content

CanvasViewDataEdge

Unofficial

Serialized data representation of an edge (connection) between two nodes in the canvas.

Import:

import type { CanvasViewDataEdge } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface CanvasViewDataEdge

Properties

Property Type Description
fromNode string ID of the source node.
fromSide string obsidian#Side of the source node where the edge originates (e.g., 'top', 'bottom', 'left', 'right').
id string Unique identifier for this edge.
toNode string ID of the target node.
toSide string obsidian#Side of the target node where the edge terminates (e.g., 'top', 'bottom', 'left', 'right').

Links to this page: