CanvasViewDataNode
Unofficial
Serialized data for a canvas node.
Import:
import type { CanvasViewDataNode } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface CanvasViewDataNode extends CanvasViewCanvasNodeUnknownDataExtends: CanvasViewCanvasNodeUnknownData
Properties
| Property | Type | Description | |
|---|---|---|---|
| file | string | Path to the associated file. (Inherited from CanvasViewCanvasNodeUnknownData) | |
| height | number | Height of the node in pixels. | |
| id | string | Unique identifier of the node. (Inherited from CanvasViewCanvasNodeUnknownData) | |
| subpath? | unknown | Subpath within the file (e.g. heading or block reference). | |
| type | string | Type of the canvas node (e.g. "text", "file", "link", "group"). (Inherited from CanvasViewCanvasNodeUnknownData) | |
| width | number | Width of the node in pixels. | |
| x | number | X position of the node on the canvas. | |
| y | number | Y position of the node on the canvas. |
Links to this page: