You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/assets/diagrams/README.md

797 B

Spec diagrams

Non-ascii diagrams for the spec can be placed here for reference in the actual spec. Please include source material so the diagram can be recreated by a future editor.

https://www.diagrams.net/ is a great (open source) tool for these sorts of things - include your .drawio file next to your diagram.

Suggested settings for diagrams.net:

  • Export as WebP.
  • 200% size.
  • 20 for a border width.
  • Light appearance.
  • No shadow, or grid.

To reference a diagram, use the diagram shortcode. For example:

{{% diagram name="membership" alt="Diagram presenting the possible membership state transitions" %}}

Where name is the file name without extension, and alt is a textual replacement for the image, useful for accessibility.