mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
Remove style definitions from MVVM + Clean.md
Removed style definitions for various components in the MVVM + Clean architecture documentation.
This commit is contained in:
parent
6eb0811db5
commit
bb3bb4d257
@ -33,10 +33,6 @@ graph TB
|
|||||||
BL -->|can call| DATA
|
BL -->|can call| DATA
|
||||||
DATA -.->|cannot call| BL
|
DATA -.->|cannot call| BL
|
||||||
BL -.->|cannot call| UI
|
BL -.->|cannot call| UI
|
||||||
|
|
||||||
style UI fill:#e1f5ff
|
|
||||||
style BL fill:#fff4e1
|
|
||||||
style DATA fill:#ffe1e1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Data Access Layer
|
## Data Access Layer
|
||||||
@ -120,13 +116,6 @@ graph TD
|
|||||||
DB -.->|does NOT know about| UseCase
|
DB -.->|does NOT know about| UseCase
|
||||||
UseCase -.->|does NOT know about| ViewModel
|
UseCase -.->|does NOT know about| ViewModel
|
||||||
ViewModel -.->|does NOT know about| View
|
ViewModel -.->|does NOT know about| View
|
||||||
|
|
||||||
style View fill:#e1f5ff
|
|
||||||
style ViewModel fill:#e1f5ff
|
|
||||||
style UseCase fill:#fff4e1
|
|
||||||
style Model fill:#fff4e1
|
|
||||||
style API fill:#ffe1e1
|
|
||||||
style DB fill:#ffe1e1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
@ -153,13 +142,6 @@ graph TB
|
|||||||
UC --> Model
|
UC --> Model
|
||||||
UC --> Protocol
|
UC --> Protocol
|
||||||
Protocol --> Impl
|
Protocol --> Impl
|
||||||
|
|
||||||
style View fill:#e1f5ff
|
|
||||||
style VM fill:#e1f5ff
|
|
||||||
style UC fill:#fff4e1
|
|
||||||
style Model fill:#fff4e1
|
|
||||||
style Protocol fill:#ffe1e1
|
|
||||||
style Impl fill:#ffe1e1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Data Access Layer: The Repository
|
## Data Access Layer: The Repository
|
||||||
@ -218,12 +200,6 @@ graph LR
|
|||||||
Protocol -.->|implemented by| Net
|
Protocol -.->|implemented by| Net
|
||||||
Protocol -.->|implemented by| Mock
|
Protocol -.->|implemented by| Mock
|
||||||
Protocol -.->|implemented by| DB
|
Protocol -.->|implemented by| DB
|
||||||
|
|
||||||
style UC fill:#fff4e1
|
|
||||||
style Protocol fill:#ffe1e1
|
|
||||||
style Net fill:#ffe1e1
|
|
||||||
style Mock fill:#ffe1e1
|
|
||||||
style DB fill:#ffe1e1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Business Logic Layer: Models and Use Cases
|
## Business Logic Layer: Models and Use Cases
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user