Skip to content

Commit

Permalink
Simpler chart
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfagnani committed Nov 9, 2023
1 parent c1aebe3 commit 90c77ed
Showing 1 changed file with 24 additions and 31 deletions.
55 changes: 24 additions & 31 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,29 @@ These workers and iframes are controlled by various Playground elements like `<p

```mermaid
flowchart TD
IDE{{playground-ide}};
subgraph Project;
ProjectElement{{playground-project}};
WebWorker(Build Worker);
ProxyIframe[Proxy iframe];
end;
subgraph Editors;
FileEditor1{{playground-file-editor}};
FileEditor2{{playground-file-editor}};
end;
subgraph Preview;
PreviewElement{{playground-preview}};
PreviewIframe[Preview iframe];
end;
subgraph Network;
ServiceWorker(Service Worker);
CDN([CDN]);
end;
subgraph Project
ProxyIframe[Proxy iframe]
ProjectElement{{playground-project}}
WebWorker(Build Worker)
ServiceWorker(Service Worker)
end
subgraph Editors
FileEditor1{{playground-file-editor}}
FileEditor2{{playground-file-editor}}
end
subgraph Preview
PreviewElement{{playground-preview}}
PreviewIframe[Preview iframe]
end
CDN([NPM CDN])
IDE -.-> Project;
IDE -.-> Editors;
IDE -.-> Preview;
WebWorker -- Built Project Files --> ProjectElement;
ProjectElement -- Project Files --> WebWorker;
ProjectElement -- Built Project Files --> ProxyIframe;
Editors -- Project Files --> ProjectElement;
ProjectElement --> PreviewElement;
PreviewElement <--> PreviewIframe;
ProxyIframe -- Built Project Files --> ServiceWorker;
ServiceWorker -- All Files --> PreviewIframe;
CDN -- NPM Dependencies --> ServiceWorker;
CDN -- TypeScript Types --> WebWorker;
ServiceWorker -- All Files --> PreviewIframe
ProjectElement -- Built Files --> ProxyIframe
Editors -- Project Files --> ProjectElement
ProjectElement -...-> PreviewElement
PreviewElement -.-> PreviewIframe
ProxyIframe -- Built Files --> ServiceWorker
WebWorker -- Built Files --> ProjectElement
ProjectElement -- Project Files --> WebWorker
CDN -- NPM Dependencies --> WebWorker
```

0 comments on commit 90c77ed

Please sign in to comment.