Skip to content

Instantly share code, notes, and snippets.

@dwinston
Created February 2, 2023 20:52
Show Gist options
  • Select an option

  • Save dwinston/3838dfa4f875c68529a360698aa6f44a to your computer and use it in GitHub Desktop.

Select an option

Save dwinston/3838dfa4f875c68529a360698aa6f44a to your computer and use it in GitHub Desktop.

Revisions

  1. dwinston created this gist Feb 2, 2023.
    20 changes: 20 additions & 0 deletions model.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    ```mermaid
    erDiagram
    Process ||--|| Material : outputs
    Material ||--o{ Measurement : subjectTo
    Ingredient }o--|| Material : from
    Ingredient }o--|| Process : inputTo
    Record }o--|| RecordType : has
    RecordType }o--o| Template : mayBe
    RecordType }o--o| Spec : mayBe
    RecordType }o--o| Run : mayBe
    Record }o--|| Thing : about
    Thing }o--o| Process : mayBe
    Thing }o--o| Material : mayBe
    Thing }o--o| Measurement : mayBe
    Thing }o--o| Ingredient : mayBe
    Thing }o--o{ Attribute : has
    Attribute }o--o| Property : mayBe
    Attribute }o--o| Parameter : mayBe
    Attribute }o--o| Condition : mayBe
    ```