Skip to content

Commit 963a309

Browse files
Inline architecture diagram in README (#152)
1 parent b66f873 commit 963a309

File tree

3 files changed

+40
-85
lines changed

3 files changed

+40
-85
lines changed

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,46 @@ yarn run test
9696

9797
# Architecture
9898

99-
![Architecture](/doc/architecture.jpg 'Architecture')
99+
```mermaid
100+
flowchart TD
101+
subgraph Jobs["Jobs"]
102+
A1["Job 1"]
103+
A2["Job 2"]
104+
A3["Job 3"]
105+
end
106+
subgraph Providers["Providers"]
107+
C1["Provider 1"]
108+
C2["Provider 2"]
109+
C3["Provider 3"]
110+
end
111+
subgraph NotificationAdapters["Notification Adapters"]
112+
F1["Notification Adapter 1"]
113+
F2["Notification Adapter 2"]
114+
end
115+
116+
A1 --> B["FredyRuntime"]
117+
A2 --> B
118+
A3 --> B
119+
B --> C1 & C2 & C3
120+
C1 --> D["Similarity-Check"]
121+
C2 --> D
122+
C3 --> D
123+
D --> E{"Found<br>similarity?"}
124+
E -- No --> F1
125+
F1 --> F2
126+
127+
style A1 fill:#fde9a0,stroke:#333333,color:#333333
128+
style A2 fill:#fde9a0,stroke:#333333,color:#333333
129+
style A3 fill:#fde9a0,stroke:#333333,color:#333333
130+
style C1 fill:#c4c9f1,stroke:#333333,color:#333333
131+
style C2 fill:#c4c9f1,stroke:#333333,color:#333333
132+
style C3 fill:#c4c9f1,stroke:#333333,color:#333333
133+
style F1 fill:#d2edba,stroke:#333333,color:#333333
134+
style F2 fill:#d2edba,stroke:#333333,color:#333333
135+
style B fill:#abd8f9,stroke:#333333,color:#333333
136+
style D fill:#fab4a8,stroke:#333333,color:#333333
137+
style E fill:#fffbb4,stroke:#333333,color:#333333
138+
```
100139

101140
### Immoscout
102141

doc/Untitled Diagram.drawio

Lines changed: 0 additions & 84 deletions
This file was deleted.

doc/architecture.jpg

-189 KB
Binary file not shown.

0 commit comments

Comments
 (0)