DocsThe rendering protocol
The rendering protocol
docs/rendering-protocol/index.mdDraft introduction — waiting for Elco's words.
On this page
A view is the person's glasses: it joins pieces of data to dimensions. The current format is view/v2. The person can change those choices without changing the data.
Read the view contract below for the dimensions and their kinds. It includes historical implementation notes; those notes describe their dated stage, not a guarantee about today's renderer.
Current view vocabulary
Generated from core’s view definitions. A format accepting a dimension does not mean every renderer draws it.
| Dimension | Accepts | Default data |
|---|---|---|
| height | amount, count, share | share |
| width | amount, count, share | Off |
| order | amount, count, share, category | share |
| colour | category, amount, count, share | kind |
| outline | flag, category | identity |
| texture | flag, category | Off |
| markings | count, flag | Off |
| segments | parts | Off |
| lines | relation | Off |
| labels | category | identity |