Skip to contents

An incomplete list of standard D2 syntax keywords for reference and internal validation. Last updated 2026-04-08 for compatibility with version v0.7.1. Named elements include: layout, theme, fileext, connector, arrowhead, direction, style, visibility, and grid.

Usage

keys_d2

Format

A length 11 named list.