Skip to content

CanvasFileData

Defined in: canvas.d.ts:37

A node that is a file, where the file is located somewhere in the vault.

Extends

Indexable

[key: string]: any

Properties

color?

optional color: string

Defined in: canvas.d.ts:28

The color of this node

Inherited from

CanvasNodeData.color


file

file: string

Defined in: canvas.d.ts:39


height

height: number

Defined in: canvas.d.ts:26

Inherited from

CanvasNodeData.height


id

id: string

Defined in: canvas.d.ts:21

The unique ID for this node

Inherited from

CanvasNodeData.id


subpath?

optional subpath: string

Defined in: canvas.d.ts:41

An optional subpath which links to a heading or a block. Always starts with a #.


type

type: "file"

Defined in: canvas.d.ts:38


width

width: number

Defined in: canvas.d.ts:25

Inherited from

CanvasNodeData.width


x

x: number

Defined in: canvas.d.ts:23

Inherited from

CanvasNodeData.x


y

y: number

Defined in: canvas.d.ts:24

Inherited from

CanvasNodeData.y