Figma files
Every file in Figma consists of a tree of nodes. At the root of every file is a DOCUMENT
node, and from that node stems any CANVAS
nodes. Every canvas node represents a PAGE
in a Figma file. A canvas node can then have any number of nodes as its children. Each subtree stemming from a canvas node will represent a layer (e.g an object) on the canvas.
Nodes have a number of properties associated with them. Some of these are global properties, that exist on every node, whereas other node properties will be specific to the type of node.
Global properties
The following are properties that exist on every node. These give us some basic information about identifying and viewing the node.
Node type | Properties |
---|---|
Node |
|