Skip to content

CanvasViewDataNode

Unofficial

Serialized data for a canvas node.

Import:

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

Signature:

export interface CanvasViewDataNode extends CanvasViewCanvasNodeUnknownData

Extends: CanvasViewCanvasNodeUnknownData

Properties

PropertyTypeDescription
filestringPath to the associated file.
(Inherited from CanvasViewCanvasNodeUnknownData)
heightnumberHeight of the node in pixels.
idstringUnique identifier of the node.
(Inherited from CanvasViewCanvasNodeUnknownData)
subpath?unknownSubpath within the file (e.g. heading or block reference).
typestringType of the canvas node (e.g. "text", "file", "link", "group").
(Inherited from CanvasViewCanvasNodeUnknownData)
widthnumberWidth of the node in pixels.
xnumberX position of the node on the canvas.
ynumberY position of the node on the canvas.

Links to this page: