From fc3b135cbb46903076e9b2ee05774b95ff419846 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 23 Dec 2014 14:50:34 +0000 Subject: [PATCH] Ascii art for object model --- drafts/object_model.rst | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/drafts/object_model.rst b/drafts/object_model.rst index 9c558e357..1ae60b2c6 100644 --- a/drafts/object_model.rst +++ b/drafts/object_model.rst @@ -1 +1,28 @@ -. + + + + +:: + + +---------------+ + | Room | + | "Room-ID" | + | {State} | +----------------------+ + | Name------|-------->| Event m.room.name | + | Topic | | "Name" | + | [Aliases] | +----------------------+ +-------------+ + | [Members]-|---+ +----------------------+ <----| Start Token | + | [Messages] | | | Event m.room.member | +-------------+ + | | | | +---->| "invite/join/ban" | + +---------------+ | "User-ID" | + | | +----------------------+ + | | +----------------------+ + | | Message | Event m.room.message | + | +-------------->| {content} |<--+ + | +----------------------+ | + | Comment +----------------------+ | + +------------------>| Event m.room.message | | + | {content} | | + | "relates-to"-------|---+ +-------------+ + +----------------------+ <----| End Token | + +-------------+