sheet and orientation - modelint/flatland-model-diagram-editor GitHub Wiki

The sheet and orientation keywords define the surface upon which the diagram is drawn.

Syntax

sheet <sheet_size_name>
orientation [ portrait | landscape ]

Where the <sheet_size_name> is a size defined in the Flatland database.

Infinite is not an option because a PDF is finite. Flatland is not an editor, but a diagram generator, so it can’t do much with ‘infinite’. A future version of Flatland may, however, provide the option to compute the size for you. For now, we’ll leave ‘infinity and beyond’ for Pixar characters.

NOTE: Since Flatland is currently using the Cairo graphics library, which supports a variety of output formats, it shouldn't be a big deal to produce SVG, HTML and any other format that Cairo supports in the near future.

Example

sheet A4
orientation portrait

Current support

Many standard international and US sheet sizes are currently supported such as letter (8.5 x 11 in), tabloid (11 x 17 in), Architectural A-E and A0-A4

User extension

The user will be able to define custom sizes by editing a YAML file.