Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

[flutter]: EditableTextLine render graph

appflowy5c0abd915c7a
diff --git a/doc/EDITOR.md b/doc/EDITOR.md
new file mode 100644
index 0000000000..f24f432344
--- /dev/null
+++ b/doc/EDITOR.md
@@ -0,0 +1,33 @@
+
+
+```
+// Widget Element RenderObject
+//
+// │ │
+//
+// ┌─────────────────────┐ │ ┌────────────────────────┐ │ ┌─────────────────────────┐
+// │ RenderObjectWidget │◀────────────│ _TextLineElement │─────▶│ RenderEditableTextLine │
+// └─────────────────────┘ │ └────────────────────────┘ │ └─────────────────────────┘
+// △ │ │
+// │ │ │ │ ┌─────────▽────────┐
+// │ ▽ │RenderEditableBox │
+// ┌────────────────────┐ │ ┌──────────────────────┐ │ └──────────────────┘
+// ┌──│ EditableTextLine │ │ RenderObjectElement │ │
+// │ └────────────────────┘ │ └──────────────────────┘ │ ▽
+// │ ┌────────────┐
+// │ │ │ │ RenderBox │
+// │ └────────────┘
+// │ body ┌────────────┐ │ │ │
+// ├──────────▶│ TextLine │ ▽
+// │ └────────────┘ │ │ ┌─────────────┐
+// │ │RenderObject │
+// │ ┌────────────┐ │ │ └─────────────┘
+// └──────────▶│ Line │
+// └────────────┘ │ │
+//
+// │ │ Layout, size, painting and
+// Widget: holds the config for a Represents an actual comositing
+// piece of UI. │ piece of UI │
+//
+//
+```