summaryrefslogtreecommitdiff
path: root/diagrams/assignment_3/mmd/framework_vs_specialization.mmd
blob: e5dab6583b1be393d29aa634ee61adfed7f87a44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
graph LR
    subgraph "Framework - Abstract Layer"
        A[Entity<br/>Abstract Base Class]
        B[Simulator~T~<br/>Abstract Template Method]
        C[EntityReader~T~<br/>Abstract]
        D[IEntityFactory~T~<br/>Interface]
    end
    
    subgraph "Morg Specialisation - Concrete Layer"
        E[Morg<br/>Concrete Entity]
        F[Dish<br/>Concrete Simulator]
        G[MorgReader<br/>Concrete Reader]
        H[MorgFactory<br/>Concrete Factory]
    end
    
    A -->|inherits| E
    B -->|inherits| F
    C -->|inherits| G
    D -->|implements| H