Repository navigation
Appearance and Backgrounds
This page explains how to change the size, the screen mode, and the background of a diagram.
Each diagram has a screen mode. Choose it from the Screen mode menu in the diagram's toolbar.
| Mode | What it does |
|---|---|
| Fit | Scales the diagram to fit the space. This is the default. |
| Normal | Shows the diagram at its natural size. |
| Full screen | Shows the diagram across the whole screen. |
To set the default mode for a diagram, add mode: fit or mode: normal to the diagram block.
To limit the size of a diagram, add height or width to the block:
height: 60vh
width: 80%
-
heightaccepts a value in viewport height (vh) or pixels (px). For example,60vhor500px. -
widthaccepts a value in percent (%), viewport width (vw), or pixels (px). For example,70%,80vw, or900px. - The diagram is centred when you set a width.
Diagrams follow your Obsidian theme. Drawings made in draw.io use a background sheet, which you can choose as described below.
Drawings made in draw.io keep their own colours. You can choose the sheet behind them in three places:
- Settings: Open Settings, then FlowMotion. Choose one background for light mode, and another for dark mode.
-
Per diagram: Use the Background menu in the diagram's toolbar. It writes a
paper:line into the diagram block. -
In the block: Add a
paper:line. You can use one of these values:-
lightfor a white sheet -
darkfor a dark sheet -
noneto follow the Obsidian theme - A colour, such as
paper: "#f4f1ea"
-
If you do not choose a background, FlowMotion uses the setting for the current theme.
In presentations, FlowMotion fits the diagram to the slide automatically. The Normal mode is not offered there. See Presentations.
© 2026 @vrsarin. FlowMotion documentation.