25 lines
595 B
Markdown
25 lines
595 B
Markdown
# LedgerOne Diagrams
|
|
|
|
## Entity Relationships (Mermaid)
|
|
```mermaid
|
|
erDiagram
|
|
USER ||--o{ ACCOUNT : owns
|
|
USER ||--o{ RULE : defines
|
|
USER ||--o{ EXPORT_LOG : exports
|
|
USER ||--o{ AUDIT_LOG : logs
|
|
ACCOUNT ||--o{ TRANSACTION_RAW : holds
|
|
TRANSACTION_RAW ||--o| TRANSACTION_DERIVED : overlays
|
|
RULE ||--o{ RULE_EXECUTION : runs
|
|
TRANSACTION_RAW ||--o{ RULE_EXECUTION : evaluates
|
|
```
|
|
|
|
## Transaction Flow (Mermaid)
|
|
```mermaid
|
|
flowchart TD
|
|
A[Plaid Transactions] --> B[Raw Transactions]
|
|
B --> C[Derived Layer]
|
|
D[Rules Engine] --> C
|
|
C --> E[Exports CSV]
|
|
C --> F[AI Suggestions]
|
|
```
|