From 5efb951073b961d5811a78980bd024a1dd31e84b Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Sun, 15 May 2016 23:01:19 +0700 Subject: [PATCH] docs: update graph --- README.md | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index beb6ad2..362f0a3 100644 --- a/README.md +++ b/README.md @@ -63,18 +63,22 @@ document.body.appendChild(tree) `send()` when done to handle results - __subscriptions:__ streams of data that can either be written to or read from ```txt - ┌─────────────────┐ - ┌─▶│ Subscriptions │──┐ - │ └─────────────────┘ │ - │ ┌─────────────────┐ │ - ├─▶│ Effects │──┤ - │ └─────────────────┘ │ -┌──────────┐ │ ┌──────────┐ │ ┌───────┐ ┌──────┐ -│ Reducers │◀────┴──────│ Models │◀────┴─────│ DOM │◀──│ User │ -└──────────┘ Action └──────────┘ Action └───────┘ └──────┘ - │ ┌────────┐ ┌───────┐ ▲ - └───────────▶│ Router │──▶│ Views │──────────┘ - State └────────┘ └───────┘ DOM tree + ┌─────────────────────────────────┐ + │ │ + │ ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐ │ ┌────────┐ + │ ┌─────────────────┐ │ │ User │ + ├────┼─│ Subscriptions │ │ │ └────────┘ + │ └─────────────────┘ │ │ + │ │ │ │ ▼ + │ ┌─────────────────┐ │ ┌────────┐ ┌────────┐ + └────┼─│ Effects │ │◀─────┴──────│ DOM │◀───────────│ Views │ + └─────────────────┘ Action └────────┘ DOM tree └────────┘ + │ │ ▲ + ┌─────────────────┐ ┌────────┐ │ + │ │ Reducers │─┼────────────▶│ Router │─────────────────┘ + └─────────────────┘ State └────────┘ State + └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ + Model ``` ## Side effects