instruction
stringlengths
35
72
input
stringclasses
32 values
output
stringlengths
100
739
Add abstract classes and inheritance to this class diagram
classDiagram class Animal
classDiagram class Animal { <<abstract>> -string name +getName() string +makeSound() void } class Dog { +makeSound() void +bark() void } class Cat { +makeSound() void +meow() void } Animal <|-- Dog Animal <|-- Cat
Add critical path highlighting to this Gantt chart
gantt title Project "Task" : 2024-01-01, 10d
gantt title Project with Critical Path dateFormat YYYY-MM-DD section Critical Path "Critical Task 1" : crit, 2024-01-01, 10d "Critical Task 2" : crit, 2024-01-11, 10d section Non-Critical "Parallel Task" : 2024-01-01, 15d
Reorganize this mind map with left-right notation
mindmap * Topic ** A ** B
mindmap * Central Topic + Right Side A ++ Detail A1 + Right Side B ++ Detail B1 - Left Side C -- Detail C1 - Left Side D -- Detail D1
Add node shapes and colors to this DOT diagram
dotDiagram digraph G { a -> b }
dotDiagram digraph G { bgcolor="white" a [shape="box", bgcolor="#ff6b6b", label="Start"] b [shape="ellipse", bgcolor="#4ecdc4", label="End"] a -> b [color="#95e1d3"] }
Add timeout and retry handling to this sequence diagram
sequenceDiagram A->>B: Request B-->>A: Response
sequenceDiagram participant A participant B loop Retry with exponential backoff A->>B: Request (timeout: 5s) alt Success B-->>A: 200 OK else Timeout A->>A: Wait 1208925819614629174706176s end end
Add foreign keys and relationships to this ER diagram
erDiagram TABLE_A { int id PK } TABLE_B { int id PK }
erDiagram TABLE_A { int id PK string name datetime created_at } TABLE_B { int id PK int table_a_id FK string data } TABLE_A ||--o{ TABLE_B : has
Add service mesh and sidecar proxies to this component diagram
[Service A] [Service B]
componentDiagram package "Service Mesh" { [Istio Control Plane] } package "App A" { [Service A] [Envoy Proxy A] } package "App B" { [Service B] [Envoy Proxy B] } [Envoy Proxy A] --> [Service A] [Envoy Proxy B] --> [Service B] [Envoy Proxy A] --> [Envoy Proxy B] [Istio Control Plane] ..> [Envoy Proxy A] [Istio Control Plane] ..> [Envoy Proxy B]
Add switch-case logic to this activity diagram
activityDiagram start :Process; end
activityDiagram start :Receive input; switch (Input type?) case (Type A) :Handle A; case (Type B) :Handle B; case (Type C) :Handle C; endswitch :Complete; end
Add abstract classes and inheritance to this class diagram
classDiagram class Animal
classDiagram class Animal { <<abstract>> -string name +getName() string +makeSound() void } class Dog { +makeSound() void +bark() void } class Cat { +makeSound() void +meow() void } Animal <|-- Dog Animal <|-- Cat
Add critical path highlighting to this Gantt chart
gantt title Project "Task" : 2024-01-01, 10d
gantt title Project with Critical Path dateFormat YYYY-MM-DD section Critical Path "Critical Task 1" : crit, 2024-01-01, 10d "Critical Task 2" : crit, 2024-01-11, 10d section Non-Critical "Parallel Task" : 2024-01-01, 15d
Reorganize this mind map with left-right notation
mindmap * Topic ** A ** B
mindmap * Central Topic + Right Side A ++ Detail A1 + Right Side B ++ Detail B1 - Left Side C -- Detail C1 - Left Side D -- Detail D1
Add node shapes and colors to this DOT diagram
dotDiagram digraph G { a -> b }
dotDiagram digraph G { bgcolor="white" a [shape="box", bgcolor="#ff6b6b", label="Start"] b [shape="ellipse", bgcolor="#4ecdc4", label="End"] a -> b [color="#95e1d3"] }
Add timeout and retry handling to this sequence diagram
sequenceDiagram A->>B: Request B-->>A: Response
sequenceDiagram participant A participant B loop Retry with exponential backoff A->>B: Request (timeout: 5s) alt Success B-->>A: 200 OK else Timeout A->>A: Wait 309485009821345068724781056s end end
Add foreign keys and relationships to this ER diagram
erDiagram TABLE_A { int id PK } TABLE_B { int id PK }
erDiagram TABLE_A { int id PK string name datetime created_at } TABLE_B { int id PK int table_a_id FK string data } TABLE_A ||--o{ TABLE_B : has
Add service mesh and sidecar proxies to this component diagram
[Service A] [Service B]
componentDiagram package "Service Mesh" { [Istio Control Plane] } package "App A" { [Service A] [Envoy Proxy A] } package "App B" { [Service B] [Envoy Proxy B] } [Envoy Proxy A] --> [Service A] [Envoy Proxy B] --> [Service B] [Envoy Proxy A] --> [Envoy Proxy B] [Istio Control Plane] ..> [Envoy Proxy A] [Istio Control Plane] ..> [Envoy Proxy B]
Add switch-case logic to this activity diagram
activityDiagram start :Process; end
activityDiagram start :Receive input; switch (Input type?) case (Type A) :Handle A; case (Type B) :Handle B; case (Type C) :Handle C; endswitch :Complete; end
Add abstract classes and inheritance to this class diagram
classDiagram class Animal
classDiagram class Animal { <<abstract>> -string name +getName() string +makeSound() void } class Dog { +makeSound() void +bark() void } class Cat { +makeSound() void +meow() void } Animal <|-- Dog Animal <|-- Cat
Add critical path highlighting to this Gantt chart
gantt title Project "Task" : 2024-01-01, 10d
gantt title Project with Critical Path dateFormat YYYY-MM-DD section Critical Path "Critical Task 1" : crit, 2024-01-01, 10d "Critical Task 2" : crit, 2024-01-11, 10d section Non-Critical "Parallel Task" : 2024-01-01, 15d
Reorganize this mind map with left-right notation
mindmap * Topic ** A ** B
mindmap * Central Topic + Right Side A ++ Detail A1 + Right Side B ++ Detail B1 - Left Side C -- Detail C1 - Left Side D -- Detail D1
Add node shapes and colors to this DOT diagram
dotDiagram digraph G { a -> b }
dotDiagram digraph G { bgcolor="white" a [shape="box", bgcolor="#ff6b6b", label="Start"] b [shape="ellipse", bgcolor="#4ecdc4", label="End"] a -> b [color="#95e1d3"] }
Add timeout and retry handling to this sequence diagram
sequenceDiagram A->>B: Request B-->>A: Response
sequenceDiagram participant A participant B loop Retry with exponential backoff A->>B: Request (timeout: 5s) alt Success B-->>A: 200 OK else Timeout A->>A: Wait 79228162514264337593543950336s end end
Add foreign keys and relationships to this ER diagram
erDiagram TABLE_A { int id PK } TABLE_B { int id PK }
erDiagram TABLE_A { int id PK string name datetime created_at } TABLE_B { int id PK int table_a_id FK string data } TABLE_A ||--o{ TABLE_B : has
Add service mesh and sidecar proxies to this component diagram
[Service A] [Service B]
componentDiagram package "Service Mesh" { [Istio Control Plane] } package "App A" { [Service A] [Envoy Proxy A] } package "App B" { [Service B] [Envoy Proxy B] } [Envoy Proxy A] --> [Service A] [Envoy Proxy B] --> [Service B] [Envoy Proxy A] --> [Envoy Proxy B] [Istio Control Plane] ..> [Envoy Proxy A] [Istio Control Plane] ..> [Envoy Proxy B]
Add switch-case logic to this activity diagram
activityDiagram start :Process; end
activityDiagram start :Receive input; switch (Input type?) case (Type A) :Handle A; case (Type B) :Handle B; case (Type C) :Handle C; endswitch :Complete; end
Add abstract classes and inheritance to this class diagram
classDiagram class Animal
classDiagram class Animal { <<abstract>> -string name +getName() string +makeSound() void } class Dog { +makeSound() void +bark() void } class Cat { +makeSound() void +meow() void } Animal <|-- Dog Animal <|-- Cat
Add critical path highlighting to this Gantt chart
gantt title Project "Task" : 2024-01-01, 10d
gantt title Project with Critical Path dateFormat YYYY-MM-DD section Critical Path "Critical Task 1" : crit, 2024-01-01, 10d "Critical Task 2" : crit, 2024-01-11, 10d section Non-Critical "Parallel Task" : 2024-01-01, 15d
Reorganize this mind map with left-right notation
mindmap * Topic ** A ** B
mindmap * Central Topic + Right Side A ++ Detail A1 + Right Side B ++ Detail B1 - Left Side C -- Detail C1 - Left Side D -- Detail D1
Add node shapes and colors to this DOT diagram
dotDiagram digraph G { a -> b }
dotDiagram digraph G { bgcolor="white" a [shape="box", bgcolor="#ff6b6b", label="Start"] b [shape="ellipse", bgcolor="#4ecdc4", label="End"] a -> b [color="#95e1d3"] }
Add timeout and retry handling to this sequence diagram
sequenceDiagram A->>B: Request B-->>A: Response
sequenceDiagram participant A participant B loop Retry with exponential backoff A->>B: Request (timeout: 5s) alt Success B-->>A: 200 OK else Timeout A->>A: Wait 20282409603651670423947251286016s end end
Add foreign keys and relationships to this ER diagram
erDiagram TABLE_A { int id PK } TABLE_B { int id PK }
erDiagram TABLE_A { int id PK string name datetime created_at } TABLE_B { int id PK int table_a_id FK string data } TABLE_A ||--o{ TABLE_B : has
Add service mesh and sidecar proxies to this component diagram
[Service A] [Service B]
componentDiagram package "Service Mesh" { [Istio Control Plane] } package "App A" { [Service A] [Envoy Proxy A] } package "App B" { [Service B] [Envoy Proxy B] } [Envoy Proxy A] --> [Service A] [Envoy Proxy B] --> [Service B] [Envoy Proxy A] --> [Envoy Proxy B] [Istio Control Plane] ..> [Envoy Proxy A] [Istio Control Plane] ..> [Envoy Proxy B]
Add switch-case logic to this activity diagram
activityDiagram start :Process; end
activityDiagram start :Receive input; switch (Input type?) case (Type A) :Handle A; case (Type B) :Handle B; case (Type C) :Handle C; endswitch :Complete; end
Add abstract classes and inheritance to this class diagram
classDiagram class Animal
classDiagram class Animal { <<abstract>> -string name +getName() string +makeSound() void } class Dog { +makeSound() void +bark() void } class Cat { +makeSound() void +meow() void } Animal <|-- Dog Animal <|-- Cat
Add critical path highlighting to this Gantt chart
gantt title Project "Task" : 2024-01-01, 10d
gantt title Project with Critical Path dateFormat YYYY-MM-DD section Critical Path "Critical Task 1" : crit, 2024-01-01, 10d "Critical Task 2" : crit, 2024-01-11, 10d section Non-Critical "Parallel Task" : 2024-01-01, 15d
Reorganize this mind map with left-right notation
mindmap * Topic ** A ** B
mindmap * Central Topic + Right Side A ++ Detail A1 + Right Side B ++ Detail B1 - Left Side C -- Detail C1 - Left Side D -- Detail D1
Add node shapes and colors to this DOT diagram
dotDiagram digraph G { a -> b }
dotDiagram digraph G { bgcolor="white" a [shape="box", bgcolor="#ff6b6b", label="Start"] b [shape="ellipse", bgcolor="#4ecdc4", label="End"] a -> b [color="#95e1d3"] }
Add timeout and retry handling to this sequence diagram
sequenceDiagram A->>B: Request B-->>A: Response
sequenceDiagram participant A participant B loop Retry with exponential backoff A->>B: Request (timeout: 5s) alt Success B-->>A: 200 OK else Timeout A->>A: Wait 5192296858534827628530496329220096s end end
Add foreign keys and relationships to this ER diagram
erDiagram TABLE_A { int id PK } TABLE_B { int id PK }
erDiagram TABLE_A { int id PK string name datetime created_at } TABLE_B { int id PK int table_a_id FK string data } TABLE_A ||--o{ TABLE_B : has
Add service mesh and sidecar proxies to this component diagram
[Service A] [Service B]
componentDiagram package "Service Mesh" { [Istio Control Plane] } package "App A" { [Service A] [Envoy Proxy A] } package "App B" { [Service B] [Envoy Proxy B] } [Envoy Proxy A] --> [Service A] [Envoy Proxy B] --> [Service B] [Envoy Proxy A] --> [Envoy Proxy B] [Istio Control Plane] ..> [Envoy Proxy A] [Istio Control Plane] ..> [Envoy Proxy B]
Add switch-case logic to this activity diagram
activityDiagram start :Process; end
activityDiagram start :Receive input; switch (Input type?) case (Type A) :Handle A; case (Type B) :Handle B; case (Type C) :Handle C; endswitch :Complete; end
Add abstract classes and inheritance to this class diagram
classDiagram class Animal
classDiagram class Animal { <<abstract>> -string name +getName() string +makeSound() void } class Dog { +makeSound() void +bark() void } class Cat { +makeSound() void +meow() void } Animal <|-- Dog Animal <|-- Cat
Add critical path highlighting to this Gantt chart
gantt title Project "Task" : 2024-01-01, 10d
gantt title Project with Critical Path dateFormat YYYY-MM-DD section Critical Path "Critical Task 1" : crit, 2024-01-01, 10d "Critical Task 2" : crit, 2024-01-11, 10d section Non-Critical "Parallel Task" : 2024-01-01, 15d
Reorganize this mind map with left-right notation
mindmap * Topic ** A ** B
mindmap * Central Topic + Right Side A ++ Detail A1 + Right Side B ++ Detail B1 - Left Side C -- Detail C1 - Left Side D -- Detail D1
Add node shapes and colors to this DOT diagram
dotDiagram digraph G { a -> b }
dotDiagram digraph G { bgcolor="white" a [shape="box", bgcolor="#ff6b6b", label="Start"] b [shape="ellipse", bgcolor="#4ecdc4", label="End"] a -> b [color="#95e1d3"] }
Add timeout and retry handling to this sequence diagram
sequenceDiagram A->>B: Request B-->>A: Response
sequenceDiagram participant A participant B loop Retry with exponential backoff A->>B: Request (timeout: 5s) alt Success B-->>A: 200 OK else Timeout A->>A: Wait 1329227995784915872903807060280344576s end end
Add foreign keys and relationships to this ER diagram
erDiagram TABLE_A { int id PK } TABLE_B { int id PK }
erDiagram TABLE_A { int id PK string name datetime created_at } TABLE_B { int id PK int table_a_id FK string data } TABLE_A ||--o{ TABLE_B : has
Add service mesh and sidecar proxies to this component diagram
[Service A] [Service B]
componentDiagram package "Service Mesh" { [Istio Control Plane] } package "App A" { [Service A] [Envoy Proxy A] } package "App B" { [Service B] [Envoy Proxy B] } [Envoy Proxy A] --> [Service A] [Envoy Proxy B] --> [Service B] [Envoy Proxy A] --> [Envoy Proxy B] [Istio Control Plane] ..> [Envoy Proxy A] [Istio Control Plane] ..> [Envoy Proxy B]
Add switch-case logic to this activity diagram
activityDiagram start :Process; end
activityDiagram start :Receive input; switch (Input type?) case (Type A) :Handle A; case (Type B) :Handle B; case (Type C) :Handle C; endswitch :Complete; end
Add abstract classes and inheritance to this class diagram
classDiagram class Animal
classDiagram class Animal { <<abstract>> -string name +getName() string +makeSound() void } class Dog { +makeSound() void +bark() void } class Cat { +makeSound() void +meow() void } Animal <|-- Dog Animal <|-- Cat
Add critical path highlighting to this Gantt chart
gantt title Project "Task" : 2024-01-01, 10d
gantt title Project with Critical Path dateFormat YYYY-MM-DD section Critical Path "Critical Task 1" : crit, 2024-01-01, 10d "Critical Task 2" : crit, 2024-01-11, 10d section Non-Critical "Parallel Task" : 2024-01-01, 15d
Create a sequence diagram for WebSocket real-time chat
null
sequenceDiagram title: Websocket Real-Time Chat participant Client participant Service participant Backend Client->>Service: Request Service->>Backend: Process Backend-->>Service: Result Service-->>Client: Response
Design an ER diagram for multi-tenant SaaS
null
erDiagram title: Multi-Tenant Saas ENTITY_A { int id PK string name } ENTITY_B { int id PK int entity_a_id FK } ENTITY_A ||--o{ ENTITY_B : has
Create a component diagram for distributed system 0
null
componentDiagram package "Services" { [Service A] [Service B] } database "Storage" { [Database] } [Service A] --> [Database] [Service B] --> [Database]
Design an activity diagram for business process 0
null
activityDiagram start :Initialize; if (Condition?) then (yes) :Process A; else (no) :Process B; endif end
Create a class diagram for design pattern example 0
null
classDiagram class Interface { <<interface>> +method() } class Implementation { +method() } Interface <|.. Implementation
Create a mind map for learning topic 0
null
mindmap * Main Topic ** Subtopic A *** Detail 1 *** Detail 2 ** Subtopic B *** Detail 1 *** Detail 2
Create a Gantt chart for project schedule 0
null
gantt title Project Timeline dateFormat YYYY-MM-DD section Phase 1 "Planning" : 2024-01-01, 14d "Execution" : 2024-01-15, 30d
Create a DOT diagram for graph structure 0
null
dotDiagram digraph G { bgcolor="white" node [shape="box"] A -> B B -> C A -> C }
Create a workflow diagram for approval process 0
null
activityDiagram start :Submit request; :Manager review; if (Approved?) then (yes) :Execute; else (no) :Reject; endif end
Create an API interaction diagram 0
null
sequenceDiagram participant Client participant API participant DB Client->>API: GET /data API->>DB: SELECT DB-->>API: rows API-->>Client: JSON
Create a sequence diagram for OAuth2 implicit flow
null
sequenceDiagram title: Oauth2 Implicit Flow participant Client participant Service participant Backend Client->>Service: Request Service->>Backend: Process Backend-->>Service: Result Service-->>Client: Response
Design an ER diagram for e-learning platform
null
erDiagram title: E-Learning Platform ENTITY_A { int id PK string name } ENTITY_B { int id PK int entity_a_id FK } ENTITY_A ||--o{ ENTITY_B : has
Create a component diagram for distributed system 1
null
componentDiagram package "Services" { [Service A] [Service B] } database "Storage" { [Database] } [Service A] --> [Database] [Service B] --> [Database]
Design an activity diagram for business process 1
null
activityDiagram start :Initialize; if (Condition?) then (yes) :Process A; else (no) :Process B; endif end
Create a class diagram for design pattern example 1
null
classDiagram class Interface { <<interface>> +method() } class Implementation { +method() } Interface <|.. Implementation
Create a mind map for learning topic 1
null
mindmap * Main Topic ** Subtopic A *** Detail 1 *** Detail 2 ** Subtopic B *** Detail 1 *** Detail 2
Create a Gantt chart for project schedule 1
null
gantt title Project Timeline dateFormat YYYY-MM-DD section Phase 1 "Planning" : 2024-01-01, 14d "Execution" : 2024-01-15, 30d
Create a DOT diagram for graph structure 1
null
dotDiagram digraph G { bgcolor="white" node [shape="box"] A -> B B -> C A -> C }
Create a workflow diagram for approval process 1
null
activityDiagram start :Submit request; :Manager review; if (Approved?) then (yes) :Execute; else (no) :Reject; endif end
Create an API interaction diagram 1
null
sequenceDiagram participant Client participant API participant DB Client->>API: GET /data API->>DB: SELECT DB-->>API: rows API-->>Client: JSON
Create a sequence diagram for GraphQL query with N+1 problem
null
sequenceDiagram title: Graphql Query With N+1 Problem participant Client participant Service participant Backend Client->>Service: Request Service->>Backend: Process Backend-->>Service: Result Service-->>Client: Response
Design an ER diagram for healthcare EHR
null
erDiagram title: Healthcare Ehr ENTITY_A { int id PK string name } ENTITY_B { int id PK int entity_a_id FK } ENTITY_A ||--o{ ENTITY_B : has
Create a component diagram for distributed system 2
null
componentDiagram package "Services" { [Service A] [Service B] } database "Storage" { [Database] } [Service A] --> [Database] [Service B] --> [Database]
Design an activity diagram for business process 2
null
activityDiagram start :Initialize; if (Condition?) then (yes) :Process A; else (no) :Process B; endif end
Create a class diagram for design pattern example 2
null
classDiagram class Interface { <<interface>> +method() } class Implementation { +method() } Interface <|.. Implementation
Create a mind map for learning topic 2
null
mindmap * Main Topic ** Subtopic A *** Detail 1 *** Detail 2 ** Subtopic B *** Detail 1 *** Detail 2
Create a Gantt chart for project schedule 2
null
gantt title Project Timeline dateFormat YYYY-MM-DD section Phase 1 "Planning" : 2024-01-01, 14d "Execution" : 2024-01-15, 30d
Create a DOT diagram for graph structure 2
null
dotDiagram digraph G { bgcolor="white" node [shape="box"] A -> B B -> C A -> C }
Create a workflow diagram for approval process 2
null
activityDiagram start :Submit request; :Manager review; if (Approved?) then (yes) :Execute; else (no) :Reject; endif end
Create an API interaction diagram 2
null
sequenceDiagram participant Client participant API participant DB Client->>API: GET /data API->>DB: SELECT DB-->>API: rows API-->>Client: JSON
Create a sequence diagram for Saga pattern compensation
null
sequenceDiagram title: Saga Pattern Compensation participant Client participant Service participant Backend Client->>Service: Request Service->>Backend: Process Backend-->>Service: Result Service-->>Client: Response
Design an ER diagram for supply chain logistics
null
erDiagram title: Supply Chain Logistics ENTITY_A { int id PK string name } ENTITY_B { int id PK int entity_a_id FK } ENTITY_A ||--o{ ENTITY_B : has
Create a component diagram for distributed system 3
null
componentDiagram package "Services" { [Service A] [Service B] } database "Storage" { [Database] } [Service A] --> [Database] [Service B] --> [Database]
Design an activity diagram for business process 3
null
activityDiagram start :Initialize; if (Condition?) then (yes) :Process A; else (no) :Process B; endif end
Create a class diagram for design pattern example 3
null
classDiagram class Interface { <<interface>> +method() } class Implementation { +method() } Interface <|.. Implementation
Create a mind map for learning topic 3
null
mindmap * Main Topic ** Subtopic A *** Detail 1 *** Detail 2 ** Subtopic B *** Detail 1 *** Detail 2
Create a Gantt chart for project schedule 3
null
gantt title Project Timeline dateFormat YYYY-MM-DD section Phase 1 "Planning" : 2024-01-01, 14d "Execution" : 2024-01-15, 30d
Create a DOT diagram for graph structure 3
null
dotDiagram digraph G { bgcolor="white" node [shape="box"] A -> B B -> C A -> C }
Create a workflow diagram for approval process 3
null
activityDiagram start :Submit request; :Manager review; if (Approved?) then (yes) :Execute; else (no) :Reject; endif end
Create an API interaction diagram 3
null
sequenceDiagram participant Client participant API participant DB Client->>API: GET /data API->>DB: SELECT DB-->>API: rows API-->>Client: JSON
Create a sequence diagram for CQRS event handling
null
sequenceDiagram title: Cqrs Event Handling participant Client participant Service participant Backend Client->>Service: Request Service->>Backend: Process Backend-->>Service: Result Service-->>Client: Response
Design an ER diagram for cryptocurrency exchange
null
erDiagram title: Cryptocurrency Exchange ENTITY_A { int id PK string name } ENTITY_B { int id PK int entity_a_id FK } ENTITY_A ||--o{ ENTITY_B : has
Create a component diagram for distributed system 4
null
componentDiagram package "Services" { [Service A] [Service B] } database "Storage" { [Database] } [Service A] --> [Database] [Service B] --> [Database]
Design an activity diagram for business process 4
null
activityDiagram start :Initialize; if (Condition?) then (yes) :Process A; else (no) :Process B; endif end
Create a class diagram for design pattern example 4
null
classDiagram class Interface { <<interface>> +method() } class Implementation { +method() } Interface <|.. Implementation
Create a mind map for learning topic 4
null
mindmap * Main Topic ** Subtopic A *** Detail 1 *** Detail 2 ** Subtopic B *** Detail 1 *** Detail 2
Create a Gantt chart for project schedule 4
null
gantt title Project Timeline dateFormat YYYY-MM-DD section Phase 1 "Planning" : 2024-01-01, 14d "Execution" : 2024-01-15, 30d
Create a DOT diagram for graph structure 4
null
dotDiagram digraph G { bgcolor="white" node [shape="box"] A -> B B -> C A -> C }
Create a workflow diagram for approval process 4
null
activityDiagram start :Submit request; :Manager review; if (Approved?) then (yes) :Execute; else (no) :Reject; endif end
Create an API interaction diagram 4
null
sequenceDiagram participant Client participant API participant DB Client->>API: GET /data API->>DB: SELECT DB-->>API: rows API-->>Client: JSON