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/static/diagrams
Travis Ralston fd2340a4da Fix membership state table and diagram (#3730)
* Fix membership state table and diagram

There were 2 missing cases which are legal:
* `invite->knock` (a fairly silly thing to do, but legal under the auth rules)
* `external->leave (via /kick)` (another somewhat silly thing to do, but no different than `external->ban (via /ban)`)

The state table considered the first as illegal, which is untrue.

* Changelog

* Make the graph prettier

* Update changelogs/client_server/newsfragments/3730.clarification

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2 years ago
..
README.md Add knocking to the spec 3 years ago
membership.drawio Fix membership state table and diagram (#3730) 2 years ago
membership.png Fix membership state table and diagram (#3730) 2 years ago

README.md

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 PNG.
  • 100% size.
  • 20 for a border width.
  • No transparent background, shadow, or grid.
  • Include a copy of the diagram.

To reference a diagram, use the absolute path when compiled. For example, ![membership-flow-diagram](/diagrams/membership.png)