Download data.csv from huytd189/pintora-instruct: direct link, hf CLI and curl.
- Browser
- Download file 488 kB
-
https://huggingface.co/datasets/huytd189/pintora-instruct/resolve/main/data.csv
- Command line
-
hf download hf://datasets/huytd189/pintora-instruct/data.csv
-
curl -L -o data.csv https://huggingface.co/datasets/huytd189/pintora-instruct/resolve/main/data.csv
488 kB
| instruction,code,output | |
| Create a DOT diagram showing a compiler pipeline,"dotDiagram | |
| digraph Compiler { | |
| bgcolor=""#fafafa"" | |
| node [shape=""box"", bgcolor=""#e3f2fd""] | |
| source[""Source Code""] | |
| lexer[""Lexer""] | |
| tokens[""Tokens""] | |
| parser[""Parser""] | |
| ast[""AST""] | |
| semantic[""Semantic Analyzer""] | |
| ir[""IR""] | |
| optimizer[""Optimizer""] | |
| codegen[""Code Generator""] | |
| output[""Machine Code""] | |
| source -> lexer | |
| lexer -> tokens | |
| tokens -> parser | |
| parser -> ast | |
| ast -> semantic | |
| semantic -> ir | |
| ir -> optimizer | |
| optimizer -> codegen | |
| codegen -> output | |
| }",output/978.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n10 [shape=""box"", label=""Node n10""] | |
| n11 [shape=""circle"", label=""Node n11""] | |
| n9 -> n3 | |
| n5 -> n3 | |
| n0 -> n9 | |
| n11 -> n9 | |
| n7 -> n0 | |
| n1 -> n8 | |
| n2 -> n11 | |
| n11 -> n1 | |
| n9 -> n10 | |
| n7 -> n0 | |
| n4 -> n6 | |
| }",output/800.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P2-->>P0: msg_26 | |
| P0->>P1: msg_36 | |
| P1-->P2: msg_37 | |
| P2->>P1: msg_19 | |
| P2-->P1: msg_74 | |
| P2-->P0: msg_11 | |
| P2-->>P0: msg_9 | |
| P0->>P1: msg_84 | |
| P1-->P2: msg_42 | |
| P1-->>P0: msg_81 | |
| P1->P0: msg_83 | |
| P0-->>P1: msg_98 | |
| P0->>P1: msg_35",output/199.pintora.png | |
| Create a Gantt chart for a software release cycle,"gantt | |
| title Software Release v2.0 | |
| dateFormat YYYY-MM-DD | |
| axisFormat %b %d | |
| axisInterval 1w | |
| section Design | |
| ""Architecture Review"" : arch, 2024-04-01, 7d | |
| ""API Design"" : after arch, 5d | |
| section Development | |
| ""Core Features"" : core, 2024-04-08, 21d | |
| ""API Implementation"" : after core, 14d | |
| section QA | |
| ""Unit Testing"" : 2024-04-15, 28d | |
| ""Integration Testing"" : 2024-05-06, 14d | |
| ""UAT"" : 2024-05-13, 7d | |
| section Release | |
| ""Code Freeze"" : milestone, 2024-05-20, 0d | |
| ""Production Deploy"" : milestone, 2024-05-22, 0d",output/968.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 *-- Class2 | |
| Class2 o-- Class3 | |
| Class3 o-- Class4",output/189.pintora.png | |
| Design a comprehensive Entity Relationship diagram.,"erDiagram | |
| title: Hospital System | |
| CATEGORY { | |
| int category_id PK | |
| datetime status | |
| text phone | |
| text description | |
| } | |
| INVENTORY { | |
| int inventory_id PK | |
| int quantity | |
| bool name | |
| } | |
| ORDER { | |
| int order_id PK | |
| string date | |
| bool address FK | |
| datetime description | |
| text address | |
| float address | |
| } | |
| SHIPMENT { | |
| int shipment_id PK | |
| text email | |
| float description | |
| bool description | |
| } | |
| REVIEW { | |
| int review_id PK | |
| text email | |
| string email | |
| } | |
| CUSTOMER { | |
| int customer_id PK | |
| int description | |
| string description | |
| string description | |
| bool quantity | |
| } | |
| USER { | |
| int user_id PK | |
| text quantity | |
| text description | |
| } | |
| CATEGORY ||--|{ REVIEW : contains | |
| INVENTORY ||--|| ORDER : includes | |
| ORDER ||--o{ CUSTOMER : has | |
| SHIPMENT }|--|| REVIEW : includes | |
| REVIEW }o--o{ USER : manages | |
| CUSTOMER }o--o{ USER : owns",output/810.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 5d | |
| ""Task 1"" : 2024-01-06, 7d | |
| ""Task 2"" : 2024-01-13, 8d",output/387.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n3 -> n1 | |
| n2 -> n4 | |
| n4 -> n2 | |
| n3 -> n1 | |
| n4 -> n3 | |
| n3 -> n0 | |
| n1 -> n0 | |
| n3 -> n2 | |
| n1 -> n3 | |
| n0 -> n4 | |
| }",output/397.pintora.png | |
| Write a DOT diagram for a linked list,"dotDiagram | |
| digraph LinkedList { | |
| bgcolor=""white"" | |
| node [shape=""record"", bgcolor=""#e8f5e9""] | |
| head [label=""head"", shape=""plaintext""] | |
| n1 [label=""{ 10 | next }""] | |
| n2 [label=""{ 20 | next }""] | |
| n3 [label=""{ 30 | next }""] | |
| n4 [label=""{ 40 | null }""] | |
| head -> n1 | |
| n1 -> n2 | |
| n2 -> n3 | |
| n3 -> n4 | |
| }",output/1002.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| :step_6; | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| end",output/246.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 *-- Class2 | |
| Class2 *-- Class3",output/256.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Process 1; | |
| :Action 2; | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| :Action 4; | |
| fork | |
| :Parallel 1 5; | |
| forkagain | |
| :Parallel 2 5; | |
| endfork | |
| :Process 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| fork | |
| :Parallel 1 8; | |
| forkagain | |
| :Parallel 2 8; | |
| endfork | |
| if (Check 9?) then (yes) | |
| :Handle Yes 9; | |
| else (no) | |
| :Handle No 9; | |
| endif | |
| end",output/413.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 7 elements.,"sequenceDiagram | |
| autonumber | |
| P3->P1: msg_7 | |
| P1->P2: msg_85 | |
| P4->P1: msg_34 | |
| P3-->P0: msg_92 | |
| P0-->>P1: msg_98 | |
| P0-->P3: msg_69 | |
| P3-->P2: msg_92",output/403.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n4 -> n1 | |
| n2 -> n3 | |
| n3 -> n1 | |
| n2 -> n4 | |
| n4 -> n2 | |
| n2 -> n3 | |
| }",output/775.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 8 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_3 | |
| alt Condition | |
| Service_2->Service_1: Message 626 | |
| else Other case | |
| Service_1-->>Service_2: Response | |
| end | |
| Service_3-->>Service_2: Message 216 | |
| Service_2-->>Service_3: Message 645 | |
| Service_3->>Service_2: Message 349 | |
| @note right of Service_0: Note processing | |
| Service_0-xService_3: Message 788 | |
| Service_2->Service_0: Message 476 | |
| Service_0->>Service_1: Message 501 | |
| Service_0->>Service_3: Message 407",output/765.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 10 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 7d | |
| ""Task 1"" : 2024-01-08, 10d | |
| ""Task 2"" : 2024-01-18, 2d | |
| ""Task 3"" : 2024-01-20, 6d",output/120.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 10 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n6 -> n4 | |
| n6 -> n5 | |
| n5 -> n3 | |
| n3 -> n1 | |
| n0 -> n2 | |
| n2 -> n3 | |
| n2 -> n5 | |
| n1 -> n0 | |
| n2 -> n5 | |
| n4 -> n2 | |
| }",output/130.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P3-->P2: msg_55 | |
| P3->P1: msg_32 | |
| P2-->P0: msg_14 | |
| P4->>P0: msg_68 | |
| P0-->P4: msg_38",output/142.pintora.png | |
| Design an Entity Relationship diagram. Include about 8 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|{ Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates",output/152.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| float field_2 | |
| string field_3 | |
| string field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| int field_2 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| float field_2 | |
| float field_3 | |
| int field_4 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : owns | |
| TABLE_1 ||--|| TABLE_2 : manages | |
| TABLE_2 ||--o{ TABLE_3 : contains | |
| TABLE_3 }|--|| TABLE_4 : has",output/717.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| fork | |
| :Parallel 1 1; | |
| forkagain | |
| :Parallel 2 1; | |
| endfork | |
| :Process 2; | |
| :Process 3; | |
| :Action 4; | |
| :Process 5; | |
| :Action 6; | |
| :Process 7; | |
| :Process 8; | |
| end",output/707.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| int field_2 | |
| int field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| float field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| string field_2 | |
| datetime field_3 | |
| bool field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| float field_2 | |
| string field_3 | |
| bool field_4 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : manages | |
| TABLE_1 ||--|{ TABLE_2 : manages | |
| TABLE_2 }|--|| TABLE_3 : manages | |
| TABLE_3 ||--|{ TABLE_4 : has | |
| TABLE_4 ||--|| TABLE_5 : has",output/509.pintora.png | |
| Generate a DOT directed graph with 7 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n3 -> n4 | |
| n6 -> n3 | |
| n0 -> n1 | |
| n4 -> n1 | |
| n5 -> n2 | |
| n4 -> n0 | |
| n4 -> n6 | |
| }",output/471.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n10 [shape=""diamond"", label=""Node n10""] | |
| n5 -> n4 | |
| n0 -> n1 | |
| n1 -> n8 | |
| n6 -> n8 | |
| n9 -> n7 | |
| n8 -> n3 | |
| n10 -> n0 | |
| n8 -> n1 | |
| n3 -> n5 | |
| n4 -> n5 | |
| }",output/519.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Action 1; | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| :Process 3; | |
| :Process 4; | |
| :Action 5; | |
| end",output/461.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 10d | |
| ""Task 1"" : 2024-01-11, 3d | |
| ""Task 2"" : 2024-01-14, 6d | |
| ""Task 3"" : 2024-01-20, 6d | |
| ""Task 4"" : 2024-01-26, 9d",output/224.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 11 elements.,"sequenceDiagram | |
| autonumber | |
| P3-->P1: msg_52 | |
| P0->P2: msg_100 | |
| P3-->P4: msg_11 | |
| P1->>P3: msg_94 | |
| P4->>P2: msg_4 | |
| P1-->>P4: msg_17 | |
| P3-->P4: msg_66 | |
| P2-->P4: msg_48 | |
| P1->P2: msg_92 | |
| P4->P1: msg_1 | |
| P2->P0: msg_84",output/234.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| :step_8; | |
| :step_9; | |
| :step_10; | |
| :step_11; | |
| :step_12; | |
| :step_13; | |
| :step_14; | |
| end",output/19.pintora.png | |
| Write a Pintora diagram: map a complex business process with activity diagram.,"activityDiagram | |
| start | |
| partition Validation { | |
| while (Check 0?) is (yes) | |
| :Process 0; | |
| endwhile (done) | |
| fork | |
| :Parallel Task A1; | |
| forkagain | |
| :Parallel Task B1; | |
| endfork | |
| :Step 2; | |
| :Step 3; | |
| switch (Type 4?) | |
| case (A) | |
| :Handle A4; | |
| case (B) | |
| :Handle B4; | |
| endswitch | |
| if (Condition 5?) then (yes) | |
| :Action True 5; | |
| else (no) | |
| :Action False 5; | |
| endif | |
| if (Condition 6?) then (yes) | |
| :Action True 6; | |
| else (no) | |
| :Action False 6; | |
| endif | |
| if (Condition 7?) then (yes) | |
| :Action True 7; | |
| else (no) | |
| :Action False 7; | |
| endif | |
| :Step 8; | |
| } | |
| end",output/862.pintora.png | |
| Create an advanced sequence diagram with complex interactions. Include nested structures.,"sequenceDiagram | |
| title: System Communication | |
| autonumber | |
| participant [<database> ServiceE] | |
| ServiceD-->>ServiceE: Validate | |
| ServiceD->ServiceA: Query 1 | |
| ServiceE->ServiceB: Fetch data | |
| ServiceD->ServiceB: Query 3 | |
| loop Poll | |
| ServiceB-->>ServiceD: Update 4 | |
| ServiceD-->>ServiceB: Response | |
| end | |
| ServiceD->>ServiceE: Update 5 | |
| loop Poll | |
| ServiceE-->>ServiceC: Fetch data | |
| ServiceC-->>ServiceE: Response | |
| end | |
| ServiceB->>ServiceC: Fetch data | |
| ServiceC-->ServiceB: Process event | |
| alt Success | |
| ServiceB->>ServiceA: Request 9 | |
| ServiceA-->>ServiceB: OK | |
| else Error | |
| ServiceA-->>ServiceB: Error code | |
| end | |
| alt Valid | |
| ServiceC->>ServiceD: Query 10 | |
| ServiceD-->>ServiceC: OK | |
| else Error | |
| ServiceD-->>ServiceC: Error code | |
| end | |
| ServiceE-xServiceC: Validate | |
| ServiceE->ServiceC: Request 12 | |
| alt Authenticated | |
| ServiceC-->ServiceE: Query 13 | |
| ServiceE-->>ServiceC: OK | |
| else Error | |
| ServiceE-->>ServiceC: Error code | |
| end",output/872.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| datetime field_2 | |
| int field_3 | |
| float field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| string field_2 | |
| bool field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| datetime field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| bool field_2 | |
| bool field_3 | |
| datetime field_4 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--|{ TABLE_2 : owns | |
| TABLE_2 ||--|{ TABLE_3 : owns",output/632.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 7 steps.,"sequenceDiagram | |
| Service_0->>Service_2: Message 453 | |
| Service_2-->Service_0: Message 309 | |
| loop Loop check | |
| Service_2-->Service_1: Message 759 | |
| end | |
| Service_1->Service_2: Message 699 | |
| Service_2-->>Service_1: Message 246 | |
| loop Loop check | |
| Service_0-xService_2: Message 244 | |
| end | |
| Service_2-->>Service_0: Message 559",output/622.pintora.png | |
| Write a Pintora diagram: model an object-oriented system with class diagram.,"classDiagram | |
| class ManagerA { | |
| +int attr0 | |
| #string attr1 | |
| ~string attr2 | |
| +method0() T | |
| ~method1() boolean | |
| ~{static} method2() boolean | |
| } | |
| class RepositoryB { | |
| <<abstract>> | |
| ~List~T~ attr0 | |
| -{static} method0() T | |
| -{static} method1() boolean | |
| ~method2() T | |
| } | |
| class ServiceC { | |
| -List~T~ attr0 | |
| #boolean attr1 | |
| #boolean attr2 | |
| ~int attr3 | |
| +method0() string | |
| } | |
| class RepositoryD { | |
| #string attr0 | |
| ~int attr1 | |
| #boolean attr2 | |
| -int attr3 | |
| #method0() string | |
| } | |
| class ObserverE { | |
| +int attr0 | |
| ~int attr1 | |
| ~int attr2 | |
| ~int attr3 | |
| ~method0() T | |
| #{static} method1() T | |
| +method2() T | |
| } | |
| ManagerA <|.. ServiceC | |
| RepositoryB o-- RepositoryD | |
| ServiceC --> RepositoryD | |
| RepositoryD ..> ObserverE",output/886.pintora.png | |
| Map a complex business process with activity diagram. Include nested structures.,"activityDiagram | |
| title: Data Processing | |
| start | |
| partition Processing { | |
| if (Condition 0?) then (yes) | |
| :Action True 0; | |
| else (no) | |
| :Action False 0; | |
| endif | |
| :Step 1; | |
| :Step 2; | |
| :Step 3; | |
| if (Condition 4?) then (yes) | |
| :Action True 4; | |
| else (no) | |
| :Action False 4; | |
| endif | |
| :Step 5; | |
| if (Condition 6?) then (yes) | |
| :Action True 6; | |
| else (no) | |
| :Action False 6; | |
| endif | |
| fork | |
| :Parallel Task A7; | |
| forkagain | |
| :Parallel Task B7; | |
| endfork | |
| end",output/896.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 15 elements.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| ** Idea 3 | |
| *** Subitem 3.0 | |
| **** Detail 3.0.1",output/301.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 12 elements.,"sequenceDiagram | |
| autonumber | |
| P1->>P0: msg_43 | |
| P0->>P1: msg_49 | |
| P1-->P0: msg_19 | |
| P0-->P1: msg_51 | |
| P0->P1: msg_78 | |
| P1-->>P0: msg_70 | |
| P1->P0: msg_80 | |
| P1-->P0: msg_37 | |
| P0-->>P1: msg_73 | |
| P1->>P0: msg_62 | |
| P0-->>P1: msg_15 | |
| P0-->P1: msg_89",output/279.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 *-- Class2 | |
| Class2 <|-- Class3 | |
| Class3 --> Class4 | |
| Class4 --> Class5",output/311.pintora.png | |
| Design an Entity Relationship diagram. Include about 13 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates | |
| Ent3 ||--|{ Ent4 : relates",output/269.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| string field_2 | |
| int field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| int field_2 | |
| string field_3 | |
| datetime field_4 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| datetime field_2 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : manages | |
| TABLE_1 ||--o{ TABLE_2 : uses | |
| TABLE_2 ||--|| TABLE_3 : has | |
| TABLE_3 ||--|{ TABLE_4 : owns | |
| TABLE_4 }|--|| TABLE_5 : has | |
| TABLE_5 ||--o{ TABLE_6 : owns | |
| TABLE_6 }|--|| TABLE_7 : manages",output/554.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Process 1; | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| :Action 5; | |
| :Action 6; | |
| :Process 7; | |
| :Action 8; | |
| :Process 9; | |
| end",output/544.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 *-- Class2 | |
| Class2 o-- Class3 | |
| Class3 --> Class4",output/44.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n10 [shape=""ellipse"", label=""Node n10""] | |
| n5 -> n9 | |
| n6 -> n1 | |
| n1 -> n5 | |
| n3 -> n6 | |
| n7 -> n3 | |
| n6 -> n4 | |
| n7 -> n0 | |
| n8 -> n9 | |
| n7 -> n9 | |
| n7 -> n3 | |
| n7 -> n4 | |
| n2 -> n9 | |
| n0 -> n5 | |
| }",output/495.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 7 elements.,"sequenceDiagram | |
| autonumber | |
| P1->P0: msg_58 | |
| P1->>P3: msg_81 | |
| P0-->P3: msg_73 | |
| P0->>P2: msg_18 | |
| P2->P0: msg_20 | |
| P0-->>P3: msg_28 | |
| P2-->>P3: msg_6",output/54.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| end",output/485.pintora.png | |
| Write a class diagram with all relationship types,"classDiagram | |
| class A | |
| class B | |
| class C | |
| class D | |
| class E | |
| class F | |
| class G | |
| class H | |
| %% Inheritance | |
| A <|-- B | |
| %% Composition | |
| C *-- D | |
| %% Aggregation | |
| E o-- F | |
| %% Association | |
| G --> H | |
| %% Dashed inheritance (interface implementation) | |
| A <|.. C",output/947.pintora.png | |
| Create a sequence diagram for a REST API CRUD operation,"sequenceDiagram | |
| title: REST API CRUD Operations | |
| participant Client | |
| participant API | |
| participant DB | |
| %% Create | |
| Client->>API: POST /users | |
| API->>DB: INSERT user | |
| DB-->>API: user_id | |
| API-->>Client: 201 Created | |
| == Read == | |
| Client->>API: GET /users/1 | |
| API->>DB: SELECT user | |
| DB-->>API: user data | |
| API-->>Client: 200 OK | |
| == Update == | |
| Client->>API: PUT /users/1 | |
| API->>DB: UPDATE user | |
| API-->>Client: 200 OK | |
| == Delete == | |
| Client->>API: DELETE /users/1 | |
| API->>DB: DELETE user | |
| API-->>Client: 204 No Content",output/957.pintora.png | |
| Create an activity diagram for a user registration process,"activityDiagram | |
| title: User Registration Process | |
| start | |
| :Enter registration form; | |
| :Submit form; | |
| if (Valid input?) then (yes) | |
| :Check email exists; | |
| if (Email available?) then (yes) | |
| :Create user account; | |
| :Send verification email; | |
| :Show success message; | |
| else (no) | |
| :Show email exists error; | |
| endif | |
| else (no) | |
| :Show validation errors; | |
| endif | |
| end",output/925.pintora.png | |
| Create a mind map with multiline text nodes,"mindmap | |
| * Project Plan | |
| ** :Phase 1 | |
| Complete by Q1; | |
| ** :Phase 2 | |
| Complete by Q2; | |
| ** :Phase 3 | |
| Complete by Q3;",output/935.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n10 [shape=""circle"", label=""Node n10""] | |
| n10 -> n7 | |
| n5 -> n8 | |
| n1 -> n8 | |
| n1 -> n4 | |
| n10 -> n7 | |
| n6 -> n10 | |
| n8 -> n9 | |
| n4 -> n9 | |
| n10 -> n9 | |
| n1 -> n6 | |
| n6 -> n4 | |
| n2 -> n4 | |
| n5 -> n4 | |
| }",output/791.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n0 -> n6 | |
| n1 -> n0 | |
| n6 -> n2 | |
| n1 -> n4 | |
| n6 -> n3 | |
| n6 -> n4 | |
| n6 -> n0 | |
| n7 -> n2 | |
| n5 -> n6 | |
| n1 -> n2 | |
| }",output/781.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 15 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n2 -> n3 | |
| n5 -> n7 | |
| n4 -> n5 | |
| n3 -> n0 | |
| n7 -> n2 | |
| n7 -> n4 | |
| n2 -> n3 | |
| n4 -> n1 | |
| n6 -> n3 | |
| n4 -> n6 | |
| n4 -> n7 | |
| n2 -> n3 | |
| n3 -> n7 | |
| n4 -> n6 | |
| n6 -> n4 | |
| }",output/26.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 9 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 6d | |
| ""Task 2"" : 2024-01-16, 3d",output/36.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Action 2; | |
| :Action 3; | |
| :Action 4; | |
| :Process 5; | |
| :Process 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| :Process 8; | |
| if (Check 9?) then (yes) | |
| :Handle Yes 9; | |
| else (no) | |
| :Handle No 9; | |
| endif | |
| end",output/536.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| float field_2 | |
| int field_3 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : contains | |
| TABLE_1 ||--|{ TABLE_2 : contains",output/526.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P1->>P0: msg_30 | |
| P2->P0: msg_73 | |
| P0-->>P2: msg_50 | |
| P1->P3: msg_78 | |
| P3-->>P2: msg_62 | |
| P2-->P0: msg_4 | |
| P3->>P1: msg_54",output/363.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P0->>P3: msg_65 | |
| P2-->>P0: msg_51 | |
| P2->>P0: msg_57 | |
| P1-->>P0: msg_52 | |
| P0-->>P4: msg_88 | |
| P0->P4: msg_50 | |
| P3->>P4: msg_93 | |
| P3->P2: msg_76 | |
| P1->P2: msg_2",output/373.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| bool field_2 | |
| int field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| int field_2 | |
| bool field_3 | |
| datetime field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| string field_2 | |
| int field_3 | |
| float field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : owns | |
| TABLE_1 }|--|| TABLE_2 : manages | |
| TABLE_2 }|--|| TABLE_3 : manages",output/650.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| end",output/728.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| :Action 1; | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| :Process 6; | |
| end",output/640.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""diamond"", label=""Node n9""] | |
| n2 -> n3 | |
| n4 -> n9 | |
| n6 -> n7 | |
| n1 -> n9 | |
| n4 -> n0 | |
| n1 -> n6 | |
| n8 -> n0 | |
| n5 -> n0 | |
| n4 -> n7 | |
| n8 -> n5 | |
| n0 -> n1 | |
| n3 -> n2 | |
| }",output/738.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n0 -> n2 | |
| n0 -> n5 | |
| n0 -> n1 | |
| n1 -> n3 | |
| n0 -> n4 | |
| n0 -> n2 | |
| n5 -> n0 | |
| n2 -> n1 | |
| }",output/676.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| float field_2 | |
| float field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| datetime field_2 | |
| float field_3 | |
| int field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| datetime field_2 | |
| float field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| datetime field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| datetime field_2 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| string field_2 | |
| float field_3 | |
| int field_4 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : owns | |
| TABLE_1 }|--|| TABLE_2 : owns | |
| TABLE_2 }|--|| TABLE_3 : manages | |
| TABLE_3 ||--|| TABLE_4 : manages | |
| TABLE_4 ||--|| TABLE_5 : has | |
| TABLE_5 ||--|{ TABLE_6 : contains | |
| TABLE_6 ||--|{ TABLE_7 : contains",output/666.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| int field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| datetime field_2 | |
| bool field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| float field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| bool field_2 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : uses | |
| TABLE_1 ||--o{ TABLE_2 : has | |
| TABLE_2 ||--|| TABLE_3 : contains | |
| TABLE_3 }|--|| TABLE_4 : owns",output/510.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| string field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| datetime field_2 | |
| int field_3 | |
| bool field_4 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : contains | |
| TABLE_1 ||--|{ TABLE_2 : has | |
| TABLE_2 ||--o{ TABLE_3 : manages",output/468.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n10 [shape=""ellipse"", label=""Node n10""] | |
| n10 -> n8 | |
| n9 -> n7 | |
| n1 -> n8 | |
| n8 -> n3 | |
| n2 -> n1 | |
| n3 -> n7 | |
| n4 -> n0 | |
| n1 -> n3 | |
| n8 -> n7 | |
| n3 -> n0 | |
| }",output/500.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n5 -> n7 | |
| n5 -> n7 | |
| n4 -> n6 | |
| n0 -> n8 | |
| n2 -> n8 | |
| n6 -> n8 | |
| n0 -> n8 | |
| n7 -> n5 | |
| n3 -> n6 | |
| n8 -> n0 | |
| }",output/478.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 12 elements.,"sequenceDiagram | |
| autonumber | |
| P2->P0: msg_46 | |
| P1-->P3: msg_89 | |
| P3-->P0: msg_86 | |
| P3-->>P0: msg_35 | |
| P2-->>P3: msg_55 | |
| P2-->P1: msg_6 | |
| P3-->P0: msg_83 | |
| P0-->>P1: msg_68 | |
| P3->>P2: msg_5 | |
| P0->P3: msg_91 | |
| P0-->P3: msg_53 | |
| P1->>P2: msg_37",output/345.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 12 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 7d | |
| ""Task 1"" : 2024-01-08, 4d | |
| ""Task 2"" : 2024-01-12, 9d | |
| ""Task 3"" : 2024-01-21, 5d",output/355.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 14 elements.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| *** Subitem 1.2 | |
| **** Detail 1.2.1",output/10.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 9 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n0 -> n3 | |
| n2 -> n0 | |
| n0 -> n3 | |
| n2 -> n1 | |
| n0 -> n3 | |
| n3 -> n1 | |
| n0 -> n2 | |
| n3 -> n1 | |
| n0 -> n2 | |
| }",output/284.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 --> Class2",output/294.pintora.png | |
| Build a detailed component architecture diagram. Use advanced syntax features.,"componentDiagram | |
| cloud ""GCP"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| } | |
| cloud ""AWS"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| } | |
| package ""Services"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| [Comp2_2] | |
| [Comp2_3] | |
| () I2 | |
| } | |
| database ""Data Store"" { | |
| [Comp3_0] | |
| [Comp3_1] | |
| [Comp3_2] | |
| [Comp3_3] | |
| () I3 | |
| } | |
| [Comp3_1] ..|> [Comp2_0] | |
| [Comp2_2] --> [Comp2_1] | |
| [Comp3_1] -- [Comp0_1] | |
| [Comp2_0] --> [Comp1_0] | |
| [Comp3_1] -- [Comp2_3] | |
| [Comp1_0] -- [Comp0_1] | |
| [Comp3_1] ..|> [Comp1_1] | |
| I3 ..|> [Comp0_1] | |
| I2 ..> [Comp3_3] | |
| [Comp0_1] --> [Comp1_1] | |
| [Comp2_0] -- [Comp2_1] | |
| [Comp2_0] ..> [Comp0_1] | |
| [Comp0_1] -- [Comp2_3] | |
| [Comp2_1] -- [Comp3_1] | |
| [Comp3_2] -- [Comp1_1] | |
| [Comp0_1] ..> I3 | |
| I2 ..> [Comp0_0] | |
| [Comp2_3] ..|> [Comp1_0] | |
| [Comp2_0] ..> [Comp0_1] | |
| [Comp3_3] -- [Comp3_0] | |
| [Comp2_2] ..> [Comp3_3] | |
| [Comp2_0] --> [Comp0_0] | |
| [Comp3_1] --> [Comp0_1] | |
| I2 ..|> [Comp2_0]",output/903.pintora.png | |
| Create a sequence diagram with activate/deactivate lifelines,"sequenceDiagram | |
| participant Browser | |
| participant Server | |
| participant Cache | |
| Browser->>Server: HTTP Request | |
| activate Server | |
| Server->>Cache: Check cache | |
| activate Cache | |
| Cache-->>Server: Cache miss | |
| deactivate Cache | |
| Server->>Server: Generate response | |
| Server-->>Browser: HTTP Response | |
| deactivate Browser",output/913.pintora.png | |
| Write an ER diagram for a library system,"erDiagram | |
| BOOK { | |
| int isbn PK | |
| string title | |
| int year_published | |
| int copies_available | |
| } | |
| AUTHOR { | |
| int author_id PK | |
| string name | |
| string nationality | |
| } | |
| MEMBER { | |
| int member_id PK | |
| string name | |
| date membership_date | |
| } | |
| LOAN { | |
| int loan_id PK | |
| int isbn FK | |
| int member_id FK | |
| date loan_date | |
| date return_date | |
| } | |
| BOOK }|--|| AUTHOR : ""written by"" | |
| MEMBER ||--o{ LOAN : borrows | |
| BOOK ||--o{ LOAN : ""is loaned"" ",output/961.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| :step_8; | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| :step_10; | |
| :step_11; | |
| end",output/180.pintora.png | |
| Model an object-oriented system with class diagram. Use advanced syntax features.,"classDiagram | |
| class HandlerA { | |
| #string attr0 | |
| #string attr1 | |
| +boolean attr2 | |
| #method0() void | |
| } | |
| class FactoryB { | |
| -string attr0 | |
| #method0() string | |
| } | |
| class ControllerC { | |
| -boolean attr0 | |
| ~int attr1 | |
| #List~T~ attr2 | |
| #method0() boolean | |
| ~{static} method1() boolean | |
| +method2() string | |
| } | |
| class FactoryD { | |
| ~string attr0 | |
| #List~T~ attr1 | |
| +boolean attr2 | |
| +method0() T | |
| } | |
| class RepositoryE { | |
| <<abstract>> | |
| +int attr0 | |
| +string attr1 | |
| +string attr2 | |
| +method0() boolean | |
| } | |
| HandlerA o-- FactoryD | |
| FactoryB <|.. RepositoryE | |
| ControllerC *-- FactoryD | |
| FactoryD <|-- RepositoryE",output/819.pintora.png | |
| Write a DOT diagram with edge colors and labels,"dotDiagram | |
| @param ranksep 40 | |
| @param edgeType curved | |
| digraph Network { | |
| bgcolor=""white"" | |
| node [bgcolor=""#ffe0b2""] | |
| client[""Client""] | |
| lb[""Load Balancer""] | |
| server1[""Server 1""] | |
| server2[""Server 2""] | |
| db[""Database""] | |
| client -> lb [color=""#1976d2"", label=""HTTPS""] | |
| lb -> server1 [color=""#388e3c"", label=""HTTP""] | |
| lb -> server2 [color=""#388e3c"", label=""HTTP""] | |
| server1 -> db [color=""#7b1fa2"", label=""SQL""] | |
| server2 -> db [color=""#7b1fa2"", label=""SQL""] | |
| }",output/971.pintora.png | |
| Write a Pintora diagram: design a comprehensive entity relationship diagram.,"erDiagram | |
| title: School System | |
| @config({""er"": {""edgeType"": ""ortho""}}) | |
| CATEGORY { | |
| int category_id PK | |
| datetime status | |
| bool quantity | |
| int date | |
| } | |
| SHIPMENT { | |
| int shipment_id PK | |
| int name | |
| float quantity | |
| string quantity FK | |
| int status FK | |
| float phone | |
| } | |
| CUSTOMER { | |
| int customer_id PK | |
| int price | |
| text quantity | |
| string date | |
| bool description | |
| text quantity | |
| } | |
| INVENTORY { | |
| int inventory_id PK | |
| float price | |
| float price | |
| } | |
| USER { | |
| int user_id PK | |
| int status | |
| text name | |
| datetime email FK | |
| text description | |
| text price | |
| } | |
| ORDER { | |
| int order_id PK | |
| float quantity | |
| float address | |
| bool email | |
| } | |
| INVOICE { | |
| int invoice_id PK | |
| string quantity | |
| float phone | |
| int description | |
| string status | |
| } | |
| CATEGORY ||--|| SHIPMENT : belongs to | |
| SHIPMENT }|--|| USER : includes | |
| CUSTOMER ||--o{ USER : owns | |
| INVENTORY }o--o{ INVOICE : manages | |
| USER ||--|{ ORDER : processes | |
| ORDER ||--|{ INVOICE : references",output/809.pintora.png | |
| Design an Entity Relationship diagram. Include about 11 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 }|--|| Ent3 : relates | |
| Ent3 }|--|| Ent4 : relates | |
| Ent4 ||--o{ Ent5 : relates",output/190.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 5d | |
| ""Task 1"" : 2024-01-06, 4d | |
| ""Task 2"" : 2024-01-10, 6d | |
| ""Task 3"" : 2024-01-16, 7d | |
| ""Task 4"" : 2024-01-23, 7d | |
| ""Task 5"" : 2024-01-30, 6d",output/62.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n0 -> n2 | |
| n3 -> n2 | |
| n1 -> n5 | |
| n4 -> n1 | |
| n5 -> n4 | |
| n4 -> n2 | |
| n1 -> n4 | |
| n3 -> n1 | |
| n0 -> n3 | |
| n1 -> n2 | |
| n5 -> n2 | |
| n3 -> n2 | |
| n2 -> n5 | |
| n2 -> n4 | |
| n1 -> n4 | |
| }",output/72.pintora.png | |
| Create a Gantt chart for Q1 roadmap,"gantt | |
| title Q1 Roadmap | |
| dateFormat YYYY-MM-DD | |
| section Dev | |
| ""Feature A"" : 2024-01-01, 30d | |
| ""Feature B"" : 2024-02-01, 20d",output/3.pintora.png | |
| Map out a process flow using an activity diagram. Include about 15 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| :step_9; | |
| if (check10?) then (yes) | |
| :action_yes_10; | |
| else (no) | |
| :action_no_10; | |
| endif | |
| if (check11?) then (yes) | |
| :action_yes_11; | |
| else (no) | |
| :action_no_11; | |
| endif | |
| if (check12?) then (yes) | |
| :action_yes_12; | |
| else (no) | |
| :action_no_12; | |
| endif | |
| :step_13; | |
| if (check14?) then (yes) | |
| :action_yes_14; | |
| else (no) | |
| :action_no_14; | |
| endif | |
| end",output/327.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 <|-- Class2 | |
| Class2 --> Class3 | |
| Class3 --> Class4",output/337.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| int field_2 | |
| bool field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| float field_2 | |
| int field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| float field_2 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : contains | |
| TABLE_1 ||--|{ TABLE_2 : has | |
| TABLE_2 ||--|{ TABLE_3 : uses",output/572.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Action 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| end",output/562.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Process 2; | |
| :Process 3; | |
| :Process 4; | |
| :Action 5; | |
| :Process 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| end",output/614.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 7 steps.,"sequenceDiagram | |
| participant Service_0 | |
| Service_2-->>Service_1: Message 489 | |
| Service_0-->>Service_1: Message 563 | |
| Service_0->Service_3: Message 934 | |
| Service_2-->Service_1: Message 742 | |
| loop Loop check | |
| Service_2-->>Service_1: Message 436 | |
| end | |
| Service_2-->>Service_1: Message 426 | |
| Service_0-->Service_2: Message 536",output/604.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| :step_8; | |
| :step_9; | |
| :step_10; | |
| :step_11; | |
| if (check12?) then (yes) | |
| :action_yes_12; | |
| else (no) | |
| :action_no_12; | |
| endif | |
| end",output/139.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n7 -> n0 | |
| n0 -> n2 | |
| n2 -> n4 | |
| n1 -> n0 | |
| n3 -> n6 | |
| }",output/129.pintora.png | |
| Illustrate a complex business process with activity diagram.,"activityDiagram | |
| title: Order Fulfillment | |
| start | |
| fork | |
| :Parallel Task A0; | |
| forkagain | |
| :Parallel Task B0; | |
| endfork | |
| switch (Type 1?) | |
| case (A) | |
| :Handle A1; | |
| case (B) | |
| :Handle B1; | |
| endswitch | |
| :Step 2; | |
| :Step 3; | |
| :Step 4; | |
| while (Check 5?) is (yes) | |
| :Process 5; | |
| endwhile (done) | |
| :Step 6; | |
| if (Condition 7?) then (yes) | |
| :Action True 7; | |
| else (no) | |
| :Action False 7; | |
| endif | |
| end",output/844.pintora.png | |
| Model an object-oriented system with class diagram.,"classDiagram | |
| class HandlerA { | |
| <<interface>> | |
| -string attr0 | |
| #method0() boolean | |
| #method1() string | |
| -method2() string | |
| } | |
| class ServiceB { | |
| +boolean attr0 | |
| ~boolean attr1 | |
| -boolean attr2 | |
| -string attr3 | |
| -method0() boolean | |
| ~{static} method1() string | |
| #method2() T | |
| } | |
| class ControllerC { | |
| #List~T~ attr0 | |
| ~{static} method0() string | |
| -{static} method1() boolean | |
| ~{static} method2() string | |
| } | |
| class HandlerD { | |
| #int attr0 | |
| +{static} method0() void | |
| +method1() boolean | |
| ~{static} method2() boolean | |
| } | |
| class ControllerE { | |
| -int attr0 | |
| ~method0() void | |
| } | |
| HandlerA <|.. ControllerC | |
| ServiceB o-- ControllerC | |
| ControllerC --> HandlerD | |
| HandlerD <|-- ControllerE",output/854.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n0 -> n1 | |
| n0 -> n4 | |
| n1 -> n5 | |
| n4 -> n2 | |
| n8 -> n1 | |
| n0 -> n3 | |
| n1 -> n0 | |
| n8 -> n6 | |
| n0 -> n4 | |
| n6 -> n3 | |
| }",output/788.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n0 -> n3 | |
| n3 -> n1 | |
| n7 -> n4 | |
| n7 -> n1 | |
| n6 -> n5 | |
| n0 -> n5 | |
| n7 -> n6 | |
| n7 -> n5 | |
| n0 -> n6 | |
| }",output/798.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 15 steps.,"sequenceDiagram | |
| autonumber | |
| alt Condition | |
| Service_1-->>Service_0: Message 128 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| alt Condition | |
| Service_1-->>Service_0: Message 184 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_0-xService_1: Message 174 | |
| Service_0->>Service_1: Message 922 | |
| Service_0-->>Service_1: Message 151 | |
| Service_1->>Service_0: Message 564 | |
| Service_0->Service_1: Message 541 | |
| Service_0-->>Service_1: Message 699 | |
| Service_0-xService_1: Message 229 | |
| alt Condition | |
| Service_1->>Service_0: Message 960 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| alt Condition | |
| Service_0->>Service_1: Message 866 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_1->>Service_0: Message 585 | |
| alt Condition | |
| Service_1-->>Service_0: Message 508 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| alt Condition | |
| Service_1->>Service_0: Message 531 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_0-->Service_1: Message 212",output/596.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 5 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| Service_0->Service_1: Message 838 | |
| Service_1->>Service_0: Message 153 | |
| Service_0->>Service_1: Message 743 | |
| Service_0-xService_1: Message 121 | |
| Service_0-->Service_1: Message 404",output/586.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| end",output/86.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""circle"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n1 -> n4 | |
| n8 -> n9 | |
| n4 -> n7 | |
| n9 -> n5 | |
| n2 -> n8 | |
| n7 -> n9 | |
| n6 -> n2 | |
| n1 -> n2 | |
| n5 -> n1 | |
| n0 -> n9 | |
| n7 -> n8 | |
| }",output/457.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 14 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 4d | |
| ""Task 1"" : 2024-01-05, 7d | |
| ""Task 2"" : 2024-01-12, 5d",output/96.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n6 -> n2 | |
| n2 -> n7 | |
| n6 -> n0 | |
| n0 -> n3 | |
| n4 -> n6 | |
| n4 -> n3 | |
| n7 -> n4 | |
| n4 -> n2 | |
| }",output/447.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 <|-- Class2",output/202.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 8d | |
| ""Task 1"" : 2024-01-09, 7d | |
| ""Task 2"" : 2024-01-16, 2d",output/212.pintora.png | |
| Create a Gantt chart for agile sprint,"gantt | |
| title Sprint 23 | |
| dateFormat YYYY-MM-DD | |
| axisFormat %a | |
| axisInterval 1d | |
| section User Stories | |
| ""US-101: Login feature"" : us101, 2024-05-06, 3d | |
| ""US-102: Dashboard"" : us102, after us101, 4d | |
| ""US-103: Reports"" : us103, 2024-05-08, 5d | |
| section Tasks | |
| ""Code review"" : 2024-05-07, 8d | |
| ""Daily standups"" : 2024-05-06, 10d | |
| section Milestones | |
| ""Sprint Review"" : milestone, 2024-05-17, 0d",output/985.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| end",output/164.pintora.png | |
| Create an ER diagram with optional attributes,"erDiagram | |
| PERSON { | |
| int id PK | |
| string first_name | |
| string last_name | |
| string middle_name ""optional"" | |
| date birth_date | |
| string phone ""optional"" | |
| } | |
| ADDRESS { | |
| int id PK | |
| int person_id FK | |
| string street | |
| string city | |
| string state | |
| string zip | |
| string country | |
| } | |
| PERSON ||--o{ ADDRESS : ""lives at"" ",output/995.pintora.png | |
| Design an Entity Relationship diagram. Include about 8 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|{ Ent1 : relates | |
| Ent1 ||--o{ Ent2 : relates",output/174.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| string field_2 | |
| int field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| int field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| datetime field_2 | |
| float field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| int field_2 | |
| string field_3 | |
| int field_4 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| string field_2 | |
| float field_3 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : has | |
| TABLE_1 ||--|| TABLE_2 : has | |
| TABLE_2 ||--|| TABLE_3 : manages | |
| TABLE_3 ||--|| TABLE_4 : has | |
| TABLE_4 ||--|{ TABLE_5 : manages | |
| TABLE_5 ||--o{ TABLE_6 : uses | |
| TABLE_6 ||--o{ TABLE_7 : has",output/649.pintora.png | |
| Generate a DOT directed graph with 7 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n5 -> n6 | |
| n5 -> n1 | |
| n1 -> n2 | |
| n6 -> n2 | |
| n2 -> n5 | |
| n3 -> n5 | |
| n0 -> n1 | |
| }",output/731.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 6 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_1 | |
| Service_1-->>Service_0: Message 330 | |
| Service_0-->Service_1: Message 424 | |
| Service_2-->Service_0: Message 316 | |
| Service_1->Service_2: Message 963 | |
| Service_1-->Service_2: Message 214 | |
| Service_1-xService_0: Message 316",output/659.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 8 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| alt Condition | |
| Service_0->>Service_1: Message 882 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0->Service_1: Message 622 | |
| loop Loop check | |
| Service_0->Service_1: Message 497 | |
| end | |
| Service_0-->>Service_1: Message 622 | |
| alt Condition | |
| Service_0-->Service_1: Message 506 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0->Service_1: Message 207 | |
| Service_1-->>Service_0: Message 588 | |
| Service_1-xService_0: Message 973",output/721.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Process 2; | |
| :Action 3; | |
| :Action 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Process 6; | |
| end",output/753.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| Service_1-->Service_0: Message 667 | |
| Service_1-->Service_0: Message 622 | |
| Service_1-->>Service_0: Message 306 | |
| @note right of Service_0: Note processing | |
| Service_0->Service_1: Message 516 | |
| Service_1-->Service_0: Message 110 | |
| @note right of Service_1: Note processing | |
| Service_1->>Service_0: Message 552 | |
| loop Loop check | |
| Service_0->>Service_1: Message 955 | |
| end | |
| Service_0->>Service_1: Message 523 | |
| Service_1-->>Service_0: Message 803 | |
| Service_0->Service_1: Message 311",output/743.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| ** Task 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| *** Subitem 2.1 | |
| *** Subitem 2.2 | |
| **** Detail 2.2.1",output/106.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 11 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 <|-- Class2 | |
| Class2 --> Class3",output/116.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 15 elements.,"sequenceDiagram | |
| autonumber | |
| P0->P1: msg_31 | |
| P1-->>P0: msg_6 | |
| P0-->>P1: msg_19 | |
| P0->P1: msg_42 | |
| P1-->>P0: msg_87 | |
| P1-->>P0: msg_37 | |
| P0-->P1: msg_5 | |
| P1-->>P0: msg_23 | |
| P1->>P0: msg_74 | |
| P0->P1: msg_51 | |
| P1-->P0: msg_88 | |
| P1->P0: msg_53 | |
| P1-->>P0: msg_47 | |
| P0->>P1: msg_7 | |
| P1->P0: msg_31",output/318.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 14 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 10d | |
| ""Task 1"" : 2024-01-11, 10d | |
| ""Task 2"" : 2024-01-21, 4d",output/260.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 7 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 *-- Class2 | |
| Class2 <|-- Class3 | |
| Class3 --> Class4 | |
| Class4 --> Class5",output/308.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 <|-- Class2 | |
| Class2 o-- Class3",output/270.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n10 [shape=""box"", label=""Node n10""] | |
| n6 -> n2 | |
| n6 -> n7 | |
| n8 -> n7 | |
| n8 -> n5 | |
| n7 -> n0 | |
| n6 -> n5 | |
| n5 -> n1 | |
| n7 -> n3 | |
| n9 -> n3 | |
| n3 -> n5 | |
| n0 -> n5 | |
| n0 -> n8 | |
| }",output/435.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Process 2; | |
| :Process 3; | |
| :Action 4; | |
| end",output/425.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n7 -> n5 | |
| n8 -> n5 | |
| n5 -> n1 | |
| n1 -> n7 | |
| n6 -> n5 | |
| n1 -> n5 | |
| n2 -> n8 | |
| n4 -> n2 | |
| n8 -> n7 | |
| n0 -> n3 | |
| }",output/692.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Action 5; | |
| :Process 6; | |
| :Process 7; | |
| :Process 8; | |
| end",output/682.pintora.png | |
| Map a complex business process with activity diagram. Use advanced syntax features.,"activityDiagram | |
| start | |
| while (Check 0?) is (yes) | |
| :Process 0; | |
| endwhile (done) | |
| @note right: Important step 1 | |
| :Critical action 1; | |
| :Step 2; | |
| :Step 3; | |
| :Step 4; | |
| :Step 5; | |
| fork | |
| :Parallel Task A6; | |
| forkagain | |
| :Parallel Task B6; | |
| endfork | |
| :Step 7; | |
| :Step 8; | |
| :Step 9; | |
| } | |
| end",output/826.pintora.png | |
| Design an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| autonumber | |
| participant [<database> ServiceB] | |
| par Parallel processing | |
| ServiceB->ServiceA: Task A | |
| and | |
| ServiceB->ServiceB: Task B | |
| end | |
| ServiceC-->ServiceB: Process event | |
| @note right of ServiceC: Processing | |
| ServiceC-->ServiceB: Update 2 | |
| ServiceA->ServiceC: Query 3 | |
| par Parallel processing | |
| ServiceC->ServiceA: Task A | |
| and | |
| ServiceC->ServiceB: Task B | |
| end | |
| ServiceA-->ServiceB: Update 5 | |
| loop Batch process | |
| ServiceB->ServiceC: Validate | |
| ServiceC-->>ServiceB: Response | |
| end | |
| ServiceB->ServiceA: Process event | |
| par Parallel processing | |
| ServiceC-->ServiceA: Task A | |
| and | |
| ServiceC-->ServiceB: Task B | |
| end | |
| activate ServiceB | |
| ServiceA->ServiceB: Request 9 | |
| deactivate ServiceB",output/836.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 7 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 8d | |
| ""Task 1"" : 2024-01-09, 10d | |
| ""Task 2"" : 2024-01-19, 10d",output/295.pintora.png | |
| Design an Entity Relationship diagram. Include about 5 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|| Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates",output/285.pintora.png | |
| Map out a process flow using an activity diagram. Include about 7 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| end",output/11.pintora.png | |
| Write a sequence diagram showing parallel processing with fork,"sequenceDiagram | |
| title: Parallel Data Processing | |
| participant Controller | |
| participant Worker1 | |
| participant Worker2 | |
| participant Aggregator | |
| Controller->>Worker1: Process batch 1 | |
| Controller->>Worker2: Process batch 2 | |
| par #aaddff Parallel processing | |
| Worker1->>Worker1: Compute | |
| Worker1-->>Aggregator: Results 1 | |
| and | |
| Worker2->>Worker2: Compute | |
| Worker2-->>Aggregator: Results 2 | |
| end | |
| Aggregator-->>Controller: Combined results",output/912.pintora.png | |
| Visualize a complex graph with DOT diagram. Use advanced syntax features.,"dotDiagram | |
| graph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""plaintext"", bgcolor=""#e3f2fd""] | |
| subgraph cluster_0 { | |
| label=""Group A"" | |
| a0 [label=""Node a0""] | |
| a1 [label=""Node a1""] | |
| } | |
| subgraph cluster_1 { | |
| label=""Group B"" | |
| b0 [label=""Node b0""] | |
| b1 [label=""Node b1""] | |
| } | |
| b0 -- a1 | |
| a0 -- b1 | |
| a0 -- b1 | |
| b1 -- b0 | |
| a1 -- b1 | |
| }",output/902.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| datetime field_2 | |
| string field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : manages | |
| TABLE_1 ||--|{ TABLE_2 : owns | |
| TABLE_2 ||--|| TABLE_3 : has | |
| TABLE_3 }|--|| TABLE_4 : contains | |
| TABLE_4 ||--|{ TABLE_5 : uses",output/667.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n0 -> n5 | |
| n0 -> n2 | |
| n1 -> n0 | |
| n0 -> n4 | |
| n3 -> n5 | |
| n1 -> n7 | |
| n6 -> n3 | |
| n5 -> n1 | |
| n8 -> n0 | |
| n3 -> n8 | |
| n5 -> n7 | |
| }",output/677.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 15 elements.,"sequenceDiagram | |
| autonumber | |
| P4-->>P2: msg_60 | |
| P3-->>P1: msg_33 | |
| P0->P1: msg_43 | |
| P3-->>P2: msg_10 | |
| P2-->>P0: msg_97 | |
| P0->P2: msg_79 | |
| P1->P2: msg_73 | |
| P3->P4: msg_87 | |
| P3-->>P1: msg_77 | |
| P0->>P2: msg_25 | |
| P0->P3: msg_21 | |
| P4-->P3: msg_29 | |
| P2->>P1: msg_24 | |
| P3-->>P2: msg_68 | |
| P0->P1: msg_17",output/354.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 12 elements.,"sequenceDiagram | |
| autonumber | |
| P1->P0: msg_42 | |
| P2-->>P1: msg_59 | |
| P2-->P0: msg_14 | |
| P1-->>P3: msg_1 | |
| P2->P4: msg_23 | |
| P4-->P1: msg_28 | |
| P2-->P3: msg_94 | |
| P4->>P1: msg_42 | |
| P4-->>P1: msg_11 | |
| P0->>P4: msg_39 | |
| P0->>P2: msg_24 | |
| P0-->P1: msg_97",output/344.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| datetime field_2 | |
| bool field_3 | |
| string field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| int field_2 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : uses | |
| TABLE_1 }|--|| TABLE_2 : has | |
| TABLE_2 }|--|| TABLE_3 : manages",output/479.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 5 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| alt Condition | |
| Service_0->>Service_1: Message 101 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0-xService_1: Message 189 | |
| Service_1->>Service_0: Message 901 | |
| loop Loop check | |
| Service_0-->Service_1: Message 516 | |
| end | |
| loop Loop check | |
| Service_0->Service_1: Message 378 | |
| end",output/501.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| float field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| bool field_2 | |
| datetime field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| float field_2 | |
| int field_3 | |
| float field_4 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : uses | |
| TABLE_1 }|--|| TABLE_2 : owns | |
| TABLE_2 ||--|{ TABLE_3 : uses | |
| TABLE_3 ||--|| TABLE_4 : contains | |
| TABLE_4 ||--|{ TABLE_5 : owns | |
| TABLE_5 }|--|| TABLE_6 : has",output/469.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Action 3; | |
| :Process 4; | |
| :Process 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| fork | |
| :Parallel 1 7; | |
| forkagain | |
| :Parallel 2 7; | |
| endfork | |
| end",output/511.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 15 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| Service_0-xService_1: Message 911 | |
| Service_1-->>Service_0: Message 112 | |
| @note right of Service_0: Note processing | |
| Service_0-->>Service_1: Message 879 | |
| loop Loop check | |
| Service_1->>Service_0: Message 608 | |
| end | |
| Service_1->Service_0: Message 685 | |
| Service_0-->>Service_1: Message 156 | |
| Service_1->>Service_0: Message 873 | |
| Service_1-->Service_0: Message 192 | |
| Service_0-->>Service_1: Message 263 | |
| Service_0->>Service_1: Message 228 | |
| Service_0-xService_1: Message 903 | |
| Service_0->>Service_1: Message 834 | |
| loop Loop check | |
| Service_0-->Service_1: Message 478 | |
| end | |
| Service_0->>Service_1: Message 181 | |
| Service_0->>Service_1: Message 235",output/563.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| string field_2 | |
| bool field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| bool field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| string field_2 | |
| bool field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| bool field_2 | |
| float field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : uses | |
| TABLE_1 ||--|| TABLE_2 : has | |
| TABLE_2 ||--o{ TABLE_3 : uses",output/573.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 4d | |
| ""Task 1"" : 2024-01-05, 5d | |
| ""Task 2"" : 2024-01-10, 2d | |
| ""Task 3"" : 2024-01-12, 7d",output/336.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 10 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 o-- Class2 | |
| Class2 *-- Class3 | |
| Class3 *-- Class4",output/326.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 8d | |
| ""Task 1"" : 2024-01-09, 9d | |
| ""Task 2"" : 2024-01-18, 7d | |
| ""Task 3"" : 2024-01-25, 10d | |
| ""Task 4"" : 2024-02-04, 3d",output/128.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| end",output/138.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n1 -> n5 | |
| n2 -> n3 | |
| n5 -> n2 | |
| n1 -> n2 | |
| n4 -> n2 | |
| n3 -> n4 | |
| n0 -> n1 | |
| }",output/605.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| int field_2 | |
| float field_3 | |
| string field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| string field_2 | |
| bool field_3 | |
| int field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| bool field_2 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| string field_2 | |
| float field_3 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : has | |
| TABLE_1 ||--|| TABLE_2 : uses | |
| TABLE_2 }|--|| TABLE_3 : uses | |
| TABLE_3 ||--|{ TABLE_4 : contains | |
| TABLE_4 ||--o{ TABLE_5 : manages | |
| TABLE_5 }|--|| TABLE_6 : uses | |
| TABLE_6 ||--|| TABLE_7 : manages",output/615.pintora.png | |
| Create a detailed hierarchical mind map. Use advanced syntax features.,"mindmap | |
| * System Architecture | |
| ** Topic A | |
| *** Subtopic A.1 | |
| **** Detail A.1.1 | |
| *** Subtopic A.2 | |
| **** Detail A.2.1 | |
| **** Detail A.2.2 | |
| **** Detail A.2.3 | |
| *** Subtopic A.3 | |
| *** Subtopic A.4 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| *** Subtopic B.2 | |
| *** Subtopic B.3 | |
| **** Detail B.3.1 | |
| *** Subtopic B.4 | |
| **** Detail B.4.1 | |
| **** Detail B.4.2 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| *** Subtopic C.2 | |
| **** Detail C.2.1 | |
| *** Subtopic C.3 | |
| **** Detail C.3.1 | |
| **** Detail C.3.2 | |
| *** Subtopic C.4 | |
| **** Detail C.4.1 | |
| **** Detail C.4.2 | |
| **** Detail C.4.3 | |
| ** Topic D | |
| *** Subtopic D.1 | |
| *** Subtopic D.2 | |
| *** Subtopic D.3 | |
| **** Detail D.3.1 | |
| **** Detail D.3.2 | |
| **** Detail D.3.3 | |
| *** Subtopic D.4 | |
| ** Topic E | |
| *** Subtopic E.1 | |
| **** Detail E.1.1 | |
| **** Detail E.1.2 | |
| **** Detail E.1.3 | |
| *** Subtopic E.2 | |
| *** Subtopic E.3 | |
| **** Detail E.3.1 | |
| *** Subtopic E.4 | |
| **** Detail E.4.1",output/808.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 }|--|| Ent3 : relates | |
| Ent3 ||--o{ Ent4 : relates | |
| Ent4 ||--|| Ent5 : relates",output/191.pintora.png | |
| Create a DOT diagram for a state machine,"dotDiagram | |
| digraph StateMachine { | |
| bgcolor=""#fefefe"" | |
| node [bgcolor=""#e1f5fe""] | |
| idle [shape=""ellipse"", label=""Idle""] | |
| running [shape=""box"", label=""Running""] | |
| paused [shape=""box"", label=""Paused""] | |
| stopped [shape=""ellipse"", label=""Stopped""] | |
| idle -> running [label=""start""] | |
| running -> paused [label=""pause""] | |
| paused -> running [label=""resume""] | |
| running -> stopped [label=""stop""] | |
| paused -> stopped [label=""stop""] | |
| stopped -> idle [label=""reset""] | |
| }",output/970.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 *-- Class2",output/181.pintora.png | |
| Build a detailed component architecture diagram. Use advanced syntax features.,"componentDiagram | |
| title: Microservices | |
| package ""Backend"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| () I0 | |
| } | |
| database ""Data Store"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| [Comp1_2] | |
| [Comp1_3] | |
| } | |
| node ""Container Group"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| [Comp2_2] | |
| } | |
| I0 ..> [Comp1_1] | |
| [Comp1_1] ..> [Comp1_2] | |
| [Comp2_2] ..> [Comp2_1] | |
| [Comp1_3] ..> [Comp1_2] | |
| I0 --> [Comp0_1] | |
| [Comp1_1] -- [Comp1_3] | |
| [Comp0_0] --> [Comp2_1] | |
| [Comp0_1] --> I0 | |
| [Comp0_1] ..> [Comp1_2] | |
| [Comp1_2] --> [Comp2_1] | |
| [Comp1_0] -- [Comp2_2] | |
| [Comp1_0] ..|> [Comp1_3] | |
| [Comp1_1] -- [Comp0_0]",output/818.pintora.png | |
| Create an ER diagram for a school management system,"erDiagram | |
| STUDENT { | |
| int student_id PK | |
| string name | |
| date birth_date | |
| string email | |
| } | |
| TEACHER { | |
| int teacher_id PK | |
| string name | |
| string department | |
| } | |
| COURSE { | |
| int course_id PK | |
| string name | |
| int credits | |
| int teacher_id FK | |
| } | |
| ENROLLMENT { | |
| int student_id PK | |
| int course_id PK | |
| string grade | |
| date enrolled_date | |
| } | |
| STUDENT ||--o{ ENROLLMENT : enrolls | |
| COURSE ||--o{ ENROLLMENT : has | |
| TEACHER ||--o{ COURSE : teaches",output/960.pintora.png | |
| Draw a mindmap for project planning,"mindmap | |
| * Project | |
| ** Phase 1 | |
| *** Design | |
| *** Proto | |
| ** Phase 2 | |
| *** Dev | |
| *** Test",output/2.pintora.png | |
| Design an Entity Relationship diagram. Include about 9 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 }|--|| Ent3 : relates | |
| Ent3 }|--|| Ent4 : relates",output/73.pintora.png | |
| Map out a process flow using an activity diagram. Include about 13 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| :step_6; | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| :step_9; | |
| :step_10; | |
| :step_11; | |
| :step_12; | |
| end",output/63.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| *** Subitem 1.2",output/213.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 11 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n2 -> n1 | |
| n0 -> n5 | |
| n1 -> n2 | |
| n2 -> n0 | |
| n2 -> n1 | |
| n6 -> n2 | |
| n6 -> n5 | |
| n1 -> n2 | |
| n2 -> n4 | |
| n0 -> n4 | |
| n6 -> n4 | |
| }",output/203.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| float field_2 | |
| bool field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| bool field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| bool field_2 | |
| string field_3 | |
| string field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| int field_2 | |
| string field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| int field_2 | |
| float field_3 | |
| int field_4 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : contains | |
| TABLE_1 ||--o{ TABLE_2 : uses | |
| TABLE_2 ||--o{ TABLE_3 : has | |
| TABLE_3 ||--o{ TABLE_4 : uses",output/446.pintora.png | |
| Draft a component diagram for system architecture. Include about 12 elements.,"componentDiagram | |
| package ""System"" { | |
| [Comp0] | |
| [Comp1] | |
| [Comp2] | |
| [Comp3] | |
| [Comp4] | |
| [Comp5] | |
| [Comp6] | |
| } | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3] | |
| [Comp3] --> [Comp4] | |
| [Comp4] --> [Comp5] | |
| [Comp5] --> [Comp6]",output/97.pintora.png | |
| Write a component diagram showing a system with 6 components distributed across packages.,"componentDiagram | |
| package ""System A"" { | |
| [Comp0] | |
| [Comp1] | |
| [Comp2] | |
| } | |
| package ""System B"" { | |
| [Comp3] | |
| [Comp4] | |
| [Comp5] | |
| } | |
| () HTTP | |
| () DB_Conn | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3] | |
| [Comp3] --> [Comp4] | |
| [Comp4] --> [Comp5] | |
| [Comp0] --> HTTP | |
| [Comp5] --> DB_Conn",output/456.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 8 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Task 1 | |
| *** Subitem 1.0",output/87.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n2 -> n0 | |
| n0 -> n3 | |
| n4 -> n1 | |
| n4 -> n0 | |
| n4 -> n0 | |
| }",output/720.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| string field_2 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : has | |
| TABLE_1 ||--|{ TABLE_2 : manages",output/658.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| float field_2 | |
| float field_3 | |
| bool field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| float field_2 | |
| datetime field_3 | |
| string field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| bool field_2 | |
| int field_3 | |
| bool field_4 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : contains | |
| TABLE_1 ||--|| TABLE_2 : uses | |
| TABLE_2 }|--|| TABLE_3 : owns | |
| TABLE_3 }|--|| TABLE_4 : owns | |
| TABLE_4 ||--|{ TABLE_5 : has",output/730.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| int field_2 | |
| datetime field_3 | |
| bool field_4 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : owns | |
| TABLE_1 ||--|| TABLE_2 : owns | |
| TABLE_2 ||--o{ TABLE_3 : contains",output/648.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 14 elements.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1",output/175.pintora.png | |
| Write a DOT diagram for module dependencies,"dotDiagram | |
| @param edgeType curved | |
| digraph Modules { | |
| bgcolor=""#f5f5f5"" | |
| node [bgcolor=""#c8e6c9""] | |
| subgraph core { | |
| label=""Core"" | |
| utils[""utils""] | |
| config[""config""] | |
| logger[""logger""] | |
| } | |
| subgraph services { | |
| label=""Services"" | |
| auth[""auth""] | |
| api[""api""] | |
| db[""database""] | |
| } | |
| auth -> utils | |
| auth -> config | |
| api -> auth | |
| api -> logger | |
| db -> config | |
| db -> logger | |
| }",output/994.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1",output/165.pintora.png | |
| Write a mind map for API design,"mindmap | |
| * REST API Design | |
| ** HTTP Methods | |
| *** GET | |
| *** POST | |
| *** PUT | |
| *** DELETE | |
| *** PATCH | |
| ** Status Codes | |
| *** 2xx Success | |
| *** 4xx Client Error | |
| *** 5xx Server Error | |
| ** Best Practices | |
| *** Versioning | |
| *** Pagination | |
| *** Rate Limiting | |
| *** HATEOAS | |
| ** Security | |
| *** Authentication | |
| *** Authorization | |
| *** Input Validation",output/984.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""circle"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n10 [shape=""circle"", label=""Node n10""] | |
| n2 -> n6 | |
| n1 -> n3 | |
| n3 -> n7 | |
| n10 -> n8 | |
| n7 -> n2 | |
| n3 -> n6 | |
| n4 -> n0 | |
| n1 -> n6 | |
| n9 -> n1 | |
| n9 -> n2 | |
| }",output/799.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Action 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| end",output/789.pintora.png | |
| Schedule a project timeline with Gantt chart.,"gantt | |
| title Software Release | |
| dateFormat YYYY-MM-DD | |
| axisFormat %b %d | |
| section Marketing | |
| ""Task Mar1"" : 2024-01-01, 15d | |
| ""Task Mar2"" : 2024-01-16, 7d | |
| section Testing | |
| ""Task Tes1"" : 2024-01-23, 10d | |
| ""Task Tes2"" : 2024-02-02, 6d | |
| ""Milestone"" : milestone, 2024-02-08, 0d | |
| section Operations | |
| ""Task Ope1"" : 2024-02-08, 5d | |
| ""Task Ope2"" : 2024-02-13, 9d | |
| ""Task Ope3"" : 2024-02-22, 10d",output/855.pintora.png | |
| Model an object-oriented system with class diagram.,"classDiagram | |
| title: Singleton Pattern | |
| class RepositoryA { | |
| +List~T~ attr0 | |
| -method0() T | |
| } | |
| class ControllerB { | |
| <<enumeration>> | |
| #string attr0 | |
| ~boolean attr1 | |
| ~List~T~ attr2 | |
| +List~T~ attr3 | |
| #method0() boolean | |
| +method1() void | |
| -{static} method2() void | |
| } | |
| class ManagerC { | |
| +string attr0 | |
| ~method0() string | |
| +method1() T | |
| ~method2() void | |
| } | |
| class StrategyD { | |
| -int attr0 | |
| -List~T~ attr1 | |
| +boolean attr2 | |
| ~{static} method0() boolean | |
| -method1() void | |
| } | |
| class ControllerE { | |
| <<enumeration>> | |
| ~string attr0 | |
| -boolean attr1 | |
| -method0() void | |
| -method1() T | |
| } | |
| RepositoryA --> StrategyD | |
| ControllerB --> StrategyD | |
| ManagerC <|.. StrategyD | |
| StrategyD <|.. ControllerE",output/845.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| datetime field_2 | |
| int field_3 | |
| bool field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| int field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| float field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| float field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| int field_2 | |
| datetime field_3 | |
| datetime field_4 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| int field_2 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : contains | |
| TABLE_1 ||--|{ TABLE_2 : has | |
| TABLE_2 ||--o{ TABLE_3 : uses | |
| TABLE_3 ||--|{ TABLE_4 : manages | |
| TABLE_4 ||--|{ TABLE_5 : uses | |
| TABLE_5 }|--|| TABLE_6 : has | |
| TABLE_6 ||--o{ TABLE_7 : uses",output/587.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Action 3; | |
| :Process 4; | |
| end",output/597.pintora.png | |
| Build a detailed component architecture diagram.,"componentDiagram | |
| title: Microservices | |
| cloud ""Azure"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| } | |
| node ""Server Farm"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| [Comp1_2] | |
| () I1 | |
| } | |
| node ""Container Group"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| [Comp2_2] | |
| [Comp2_3] | |
| } | |
| [Comp2_0] -- [Comp1_0] | |
| I1 -- [Comp2_3] | |
| [Comp2_0] ..> [Comp1_2] | |
| [Comp1_1] ..> [Comp2_0] | |
| [Comp0_0] ..|> I1 | |
| [Comp2_1] ..> [Comp2_3] | |
| [Comp0_0] ..> I1 | |
| [Comp0_1] -- [Comp1_2] | |
| [Comp2_2] ..|> [Comp0_1] | |
| [Comp2_3] --> [Comp2_2] | |
| [Comp0_1] ..|> [Comp2_1] | |
| [Comp2_2] ..|> [Comp2_0] | |
| [Comp1_2] ..> [Comp1_0] | |
| [Comp1_0] -- [Comp2_0] | |
| [Comp2_0] -- [Comp1_1]",output/837.pintora.png | |
| Schedule a project timeline with Gantt chart.,"gantt | |
| title Software Release | |
| dateFormat YYYY-MM-DD | |
| axisFormat %b %d | |
| section Deployment | |
| ""Task Dep1"" : 2024-03-01, 4d | |
| ""Task Dep2"" : 2024-03-05, 20d | |
| ""Task Dep3"" : 2024-03-25, 17d | |
| ""Task Dep4"" : 2024-04-11, 8d | |
| section Testing | |
| ""Task Tes1"" : 2024-04-19, 3d | |
| ""Task Tes2"" : 2024-04-22, 5d",output/827.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| end",output/683.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 14 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_1 | |
| Service_1-->>Service_0: Message 196 | |
| loop Loop check | |
| Service_1-xService_0: Message 973 | |
| end | |
| Service_0->>Service_1: Message 694 | |
| Service_1->>Service_0: Message 574 | |
| Service_1->>Service_0: Message 728 | |
| Service_0-xService_1: Message 125 | |
| Service_0->>Service_1: Message 677 | |
| Service_1-->Service_0: Message 338 | |
| alt Condition | |
| Service_0-->>Service_1: Message 825 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0->Service_1: Message 123 | |
| Service_1-xService_0: Message 204 | |
| @note right of Service_1: Note processing | |
| Service_1-->>Service_0: Message 725 | |
| Service_1->Service_0: Message 577 | |
| alt Condition | |
| Service_0-->>Service_1: Message 741 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end",output/693.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 11 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 o-- Class2 | |
| Class2 <|-- Class3 | |
| Class3 *-- Class4",output/117.pintora.png | |
| Map out a process flow using an activity diagram. Include about 12 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| :step_8; | |
| :step_9; | |
| :step_10; | |
| if (check11?) then (yes) | |
| :action_yes_11; | |
| else (no) | |
| :action_no_11; | |
| endif | |
| end",output/107.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 5 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_2 | |
| Service_3->Service_1: Message 341 | |
| Service_1->>Service_2: Message 982 | |
| Service_1->>Service_3: Message 281 | |
| Service_3-xService_0: Message 711 | |
| Service_2->>Service_3: Message 410",output/742.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Action 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Action 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| fork | |
| :Parallel 1 8; | |
| forkagain | |
| :Parallel 2 8; | |
| endfork | |
| end",output/752.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Action 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| :Process 4; | |
| :Process 5; | |
| :Process 6; | |
| end",output/424.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| string field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| datetime field_2 | |
| string field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : has | |
| TABLE_1 ||--|{ TABLE_2 : has | |
| TABLE_2 ||--|{ TABLE_3 : manages",output/434.pintora.png | |
| Map out a process flow using an activity diagram. Include about 5 elements.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| end",output/271.pintora.png | |
| Design an Entity Relationship diagram. Include about 7 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--o{ Ent2 : relates | |
| Ent2 ||--|{ Ent3 : relates",output/309.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 6 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 3d | |
| ""Task 1"" : 2024-01-04, 10d | |
| ""Task 2"" : 2024-01-14, 2d | |
| ""Task 3"" : 2024-01-16, 9d | |
| ""Task 4"" : 2024-01-25, 5d | |
| ""Task 5"" : 2024-01-30, 2d",output/261.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 *-- Class2 | |
| Class2 --> Class3 | |
| Class3 <|-- Class4 | |
| Class4 <|-- Class5",output/319.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 10 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 --> Class2 | |
| Class2 o-- Class3 | |
| Class3 *-- Class4 | |
| Class4 *-- Class5",output/402.pintora.png | |
| Write a component diagram showing a system with 4 components distributed across packages.,"componentDiagram | |
| package ""System A"" { | |
| [Comp0] | |
| [Comp1] | |
| } | |
| package ""System B"" { | |
| [Comp2] | |
| [Comp3] | |
| } | |
| () HTTP | |
| () DB_Conn | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3] | |
| [Comp0] --> HTTP | |
| [Comp3] --> DB_Conn",output/412.pintora.png | |
| Design an Entity Relationship diagram. Include about 15 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|| Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates",output/257.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| **** Detail 0.2.1 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| ** Idea 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1 | |
| ** Feature 3 | |
| *** Subitem 3.0 | |
| **** Detail 3.0.1 | |
| *** Subitem 3.1 | |
| **** Detail 3.1.1",output/247.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 12 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 8d | |
| ""Task 1"" : 2024-01-09, 6d | |
| ""Task 2"" : 2024-01-15, 2d",output/131.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 <|-- Class2",output/121.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 12 steps.,"sequenceDiagram | |
| Service_0->>Service_1: Message 387 | |
| Service_1-->>Service_0: Message 490 | |
| @note right of Service_1: Note processing | |
| Service_1-->>Service_0: Message 219 | |
| alt Condition | |
| Service_1-->Service_0: Message 495 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| @note right of Service_0: Note processing | |
| Service_0-->>Service_1: Message 733 | |
| alt Condition | |
| Service_0->>Service_1: Message 199 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0-->Service_1: Message 410 | |
| Service_0->>Service_1: Message 487 | |
| Service_1->Service_0: Message 678 | |
| Service_1-->Service_0: Message 671 | |
| Service_1-->>Service_0: Message 991 | |
| alt Condition | |
| Service_0-->>Service_1: Message 130 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end",output/764.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 12 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| participant Service_4 | |
| Service_2-xService_3: Message 309 | |
| Service_2->>Service_3: Message 209 | |
| alt Condition | |
| Service_3->>Service_2: Message 343 | |
| else Other case | |
| Service_2-->>Service_3: Response | |
| end | |
| @note right of Service_0: Note processing | |
| Service_0->Service_2: Message 507 | |
| Service_2->Service_3: Message 854 | |
| Service_0-->>Service_3: Message 538 | |
| Service_4-->>Service_2: Message 181 | |
| Service_4-->Service_1: Message 522 | |
| Service_1-->>Service_4: Message 806 | |
| Service_0-->Service_1: Message 211 | |
| Service_1->Service_2: Message 225 | |
| Service_4-xService_0: Message 928",output/774.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 8 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 o-- Class2 | |
| Class2 o-- Class3 | |
| Class3 <|-- Class4",output/188.pintora.png | |
| Schedule a project timeline with Gantt chart.,"gantt | |
| title Infrastructure Upgrade | |
| dateFormat YYYY-MM-DD | |
| section Testing | |
| ""Task Tes1"" : 2024-03-01, 7d | |
| ""Task Tes2"" : 2024-03-08, 3d | |
| section Deployment | |
| ""Task Dep1"" : 2024-03-11, 5d | |
| ""Task Dep2"" : 2024-03-16, 10d | |
| ""Milestone"" : milestone, 2024-04-02, 0d",output/811.pintora.png | |
| Write a Gantt chart for daily schedule,"gantt | |
| title Daily Schedule | |
| dateFormat HH:mm | |
| axisFormat %H:%M | |
| axisInterval 1h | |
| section Morning | |
| ""Wake up & Exercise"" : 06:00, 1h | |
| ""Breakfast"" : 07:00, 30m | |
| ""Commute"" : 07:30, 45m | |
| section Work | |
| ""Morning meetings"" : 08:30, 2h | |
| ""Deep work"" : 10:30, 3h | |
| ""Lunch"" : 13:30, 1h | |
| section Afternoon | |
| ""Collaborative work"" : 14:30, 3h | |
| ""Wrap up"" : 17:30, 30m | |
| ""Commute home"" : 18:00, 45m",output/969.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 11 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_4 | |
| Service_4->Service_2: Message 381 | |
| Service_1-->>Service_0: Message 665 | |
| alt Condition | |
| Service_1->>Service_3: Message 443 | |
| else Other case | |
| Service_3-->>Service_1: Response | |
| end | |
| Service_2-xService_3: Message 363 | |
| Service_1-->>Service_0: Message 819 | |
| Service_1->Service_0: Message 820 | |
| Service_3->>Service_0: Message 722 | |
| Service_1->>Service_4: Message 294 | |
| Service_0-xService_4: Message 594 | |
| Service_1->Service_3: Message 427 | |
| Service_0->>Service_4: Message 994",output/801.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| :step_9; | |
| :step_10; | |
| :step_11; | |
| end",output/198.pintora.png | |
| Create a sequence diagram for database transaction,"sequenceDiagram | |
| title: Database Transaction | |
| participant App | |
| participant Connection | |
| participant [<database> DB] | |
| App->>Connection: Begin transaction | |
| activate Connection | |
| Connection->>DB: START TRANSACTION | |
| App->>Connection: Execute query 1 | |
| Connection->>DB: INSERT INTO orders | |
| App->>Connection: Execute query 2 | |
| Connection->>DB: UPDATE inventory | |
| alt All successful | |
| App->>Connection: Commit | |
| Connection->>DB: COMMIT | |
| else Error occurred | |
| App->>Connection: Rollback | |
| Connection->>DB: ROLLBACK | |
| end | |
| deactivate Connection",output/979.pintora.png | |
| Create a class diagram for singleton pattern,"classDiagram | |
| class Singleton { | |
| {static} -instance Singleton | |
| -data | |
| -Singleton() | |
| {static} +getInstance() Singleton | |
| +getData() | |
| +setData(data) | |
| } | |
| @note ""Private constructor prevents direct instantiation.\ngetInstance() creates instance if null."" | |
| class Client { | |
| +doSomething() | |
| } | |
| Client --> Singleton : uses",output/1003.pintora.png | |
| Map out a process flow using an activity diagram. Include about 8 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| end",output/396.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 <|-- Class2 | |
| Class2 *-- Class3",output/386.pintora.png | |
| Map out a process flow using an activity diagram. Include about 15 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| :step_8; | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| :step_10; | |
| :step_11; | |
| :step_12; | |
| :step_13; | |
| if (check14?) then (yes) | |
| :action_yes_14; | |
| else (no) | |
| :action_no_14; | |
| endif | |
| end",output/18.pintora.png | |
| Write a Pintora diagram: schedule a project timeline with gantt chart.,"gantt | |
| title Marketing Campaign | |
| dateFormat YYYY-MM-DD | |
| axisFormat %b %d | |
| section Deployment | |
| ""Task Dep1"" : 2024-02-01, 18d | |
| ""Task Dep2"" : 2024-02-19, 13d | |
| ""Task Dep3"" : 2024-03-03, 3d | |
| ""Task Dep4"" : 2024-03-06, 11d | |
| ""Task Dep5"" : 2024-03-17, 16d | |
| section Operations | |
| ""Task Ope1"" : 2024-04-02, 5d | |
| ""Task Ope2"" : 2024-04-07, 5d | |
| ""Task Ope3"" : 2024-04-12, 19d | |
| ""Milestone"" : milestone, 2024-05-04, 0d",output/873.pintora.png | |
| Illustrate a complex business process with activity diagram.,"activityDiagram | |
| start | |
| fork | |
| :Parallel Task A0; | |
| forkagain | |
| :Parallel Task B0; | |
| endfork | |
| if (Condition 1?) then (yes) | |
| :Action True 1; | |
| else (no) | |
| :Action False 1; | |
| endif | |
| if (Condition 2?) then (yes) | |
| :Action True 2; | |
| else (no) | |
| :Action False 2; | |
| endif | |
| fork | |
| :Parallel Task A3; | |
| forkagain | |
| :Parallel Task B3; | |
| endfork | |
| switch (Type 4?) | |
| case (A) | |
| :Handle A4; | |
| case (B) | |
| :Handle B4; | |
| endswitch | |
| fork | |
| :Parallel Task A5; | |
| forkagain | |
| :Parallel Task B5; | |
| endfork | |
| switch (Type 6?) | |
| case (A) | |
| :Handle A6; | |
| case (B) | |
| :Handle B6; | |
| endswitch | |
| @note right: Important step 7 | |
| :Critical action 7; | |
| :Step 8; | |
| @note right: Important step 9 | |
| :Critical action 9; | |
| end",output/863.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| :Process 5; | |
| :Process 6; | |
| end",output/706.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| string field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| float field_2 | |
| string field_3 | |
| datetime field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| int field_2 | |
| datetime field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| string field_2 | |
| float field_3 | |
| datetime field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| bool field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : has | |
| TABLE_1 ||--o{ TABLE_2 : uses | |
| TABLE_2 }|--|| TABLE_3 : contains | |
| TABLE_3 ||--|{ TABLE_4 : manages | |
| TABLE_4 ||--o{ TABLE_5 : contains | |
| TABLE_5 }|--|| TABLE_6 : manages",output/716.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 15 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| **** Detail 0.2.1 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1",output/153.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n6 -> n4 | |
| n5 -> n1 | |
| n5 -> n6 | |
| n4 -> n0 | |
| n5 -> n1 | |
| n2 -> n6 | |
| n3 -> n1 | |
| }",output/143.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 6d | |
| ""Task 1"" : 2024-01-07, 10d | |
| ""Task 2"" : 2024-01-17, 9d",output/235.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 15 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n1 -> n0 | |
| n1 -> n2 | |
| n6 -> n2 | |
| n5 -> n1 | |
| n4 -> n6 | |
| n4 -> n3 | |
| n0 -> n1 | |
| n0 -> n2 | |
| n3 -> n1 | |
| n0 -> n4 | |
| n5 -> n0 | |
| n6 -> n2 | |
| n6 -> n2 | |
| n6 -> n0 | |
| n4 -> n1 | |
| }",output/225.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""circle"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n10 [shape=""ellipse"", label=""Node n10""] | |
| n11 [shape=""circle"", label=""Node n11""] | |
| n7 -> n3 | |
| n7 -> n5 | |
| n10 -> n11 | |
| n4 -> n1 | |
| n9 -> n10 | |
| n7 -> n1 | |
| n9 -> n4 | |
| n8 -> n1 | |
| n10 -> n3 | |
| n11 -> n7 | |
| n4 -> n3 | |
| n1 -> n0 | |
| n0 -> n4 | |
| n7 -> n9 | |
| }",output/460.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| bool field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| string field_2 | |
| int field_3 | |
| bool field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| bool field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| bool field_2 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| float field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| datetime field_2 | |
| string field_3 | |
| datetime field_4 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| int field_2 | |
| datetime field_3 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : manages | |
| TABLE_1 }|--|| TABLE_2 : manages | |
| TABLE_2 ||--|{ TABLE_3 : uses | |
| TABLE_3 ||--|| TABLE_4 : owns | |
| TABLE_4 ||--o{ TABLE_5 : manages | |
| TABLE_5 }|--|| TABLE_6 : uses",output/518.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| end",output/470.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| fork | |
| :Parallel 1 1; | |
| forkagain | |
| :Parallel 2 1; | |
| endfork | |
| :Process 2; | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| :Action 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| :Process 7; | |
| end",output/508.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| int field_2 | |
| string field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| bool field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| string field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| string field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : uses | |
| TABLE_1 ||--o{ TABLE_2 : manages | |
| TABLE_2 ||--|| TABLE_3 : manages | |
| TABLE_3 ||--o{ TABLE_4 : manages | |
| TABLE_4 ||--|| TABLE_5 : has | |
| TABLE_5 ||--o{ TABLE_6 : uses",output/484.pintora.png | |
| Map out a process flow using an activity diagram. Include about 7 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| :step_6; | |
| end",output/55.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| participant Service_3 | |
| Service_0-->>Service_1: Message 591 | |
| loop Loop check | |
| Service_1-xService_3: Message 597 | |
| end | |
| @note right of Service_3: Note processing | |
| Service_3-xService_2: Message 593 | |
| loop Loop check | |
| Service_4-xService_1: Message 244 | |
| end | |
| Service_2->>Service_1: Message 251 | |
| Service_0->Service_4: Message 675 | |
| Service_1->Service_4: Message 414 | |
| alt Condition | |
| Service_2-xService_1: Message 469 | |
| else Other case | |
| Service_1-->>Service_2: Response | |
| end | |
| Service_3->Service_4: Message 744 | |
| loop Loop check | |
| Service_0-->>Service_4: Message 761 | |
| end",output/494.pintora.png | |
| Draft a component diagram for system architecture.,"componentDiagram | |
| package ""System"" { | |
| [Comp0] | |
| [Comp1] | |
| [Comp2] | |
| } | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2]",output/45.pintora.png | |
| Create a diagram demonstrating different comment styles,"dotDiagram | |
| %% This is a pintora-style line comment | |
| digraph G { | |
| // This is a C-style line comment | |
| bgcolor=""white"" | |
| /* This is a | |
| multi-line comment */ | |
| a -> b %% inline comment | |
| }",output/956.pintora.png | |
| Create a class diagram for a simple OOP hierarchy,"classDiagram | |
| title: Animal Hierarchy | |
| class Animal { | |
| <<interface>> | |
| +string name | |
| +int age | |
| +makeSound() | |
| +move() | |
| } | |
| class Dog { | |
| +string breed | |
| +bark() | |
| +fetch() | |
| } | |
| class Cat { | |
| +boolean isIndoor | |
| +meow() | |
| +scratch() | |
| } | |
| Animal <|-- Dog | |
| Animal <|-- Cat",output/946.pintora.png | |
| Model an object-oriented system with class diagram. Include nested structures.,"classDiagram | |
| class ManagerA { | |
| #string attr0 | |
| #method0() T | |
| +{static} method1() boolean | |
| } | |
| class HandlerB { | |
| <<interface>> | |
| #boolean attr0 | |
| ~string attr1 | |
| -method0() string | |
| } | |
| class ServiceC { | |
| <<enumeration>> | |
| +List~T~ attr0 | |
| -string attr1 | |
| #List~T~ attr2 | |
| ~List~T~ attr3 | |
| ~{static} method0() void | |
| ~{static} method1() T | |
| #method2() T | |
| } | |
| class ManagerD { | |
| <<interface>> | |
| #List~T~ attr0 | |
| ~method0() T | |
| -method1() string | |
| -method2() string | |
| } | |
| class RepositoryE { | |
| ~string attr0 | |
| #List~T~ attr1 | |
| -List~T~ attr2 | |
| +method0() boolean | |
| } | |
| ManagerA <|.. ServiceC | |
| HandlerB o-- ManagerD | |
| ServiceC ..> ManagerD | |
| ManagerD <|-- RepositoryE",output/897.pintora.png | |
| Design a detailed hierarchical mind map.,"mindmap | |
| @param layoutDirection RL | |
| * Technology Stack | |
| ** Topic A | |
| *** Subtopic A.1 | |
| **** Detail A.1.1 | |
| **** Detail A.1.2 | |
| *** Subtopic A.2 | |
| *** Subtopic A.3 | |
| **** Detail A.3.1 | |
| **** Detail A.3.2 | |
| **** Detail A.3.3 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| *** Subtopic B.2 | |
| **** Detail B.2.1 | |
| **** Detail B.2.2 | |
| **** Detail B.2.3 | |
| *** Subtopic B.3 | |
| *** Subtopic B.4 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| *** Subtopic C.2 | |
| **** Detail C.2.1 | |
| **** Detail C.2.2 | |
| *** Subtopic C.3 | |
| **** Detail C.3.1 | |
| **** Detail C.3.2 | |
| **** Detail C.3.3",output/887.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n10 [shape=""diamond"", label=""Node n10""] | |
| n11 [shape=""box"", label=""Node n11""] | |
| n7 -> n2 | |
| n11 -> n10 | |
| n3 -> n4 | |
| n1 -> n8 | |
| n8 -> n6 | |
| n8 -> n1 | |
| n6 -> n8 | |
| n2 -> n11 | |
| n6 -> n0 | |
| n3 -> n6 | |
| n2 -> n6 | |
| n8 -> n10 | |
| n11 -> n3 | |
| }",output/623.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| int field_2 | |
| float field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| int field_2 | |
| datetime field_3 | |
| datetime field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| bool field_2 | |
| string field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| int field_2 | |
| float field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| datetime field_2 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| int field_2 | |
| string field_3 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| float field_2 | |
| string field_3 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : owns | |
| TABLE_1 ||--|{ TABLE_2 : has | |
| TABLE_2 }|--|| TABLE_3 : uses | |
| TABLE_3 }|--|| TABLE_4 : contains | |
| TABLE_4 }|--|| TABLE_5 : has | |
| TABLE_5 ||--o{ TABLE_6 : owns | |
| TABLE_6 }|--|| TABLE_7 : contains",output/633.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n2 -> n3 | |
| n3 -> n0 | |
| n1 -> n3 | |
| n4 -> n1 | |
| n3 -> n4 | |
| }",output/545.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n0 -> n3 | |
| n5 -> n2 | |
| n4 -> n5 | |
| n4 -> n2 | |
| n4 -> n3 | |
| n1 -> n0 | |
| n2 -> n1 | |
| n2 -> n6 | |
| n6 -> n2 | |
| }",output/555.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| :step_8; | |
| :step_9; | |
| end",output/268.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1",output/310.pintora.png | |
| Map out a process flow using an activity diagram. Include about 15 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| :step_8; | |
| :step_9; | |
| :step_10; | |
| :step_11; | |
| :step_12; | |
| :step_13; | |
| if (check14?) then (yes) | |
| :action_yes_14; | |
| else (no) | |
| :action_no_14; | |
| endif | |
| end",output/278.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| :step_5; | |
| end",output/300.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 6 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 4d | |
| ""Task 1"" : 2024-01-05, 4d | |
| ""Task 2"" : 2024-01-09, 2d | |
| ""Task 3"" : 2024-01-11, 10d | |
| ""Task 4"" : 2024-01-21, 7d",output/372.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 6 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n2 -> n4 | |
| n3 -> n5 | |
| n1 -> n2 | |
| n2 -> n1 | |
| n0 -> n5 | |
| n5 -> n4 | |
| }",output/362.pintora.png | |
| Generate a DOT directed graph with 7 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n6 -> n4 | |
| n4 -> n1 | |
| n2 -> n4 | |
| n5 -> n0 | |
| n1 -> n6 | |
| n6 -> n1 | |
| n5 -> n0 | |
| n1 -> n3 | |
| n4 -> n6 | |
| }",output/527.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n4 -> n6 | |
| n0 -> n7 | |
| n6 -> n5 | |
| n0 -> n4 | |
| n5 -> n3 | |
| n0 -> n2 | |
| n2 -> n6 | |
| n3 -> n7 | |
| }",output/537.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| int field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : uses | |
| TABLE_1 ||--|{ TABLE_2 : owns",output/739.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| :Process 6; | |
| end",output/641.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| float field_2 | |
| string field_3 | |
| datetime field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| bool field_2 | |
| int field_3 | |
| int field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| int field_2 | |
| string field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| int field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| int field_2 | |
| bool field_3 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : uses | |
| TABLE_1 }|--|| TABLE_2 : uses | |
| TABLE_2 }|--|| TABLE_3 : owns | |
| TABLE_3 ||--|{ TABLE_4 : has | |
| TABLE_4 ||--|| TABLE_5 : has | |
| TABLE_5 ||--o{ TABLE_6 : manages | |
| TABLE_6 }|--|| TABLE_7 : has",output/729.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| bool field_2 | |
| bool field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| int field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| datetime field_2 | |
| string field_3 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : has | |
| TABLE_1 ||--o{ TABLE_2 : contains | |
| TABLE_2 ||--|{ TABLE_3 : manages | |
| TABLE_3 ||--o{ TABLE_4 : contains",output/651.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Action 4; | |
| :Process 5; | |
| :Action 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| :Process 8; | |
| if (Check 9?) then (yes) | |
| :Handle Yes 9; | |
| else (no) | |
| :Handle No 9; | |
| endif | |
| end",output/780.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| float field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : owns | |
| TABLE_1 ||--o{ TABLE_2 : contains | |
| TABLE_2 ||--|| TABLE_3 : contains | |
| TABLE_3 ||--|{ TABLE_4 : contains",output/790.pintora.png | |
| Write a mind map with custom colors and layout,"mindmap | |
| @param layoutDirection TB | |
| @param { | |
| l1NodeBgColor #2B7A5D | |
| l1NodeTextColor #ffffff | |
| l2NodeBgColor #26946C | |
| l2NodeTextColor #ffffff | |
| nodeBgColor #67B599 | |
| textColor #ffffff | |
| } | |
| + Data Science | |
| ++ Statistics | |
| +++ Probability | |
| +++ Hypothesis Testing | |
| ++ Programming | |
| +++ Python | |
| +++ R",output/934.pintora.png | |
| Create a component diagram for a data pipeline,"componentDiagram | |
| title: Data Pipeline Architecture | |
| rectangle ""Data Sources"" { | |
| [Kafka] | |
| [S3 Bucket] | |
| } | |
| frame ""Processing"" { | |
| [Spark Job] | |
| [Airflow] | |
| } | |
| database ""Storage"" { | |
| [Data Warehouse] | |
| [Redis Cache] | |
| } | |
| [Kafka] --> [Spark Job] | |
| [S3 Bucket] --> [Spark Job] | |
| [Airflow] --> [Spark Job] : orchestrates | |
| [Spark Job] --> [Data Warehouse] | |
| [Data Warehouse] ..> [Redis Cache] : cache layer",output/924.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates",output/37.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 7 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n3 -> n1 | |
| n2 -> n3 | |
| n3 -> n0 | |
| n1 -> n2 | |
| n1 -> n0 | |
| n1 -> n2 | |
| n1 -> n0 | |
| }",output/27.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| int field_2 | |
| float field_3 | |
| float field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| float field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| bool field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| float field_2 | |
| string field_3 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : contains | |
| TABLE_1 }|--|| TABLE_2 : uses | |
| TABLE_2 ||--|| TABLE_3 : owns | |
| TABLE_3 }|--|| TABLE_4 : has",output/617.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n10 [shape=""diamond"", label=""Node n10""] | |
| n11 [shape=""diamond"", label=""Node n11""] | |
| n11 -> n3 | |
| n1 -> n5 | |
| n8 -> n10 | |
| n0 -> n2 | |
| n3 -> n6 | |
| n3 -> n10 | |
| n8 -> n3 | |
| n8 -> n10 | |
| n6 -> n3 | |
| n6 -> n4 | |
| n2 -> n3 | |
| n11 -> n2 | |
| n1 -> n10 | |
| n11 -> n7 | |
| }",output/607.pintora.png | |
| Design an Entity Relationship diagram. Include about 12 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates | |
| Ent3 }|--|| Ent4 : relates",output/324.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1",output/334.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n2 -> n3 | |
| n1 -> n4 | |
| n2 -> n3 | |
| n2 -> n0 | |
| n0 -> n2 | |
| n2 -> n0 | |
| n4 -> n1 | |
| }",output/409.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| bool field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : manages | |
| TABLE_1 }|--|| TABLE_2 : uses | |
| TABLE_2 ||--|{ TABLE_3 : has",output/571.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 11 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| participant Service_3 | |
| loop Loop check | |
| Service_0->Service_1: Message 405 | |
| end | |
| Service_1->Service_2: Message 632 | |
| alt Condition | |
| Service_0-xService_3: Message 343 | |
| else Other case | |
| Service_3-->>Service_0: Response | |
| end | |
| Service_3-xService_0: Message 921 | |
| Service_2-->>Service_1: Message 775 | |
| loop Loop check | |
| Service_3-->>Service_0: Message 810 | |
| end | |
| Service_1-xService_2: Message 862 | |
| Service_2->>Service_0: Message 564 | |
| Service_0->Service_1: Message 972 | |
| loop Loop check | |
| Service_1-xService_3: Message 667 | |
| end | |
| Service_0-->Service_1: Message 706",output/419.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 6 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| participant Service_2 | |
| participant Service_3 | |
| Service_0-->Service_1: Message 244 | |
| @note right of Service_3: Note processing | |
| Service_3-xService_0: Message 505 | |
| Service_2-xService_1: Message 128 | |
| Service_0-->>Service_2: Message 913 | |
| Service_0-->>Service_3: Message 847 | |
| Service_0->>Service_1: Message 251",output/561.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P0-->P1: msg_37 | |
| P0->>P1: msg_69 | |
| P0->P1: msg_94 | |
| P1-->>P0: msg_18 | |
| P0->P1: msg_73 | |
| P1-->P0: msg_64 | |
| P1->P0: msg_81 | |
| P0->>P1: msg_36 | |
| P0->>P1: msg_55",output/61.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P0->P1: msg_29 | |
| P0-->P2: msg_47 | |
| P1->>P3: msg_69 | |
| P0-->P1: msg_57 | |
| P1-->>P0: msg_75 | |
| P2->>P3: msg_26 | |
| P3->P0: msg_30 | |
| P1-->>P2: msg_94 | |
| P2->P3: msg_69 | |
| P2-->>P3: msg_49 | |
| P1-->>P0: msg_1 | |
| P0->P2: msg_95 | |
| P0-->>P1: msg_49 | |
| P2-->P0: msg_41 | |
| P3->P1: msg_50",output/71.pintora.png | |
| Create a sequence diagram for a user login flow,"sequenceDiagram | |
| participant User | |
| participant API | |
| User->>API: Login | |
| API-->>User: Token",output/0.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 7 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| ** Task 2 | |
| *** Subitem 2.0",output/183.pintora.png | |
| Create a component diagram for a CI/CD pipeline,"componentDiagram | |
| title: CI/CD Pipeline | |
| rectangle ""Source Control"" { | |
| [GitHub Repository] | |
| } | |
| rectangle ""CI Server"" { | |
| [Jenkins] | |
| () ""Build Trigger"" | |
| } | |
| cloud ""Container Registry"" { | |
| [Docker Hub] | |
| } | |
| node ""Kubernetes Cluster"" { | |
| [Staging Pod] | |
| [Production Pod] | |
| } | |
| [GitHub Repository] --> ""Build Trigger"" | |
| ""Build Trigger"" --> [Jenkins] | |
| [Jenkins] --> [Docker Hub] : push image | |
| [Docker Hub] --> [Staging Pod] : deploy | |
| [Staging Pod] ..> [Production Pod] : promote",output/962.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 9 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 o-- Class2",output/193.pintora.png | |
| Create a class diagram for a design pattern (Factory),"classDiagram | |
| title: Factory Pattern | |
| class Product { | |
| <<interface>> | |
| +operation() | |
| } | |
| class ConcreteProductA { | |
| +operation() | |
| } | |
| class ConcreteProductB { | |
| +operation() | |
| } | |
| class Creator { | |
| <<abstract>> | |
| +factoryMethod() Product | |
| +someOperation() | |
| } | |
| class ConcreteCreatorA { | |
| +factoryMethod() Product | |
| } | |
| class ConcreteCreatorB { | |
| +factoryMethod() Product | |
| } | |
| Product <|.. ConcreteProductA | |
| Product <|.. ConcreteProductB | |
| Creator <|-- ConcreteCreatorA | |
| Creator <|-- ConcreteCreatorB | |
| Creator --> Product : creates",output/972.pintora.png | |
| Write a Pintora diagram: model an object-oriented system with class diagram.,"classDiagram | |
| class ObserverA { | |
| <<interface>> | |
| -List~T~ attr0 | |
| #boolean attr1 | |
| #boolean attr2 | |
| +string attr3 | |
| ~method0() string | |
| } | |
| class ManagerB { | |
| -boolean attr0 | |
| #method0() boolean | |
| -method1() string | |
| } | |
| class ControllerC { | |
| #List~T~ attr0 | |
| ~List~T~ attr1 | |
| +List~T~ attr2 | |
| -int attr3 | |
| #method0() T | |
| } | |
| class ControllerD { | |
| -int attr0 | |
| -string attr1 | |
| ~method0() void | |
| -{static} method1() boolean | |
| } | |
| class ObserverE { | |
| <<abstract>> | |
| +int attr0 | |
| +boolean attr1 | |
| ~List~T~ attr2 | |
| #method0() void | |
| -method1() boolean | |
| } | |
| class FactoryF { | |
| #List~T~ attr0 | |
| #method0() boolean | |
| +method1() boolean | |
| +method2() void | |
| } | |
| class StrategyG { | |
| +List~T~ attr0 | |
| -method0() void | |
| -method1() string | |
| #method2() string | |
| } | |
| ObserverA ..> FactoryF | |
| ManagerB <|.. ObserverE | |
| ControllerC *-- ObserverE | |
| ControllerD *-- StrategyG | |
| ObserverE o-- StrategyG | |
| FactoryF <|-- StrategyG",output/878.pintora.png | |
| Build a detailed component architecture diagram. Include nested structures.,"componentDiagram | |
| database ""Cache Layer"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| } | |
| package ""Services"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| } | |
| package ""Backend"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| } | |
| database ""Data Store"" { | |
| [Comp3_0] | |
| [Comp3_1] | |
| } | |
| [Comp3_1] ..> [Comp3_0] | |
| [Comp1_0] -- [Comp3_1] | |
| [Comp1_1] ..|> [Comp0_1] | |
| [Comp1_0] --> [Comp2_1] | |
| [Comp0_1] ..> [Comp3_0] | |
| [Comp0_0] -- [Comp0_1] | |
| [Comp0_0] ..|> [Comp1_1] | |
| [Comp0_1] ..> [Comp3_1] | |
| [Comp1_0] ..> [Comp3_0] | |
| [Comp1_1] ..|> [Comp0_1] | |
| [Comp2_1] ..> [Comp1_0]",output/900.pintora.png | |
| Write a sequence diagram using participant boxes and classifiers,"sequenceDiagram | |
| box #e7f2ff ""Frontend Services"" | |
| participant [<actor> User] | |
| participant WebApp | |
| endbox | |
| box #fff2e7 ""Backend Services"" | |
| participant [<database> DB] as ""Database"" | |
| participant [<node> API] | |
| endbox | |
| User->>WebApp: Request data | |
| WebApp->>API: GET /data | |
| API->>DB: SELECT query | |
| DB-->>API: Results | |
| API-->>WebApp: JSON response | |
| WebApp-->>User: Display data",output/910.pintora.png | |
| Design an Entity Relationship diagram. Include about 5 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 ||--|{ Ent3 : relates",output/13.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n2 -> n5 | |
| n3 -> n1 | |
| n3 -> n5 | |
| n1 -> n5 | |
| n1 -> n2 | |
| n1 -> n3 | |
| }",output/287.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 15 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 --> Class2 | |
| Class2 <|-- Class3 | |
| Class3 --> Class4",output/297.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 7 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| participant Service_2 | |
| Service_2-->Service_1: Message 886 | |
| Service_1->>Service_2: Message 234 | |
| Service_2-->Service_1: Message 844 | |
| alt Condition | |
| Service_2-->>Service_1: Message 208 | |
| else Other case | |
| Service_1-->>Service_2: Response | |
| end | |
| Service_2->Service_1: Message 338 | |
| Service_2-xService_1: Message 419 | |
| Service_0->>Service_2: Message 610",output/513.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n10 [shape=""diamond"", label=""Node n10""] | |
| n11 [shape=""diamond"", label=""Node n11""] | |
| n2 -> n6 | |
| n6 -> n10 | |
| n0 -> n7 | |
| n10 -> n11 | |
| n10 -> n4 | |
| n11 -> n9 | |
| n5 -> n4 | |
| n8 -> n11 | |
| n8 -> n4 | |
| n0 -> n5 | |
| n3 -> n10 | |
| n11 -> n1 | |
| n5 -> n6 | |
| }",output/503.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1",output/346.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 o-- Class2",output/356.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| *** Subitem 1.2 | |
| ** Task 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| *** Subitem 2.1",output/158.pintora.png | |
| Design an Entity Relationship diagram. Include about 9 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|| Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates",output/148.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Process 2; | |
| :Process 3; | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Process 6; | |
| :Process 7; | |
| :Process 8; | |
| end",output/675.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| string field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : manages | |
| TABLE_1 ||--|| TABLE_2 : manages",output/665.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""circle"", label=""Node n8""] | |
| n5 -> n1 | |
| n4 -> n8 | |
| n8 -> n2 | |
| n7 -> n4 | |
| n2 -> n5 | |
| n8 -> n5 | |
| n3 -> n0 | |
| n4 -> n2 | |
| n4 -> n0 | |
| }",output/691.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Action 1; | |
| :Process 2; | |
| :Action 3; | |
| :Action 4; | |
| :Action 5; | |
| fork | |
| :Parallel 1 6; | |
| forkagain | |
| :Parallel 2 6; | |
| endfork | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| :Process 9; | |
| end",output/681.pintora.png | |
| Write a Pintora diagram: map a complex business process with activity diagram.,"activityDiagram | |
| title: Workflow | |
| start | |
| partition Completion { | |
| :Step 0; | |
| if (Condition 1?) then (yes) | |
| :Action True 1; | |
| else (no) | |
| :Action False 1; | |
| endif | |
| :Step 2; | |
| :Step 3; | |
| while (Check 4?) is (yes) | |
| :Process 4; | |
| endwhile (done) | |
| fork | |
| :Parallel Task A5; | |
| forkagain | |
| :Parallel Task B5; | |
| endfork | |
| if (Condition 6?) then (yes) | |
| :Action True 6; | |
| else (no) | |
| :Action False 6; | |
| endif | |
| switch (Type 7?) | |
| case (A) | |
| :Handle A7; | |
| case (B) | |
| :Handle B7; | |
| endswitch | |
| end",output/825.pintora.png | |
| Design a detailed hierarchical mind map.,"mindmap | |
| * Project Plan | |
| ** Topic A | |
| *** Subtopic A.1 | |
| *** Subtopic A.2 | |
| *** Subtopic A.3 | |
| **** Detail A.3.1 | |
| **** Detail A.3.2 | |
| **** Detail A.3.3 | |
| *** Subtopic A.4 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| *** Subtopic B.2 | |
| **** Detail B.2.1 | |
| **** Detail B.2.2 | |
| *** Subtopic B.3 | |
| **** Detail B.3.1 | |
| **** Detail B.3.2 | |
| **** Detail B.3.3 | |
| *** Subtopic B.4 | |
| **** Detail B.4.1 | |
| **** Detail B.4.2 | |
| **** Detail B.4.3 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| **** Detail C.1.1 | |
| **** Detail C.1.2 | |
| **** Detail C.1.3 | |
| *** Subtopic C.2 | |
| **** Detail C.2.1 | |
| ** Topic D | |
| *** Subtopic D.1 | |
| *** Subtopic D.2",output/835.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 8 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 2d | |
| ""Task 1"" : 2024-01-03, 3d | |
| ""Task 2"" : 2024-01-06, 2d | |
| ""Task 3"" : 2024-01-08, 8d | |
| ""Task 4"" : 2024-01-16, 6d",output/263.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| :step_8; | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| :step_10; | |
| :step_11; | |
| :step_12; | |
| :step_13; | |
| end",output/273.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 7 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_2 | |
| participant Service_3 | |
| Service_2->Service_1: Message 738 | |
| Service_2-->>Service_1: Message 775 | |
| Service_3-->>Service_0: Message 811 | |
| Service_2-->Service_1: Message 236 | |
| loop Loop check | |
| Service_3-->Service_2: Message 687 | |
| end | |
| Service_1-xService_0: Message 413 | |
| Service_2-xService_3: Message 618",output/436.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| float field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| bool field_2 | |
| datetime field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| float field_2 | |
| float field_3 | |
| bool field_4 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| bool field_2 | |
| string field_3 | |
| int field_4 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : uses | |
| TABLE_1 }|--|| TABLE_2 : manages | |
| TABLE_2 ||--|{ TABLE_3 : owns | |
| TABLE_3 ||--|| TABLE_4 : uses | |
| TABLE_4 ||--|| TABLE_5 : contains | |
| TABLE_5 ||--o{ TABLE_6 : owns | |
| TABLE_6 }|--|| TABLE_7 : manages",output/426.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 8 steps.,"sequenceDiagram | |
| autonumber | |
| Service_0-->>Service_1: Message 229 | |
| Service_1-xService_0: Message 285 | |
| Service_1->>Service_0: Message 703 | |
| Service_0-xService_1: Message 437 | |
| Service_1->>Service_0: Message 149 | |
| Service_1->>Service_0: Message 289 | |
| Service_0->>Service_1: Message 656 | |
| Service_0->>Service_1: Message 420",output/750.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| float field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| bool field_2 | |
| bool field_3 | |
| float field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| int field_2 | |
| bool field_3 | |
| datetime field_4 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : contains | |
| TABLE_1 }|--|| TABLE_2 : contains",output/628.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 14 steps.,"sequenceDiagram | |
| participant Service_1 | |
| @note right of Service_1: Note processing | |
| Service_1->Service_0: Message 689 | |
| alt Condition | |
| Service_0->>Service_1: Message 693 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0-xService_1: Message 122 | |
| alt Condition | |
| Service_0-xService_1: Message 388 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_1-xService_0: Message 783 | |
| Service_0->Service_1: Message 958 | |
| Service_0-->Service_1: Message 626 | |
| alt Condition | |
| Service_1->Service_0: Message 353 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_1-->>Service_0: Message 959 | |
| @note right of Service_1: Note processing | |
| Service_1->>Service_0: Message 976 | |
| Service_0-xService_1: Message 174 | |
| Service_1-xService_0: Message 498 | |
| Service_0->>Service_1: Message 191 | |
| @note right of Service_0: Note processing | |
| Service_0-->Service_1: Message 191",output/740.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n1 -> n2 | |
| n1 -> n3 | |
| n4 -> n1 | |
| n5 -> n2 | |
| n1 -> n5 | |
| n1 -> n3 | |
| n0 -> n2 | |
| n1 -> n3 | |
| }",output/638.pintora.png | |
| Design an Entity Relationship diagram. Include about 5 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|{ Ent1 : relates | |
| Ent1 ||--o{ Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates | |
| Ent3 ||--o{ Ent4 : relates | |
| Ent4 ||--|| Ent5 : relates",output/105.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 14 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| **** Detail 0.2.1 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| ** Idea 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1 | |
| *** Subitem 2.2 | |
| **** Detail 2.2.1",output/115.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 13 elements.,"sequenceDiagram | |
| autonumber | |
| P1->>P0: msg_5 | |
| P0->P2: msg_91 | |
| P0->P1: msg_8 | |
| P0->>P1: msg_8 | |
| P2-->>P0: msg_50 | |
| P0-->>P1: msg_11 | |
| P1-->P2: msg_15 | |
| P0->P2: msg_8 | |
| P0->P1: msg_54 | |
| P2->P1: msg_79 | |
| P1->>P0: msg_54 | |
| P0->P1: msg_83 | |
| P2-->P0: msg_41",output/167.pintora.png | |
| Write a DOT diagram for a binary tree,"dotDiagram | |
| digraph BinaryTree { | |
| bgcolor=""white"" | |
| node [shape=""circle"", bgcolor=""#fff9c4""] | |
| root[""50""] | |
| l1[""30""] | |
| r1[""70""] | |
| ll[""20""] | |
| lr[""40""] | |
| rl[""60""] | |
| rr[""80""] | |
| root -> l1 | |
| root -> r1 | |
| l1 -> ll | |
| l1 -> lr | |
| r1 -> rl | |
| r1 -> rr | |
| }",output/986.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 ||--|{ Ent3 : relates | |
| Ent3 }|--|| Ent4 : relates",output/177.pintora.png | |
| Write a component diagram for plugin architecture,"componentDiagram | |
| package ""Core Application"" { | |
| [Plugin Manager] | |
| () IPlugin | |
| [Core Engine] | |
| } | |
| package ""Plugins"" { | |
| [Auth Plugin] | |
| [Analytics Plugin] | |
| [Export Plugin] | |
| } | |
| [Plugin Manager] --> IPlugin | |
| IPlugin <|-- [Auth Plugin] | |
| IPlugin <|-- [Analytics Plugin] | |
| IPlugin <|-- [Export Plugin] | |
| [Core Engine] --> [Plugin Manager]",output/996.pintora.png | |
| Generate a DOT directed graph with 7 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n5 -> n6 | |
| n3 -> n0 | |
| n2 -> n0 | |
| n5 -> n4 | |
| n0 -> n4 | |
| n3 -> n1 | |
| n0 -> n4 | |
| }",output/732.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| :Process 8; | |
| if (Check 9?) then (yes) | |
| :Handle Yes 9; | |
| else (no) | |
| :Handle No 9; | |
| endif | |
| end",output/722.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Action 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Action 5; | |
| :Process 6; | |
| :Action 7; | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| end",output/454.pintora.png | |
| Map out a process flow using an activity diagram. Include about 14 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| :step_9; | |
| :step_10; | |
| if (check11?) then (yes) | |
| :action_yes_11; | |
| else (no) | |
| :action_no_11; | |
| endif | |
| :step_12; | |
| if (check13?) then (yes) | |
| :action_yes_13; | |
| else (no) | |
| :action_no_13; | |
| endif | |
| end",output/85.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 14 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_1 | |
| Service_1-->>Service_0: Message 164 | |
| Service_0->Service_1: Message 433 | |
| Service_0->Service_1: Message 719 | |
| Service_1-->Service_0: Message 154 | |
| Service_1->>Service_0: Message 274 | |
| Service_1-->Service_0: Message 872 | |
| Service_1-xService_0: Message 786 | |
| Service_0->Service_1: Message 863 | |
| Service_0-->>Service_1: Message 235 | |
| Service_1-xService_0: Message 291 | |
| Service_1-xService_0: Message 343 | |
| alt Condition | |
| Service_0->>Service_1: Message 805 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_1->Service_0: Message 693 | |
| loop Loop check | |
| Service_1->Service_0: Message 651 | |
| end",output/444.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 5 elements.,"sequenceDiagram | |
| autonumber | |
| P0-->>P1: msg_6 | |
| P1-->P0: msg_94 | |
| P0-->>P3: msg_35 | |
| P2->P3: msg_74 | |
| P2->P1: msg_88",output/95.pintora.png | |
| Design an Entity Relationship diagram. Include about 15 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--o{ Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates | |
| Ent3 ||--|| Ent4 : relates",output/201.pintora.png | |
| Map out a process flow using an activity diagram. Include about 7 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| :step_6; | |
| end",output/379.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 8 elements.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| ** Concept 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1 | |
| ** Task 3 | |
| *** Subitem 3.0",output/211.pintora.png | |
| Map out a process flow using an activity diagram. Include about 6 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| :step_5; | |
| end",output/369.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 15 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_2 | |
| alt Condition | |
| Service_2-->Service_1: Message 697 | |
| else Other case | |
| Service_1-->>Service_2: Response | |
| end | |
| Service_2-->>Service_0: Message 475 | |
| Service_0-xService_2: Message 939 | |
| Service_0->>Service_1: Message 670 | |
| Service_2-->>Service_1: Message 682 | |
| Service_0-xService_2: Message 900 | |
| Service_2->>Service_0: Message 119 | |
| loop Loop check | |
| Service_0->Service_2: Message 770 | |
| end | |
| Service_1-xService_2: Message 772 | |
| Service_1->Service_0: Message 871 | |
| Service_2-xService_1: Message 713 | |
| Service_1->>Service_2: Message 644 | |
| Service_2->>Service_0: Message 514 | |
| Service_0->>Service_1: Message 493 | |
| Service_1->>Service_0: Message 256",output/595.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 13 steps.,"sequenceDiagram | |
| Service_0-->Service_1: Message 592 | |
| Service_0-->>Service_1: Message 445 | |
| Service_0-xService_1: Message 272 | |
| Service_0-->Service_1: Message 820 | |
| Service_1->Service_0: Message 382 | |
| @note right of Service_0: Note processing | |
| Service_0-->Service_1: Message 232 | |
| Service_1-->Service_0: Message 953 | |
| loop Loop check | |
| Service_1->Service_0: Message 579 | |
| end | |
| Service_0->>Service_1: Message 307 | |
| Service_1-xService_0: Message 724 | |
| loop Loop check | |
| Service_0-xService_1: Message 782 | |
| end | |
| @note right of Service_0: Note processing | |
| Service_0->Service_1: Message 741 | |
| Service_1-xService_0: Message 868",output/585.pintora.png | |
| Create an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| title: System Communication | |
| autonumber | |
| participant [<actor> ServiceB] | |
| participant [<database> ServiceC] | |
| loop Batch process | |
| ServiceB-->>ServiceC: Update 0 | |
| ServiceC-->>ServiceB: Response | |
| end | |
| ServiceA-->ServiceB: Process event | |
| ServiceA-->>ServiceB: Validate | |
| ServiceB-->>ServiceA: Query 3 | |
| ServiceB->ServiceA: Process event | |
| par Parallel processing | |
| ServiceC-->ServiceA: Task A | |
| and | |
| ServiceC-->ServiceB: Task B | |
| end | |
| alt Success | |
| ServiceC-->>ServiceB: Update 6 | |
| ServiceB-->>ServiceC: OK | |
| else Error | |
| ServiceB-->>ServiceC: Error code | |
| end | |
| par Parallel processing | |
| ServiceB-->>ServiceA: Task A | |
| and | |
| ServiceB-->>ServiceB: Task B | |
| end | |
| par Parallel processing | |
| ServiceB->ServiceA: Task A | |
| and | |
| ServiceB->ServiceB: Task B | |
| end | |
| ServiceB-->>ServiceC: Process event",output/847.pintora.png | |
| Design a detailed hierarchical mind map.,"mindmap | |
| @param layoutDirection BT | |
| * Project Plan | |
| ** Topic A | |
| *** Subtopic A.1 | |
| **** Detail A.1.1 | |
| *** Subtopic A.2 | |
| **** Detail A.2.1 | |
| **** Detail A.2.2 | |
| **** Detail A.2.3 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| **** Detail B.1.1 | |
| *** Subtopic B.2 | |
| *** Subtopic B.3 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| *** Subtopic C.2 | |
| *** Subtopic C.3 | |
| **** Detail C.3.1 | |
| **** Detail C.3.2 | |
| **** Detail C.3.3 | |
| ** Topic D | |
| *** Subtopic D.1 | |
| *** Subtopic D.2 | |
| **** Detail D.2.1 | |
| **** Detail D.2.2 | |
| ** Topic E | |
| *** Subtopic E.1 | |
| *** Subtopic E.2 | |
| *** Subtopic E.3 | |
| *** Subtopic E.4 | |
| **** Detail E.4.1 | |
| **** Detail E.4.2",output/857.pintora.png | |
| Create an advanced sequence diagram with complex interactions. Use advanced syntax features.,"sequenceDiagram | |
| autonumber | |
| participant ServiceA | |
| participant [<actor> ServiceB] | |
| participant [<queue> ServiceD] | |
| participant [<actor> ServiceE] | |
| ServiceF-xServiceD: Validate | |
| loop Retry | |
| ServiceC-->ServiceA: Query 1 | |
| ServiceA-->>ServiceC: Response | |
| end | |
| loop Batch process | |
| ServiceD->>ServiceE: Process event | |
| ServiceE-->>ServiceD: Response | |
| end | |
| alt Authenticated | |
| ServiceF-xServiceC: Fetch data | |
| ServiceC-->>ServiceF: OK | |
| else Error | |
| ServiceC-->>ServiceF: Error code | |
| end | |
| ServiceB->>ServiceC: Process event | |
| alt Authenticated | |
| ServiceB-xServiceC: Request 5 | |
| ServiceC-->>ServiceB: OK | |
| else Error | |
| ServiceC-->>ServiceB: Error code | |
| end | |
| ServiceE->ServiceC: Fetch data | |
| alt Authenticated | |
| ServiceF->ServiceE: Update 7 | |
| ServiceE-->>ServiceF: OK | |
| else Error | |
| ServiceE-->>ServiceF: Error code | |
| end | |
| ServiceC->ServiceD: Query 8 | |
| ServiceE-->ServiceB: Fetch data",output/861.pintora.png | |
| Create an ER diagram with custom styling,"erDiagram | |
| @param fill #aabb00 | |
| @param stroke #aacc00 | |
| @param textColor #333333 | |
| @param attributeFill #fcfff2 | |
| @param labelBackground #ffffff | |
| @param fontSize 14 | |
| @param edgeType ortho | |
| ARTIST { | |
| int id PK | |
| string name | |
| string genre | |
| } | |
| ALBUM { | |
| int id PK | |
| string title | |
| date release_date | |
| } | |
| ARTIST ||--o{ ALBUM : creates",output/919.pintora.png | |
| Design an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| title: User Flow | |
| participant [<node> ServiceB] | |
| participant [<queue> ServiceC] | |
| ServiceA->>ServiceC: Validate | |
| par Parallel processing | |
| ServiceA-->ServiceA: Task A | |
| and | |
| ServiceA-->ServiceB: Task B | |
| end | |
| par Parallel processing | |
| ServiceD-->>ServiceA: Task A | |
| and | |
| ServiceD-->>ServiceB: Task B | |
| end | |
| par Parallel processing | |
| ServiceD-->ServiceA: Task A | |
| and | |
| ServiceD-->ServiceB: Task B | |
| end | |
| ServiceA->ServiceC: Validate | |
| ServiceC->ServiceD: Fetch data | |
| par Parallel processing | |
| ServiceD-->>ServiceA: Task A | |
| and | |
| ServiceD-->>ServiceB: Task B | |
| end | |
| alt Success | |
| ServiceA-->>ServiceB: Validate | |
| ServiceB-->>ServiceA: OK | |
| else Error | |
| ServiceB-->>ServiceA: Error code | |
| end | |
| ServiceA-->ServiceD: Request 8 | |
| @note right of ServiceA: Validating | |
| ServiceA->ServiceC: Fetch data | |
| alt Success | |
| ServiceC->ServiceB: Query 10 | |
| ServiceB-->>ServiceC: OK | |
| else Error | |
| ServiceB-->>ServiceC: Error code | |
| end | |
| ServiceD-->>ServiceA: Process event",output/871.pintora.png | |
| Create a sequence diagram with multiline notes and dividers,"sequenceDiagram | |
| Alice->>Bob: Hello Bob | |
| @note over Alice,Bob: This is a note over both participants | |
| == First Section == | |
| Bob->>Alice: Hi Alice! | |
| @start_note left of Alice | |
| This is a multiline note | |
| on the left side | |
| of Alice | |
| @end_note | |
| == Second Section == | |
| Alice-->>Bob: How are you? | |
| @note right of Bob: Short note",output/909.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 13 steps.,"sequenceDiagram | |
| autonumber | |
| Service_2-xService_1: Message 394 | |
| Service_3->>Service_0: Message 945 | |
| alt Condition | |
| Service_2-->>Service_1: Message 825 | |
| else Other case | |
| Service_1-->>Service_2: Response | |
| end | |
| alt Condition | |
| Service_3-xService_0: Message 374 | |
| else Other case | |
| Service_0-->>Service_3: Response | |
| end | |
| Service_0-->Service_2: Message 578 | |
| Service_0-->Service_1: Message 531 | |
| Service_2->>Service_0: Message 169 | |
| Service_0->Service_2: Message 355 | |
| loop Loop check | |
| Service_3->Service_0: Message 467 | |
| end | |
| Service_0-xService_2: Message 729 | |
| Service_2-xService_0: Message 503 | |
| Service_2->>Service_1: Message 159 | |
| Service_2-->>Service_1: Message 210",output/472.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| :Action 7; | |
| end",output/462.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 8 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 2d | |
| ""Task 2"" : 2024-01-12, 10d | |
| ""Task 3"" : 2024-01-22, 8d | |
| ""Task 4"" : 2024-01-30, 7d | |
| ""Task 5"" : 2024-02-06, 10d",output/227.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 --> Class2 | |
| Class2 *-- Class3",output/237.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| ** Idea 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1",output/141.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 <|-- Class2 | |
| Class2 o-- Class3 | |
| Class3 <|-- Class4 | |
| Class4 o-- Class5",output/151.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n1 -> n3 | |
| n8 -> n9 | |
| n6 -> n4 | |
| n7 -> n6 | |
| n9 -> n1 | |
| n1 -> n4 | |
| n7 -> n1 | |
| n6 -> n2 | |
| n3 -> n5 | |
| n2 -> n9 | |
| n8 -> n7 | |
| }",output/714.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 8 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_2 | |
| Service_0-->Service_1: Message 204 | |
| @note right of Service_0: Note processing | |
| Service_0-->Service_3: Message 244 | |
| @note right of Service_0: Note processing | |
| Service_0-->>Service_2: Message 805 | |
| Service_0-->Service_1: Message 532 | |
| loop Loop check | |
| Service_1->Service_2: Message 985 | |
| end | |
| Service_3-->Service_2: Message 980 | |
| Service_3-->>Service_1: Message 521 | |
| Service_0-->>Service_3: Message 404",output/704.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 7 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| alt Condition | |
| Service_0-xService_1: Message 170 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| alt Condition | |
| Service_1->>Service_0: Message 862 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_0-->>Service_1: Message 748 | |
| Service_0-xService_1: Message 553 | |
| loop Loop check | |
| Service_0-->>Service_1: Message 540 | |
| end | |
| loop Loop check | |
| Service_0->Service_1: Message 294 | |
| end | |
| Service_1-xService_0: Message 342",output/776.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| datetime field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| int field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| string field_2 | |
| datetime field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| int field_2 | |
| float field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| bool field_3 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : contains | |
| TABLE_1 ||--|| TABLE_2 : has | |
| TABLE_2 }|--|| TABLE_3 : manages | |
| TABLE_3 }|--|| TABLE_4 : owns | |
| TABLE_4 }|--|| TABLE_5 : contains",output/766.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 15 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 4d | |
| ""Task 1"" : 2024-01-05, 4d | |
| ""Task 2"" : 2024-01-09, 7d",output/123.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| end",output/133.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P3-->P4: msg_94 | |
| P2-->P3: msg_33 | |
| P1->P2: msg_86 | |
| P0->>P4: msg_37 | |
| P1-->P4: msg_85 | |
| P0->P3: msg_30 | |
| P0-->>P4: msg_3 | |
| P3-->P0: msg_97 | |
| P4->P2: msg_63 | |
| P3->>P1: msg_18",output/245.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1",output/255.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| :Action 4; | |
| end",output/410.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Process 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Process 6; | |
| :Process 7; | |
| :Action 8; | |
| end",output/568.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| *** Subitem 2.1 | |
| *** Subitem 2.2 | |
| ** Feature 3 | |
| *** Subitem 3.0 | |
| *** Subitem 3.1",output/400.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| int field_2 | |
| bool field_3 | |
| datetime field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| float field_2 | |
| string field_3 | |
| string field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| string field_2 | |
| datetime field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| bool field_2 | |
| string field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| datetime field_2 | |
| bool field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| string field_2 | |
| bool field_3 | |
| float field_4 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--|| TABLE_2 : has | |
| TABLE_2 ||--|| TABLE_3 : has | |
| TABLE_3 ||--|{ TABLE_4 : has | |
| TABLE_4 }|--|| TABLE_5 : has | |
| TABLE_5 }|--|| TABLE_6 : manages",output/578.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 8 elements.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| ** Idea 3 | |
| *** Subitem 3.0 | |
| **** Detail 3.0.1 | |
| *** Subitem 3.1 | |
| **** Detail 3.1.1",output/384.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| :step_5; | |
| end",output/394.pintora.png | |
| Design an Entity Relationship diagram. Include about 12 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--|{ Ent3 : relates",output/78.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P1->>P0: msg_72 | |
| P1-->>P0: msg_74 | |
| P0->P1: msg_49 | |
| P1-->>P2: msg_66 | |
| P0-->P1: msg_76 | |
| P1->P2: msg_33 | |
| P1->>P0: msg_65",output/9.pintora.png | |
| Create a mind map for database concepts,"mindmap | |
| + Database Systems | |
| ++ Relational | |
| +++ PostgreSQL | |
| +++ MySQL | |
| +++ SQLite | |
| ++ NoSQL | |
| +++ Document Store | |
| ++++ MongoDB | |
| ++++ CouchDB | |
| +++ Key-Value | |
| ++++ Redis | |
| ++++ DynamoDB | |
| +++ Graph | |
| ++++ Neo4j | |
| ++++ Amazon Neptune | |
| -- Concepts | |
| --- ACID | |
| --- CAP Theorem | |
| --- Indexing | |
| --- Normalization",output/1001.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates",output/68.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n4 -> n2 | |
| n1 -> n4 | |
| n3 -> n4 | |
| n0 -> n4 | |
| n4 -> n2 | |
| n4 -> n1 | |
| }",output/803.pintora.png | |
| Illustrate a complex business process with activity diagram.,"activityDiagram | |
| title: Data Processing | |
| start | |
| while (Check 0?) is (yes) | |
| :Process 0; | |
| endwhile (done) | |
| while (Check 1?) is (yes) | |
| :Process 1; | |
| endwhile (done) | |
| while (Check 2?) is (yes) | |
| :Process 2; | |
| endwhile (done) | |
| if (Condition 3?) then (yes) | |
| :Action True 3; | |
| else (no) | |
| :Action False 3; | |
| endif | |
| while (Check 4?) is (yes) | |
| :Process 4; | |
| endwhile (done) | |
| if (Condition 5?) then (yes) | |
| :Action True 5; | |
| else (no) | |
| :Action False 5; | |
| endif | |
| :Step 6; | |
| if (Condition 7?) then (yes) | |
| :Action True 7; | |
| else (no) | |
| :Action False 7; | |
| endif | |
| } | |
| end",output/813.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""circle"", label=""Node n8""] | |
| n3 -> n4 | |
| n4 -> n6 | |
| n8 -> n1 | |
| n7 -> n1 | |
| n4 -> n0 | |
| n8 -> n2 | |
| n5 -> n6 | |
| n4 -> n8 | |
| }",output/653.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n1 -> n8 | |
| n7 -> n8 | |
| n3 -> n4 | |
| n5 -> n4 | |
| n0 -> n5 | |
| n7 -> n4 | |
| n4 -> n8 | |
| n2 -> n7 | |
| n1 -> n4 | |
| n0 -> n8 | |
| n7 -> n6 | |
| }",output/643.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| :Action 1; | |
| :Process 2; | |
| :Action 3; | |
| :Action 4; | |
| :Process 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| fork | |
| :Parallel 1 7; | |
| forkagain | |
| :Parallel 2 7; | |
| endfork | |
| :Action 8; | |
| end",output/535.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n6 -> n2 | |
| n7 -> n6 | |
| n3 -> n1 | |
| n6 -> n0 | |
| n0 -> n7 | |
| n6 -> n2 | |
| n3 -> n5 | |
| n7 -> n4 | |
| n2 -> n6 | |
| n1 -> n7 | |
| }",output/525.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| *** Subitem 0.2 | |
| **** Detail 0.2.1 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| ** Task 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1 | |
| *** Subitem 2.2 | |
| ** Concept 3 | |
| *** Subitem 3.0 | |
| **** Detail 3.0.1 | |
| *** Subitem 3.1 | |
| **** Detail 3.1.1",output/218.pintora.png | |
| Map out a process flow using an activity diagram. Include about 5 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| end",output/360.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P0->>P1: msg_97 | |
| P1->P0: msg_79 | |
| P0->>P1: msg_81 | |
| P0->>P1: msg_96 | |
| P1-->P0: msg_40 | |
| P0-->P1: msg_92 | |
| P1-->P0: msg_62",output/208.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 3d | |
| ""Task 1"" : 2024-01-04, 2d | |
| ""Task 2"" : 2024-01-06, 2d | |
| ""Task 3"" : 2024-01-08, 5d | |
| ""Task 4"" : 2024-01-13, 3d",output/370.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P1->>P0: msg_28 | |
| P0->P1: msg_71 | |
| P0-->>P2: msg_64 | |
| P1->>P2: msg_4 | |
| P1->>P0: msg_91 | |
| P2-->P0: msg_56",output/25.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 14 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n1 -> n2 | |
| n0 -> n3 | |
| n4 -> n1 | |
| n1 -> n0 | |
| n3 -> n1 | |
| n2 -> n1 | |
| n1 -> n3 | |
| n4 -> n1 | |
| n3 -> n0 | |
| n2 -> n4 | |
| n4 -> n2 | |
| n3 -> n4 | |
| n4 -> n0 | |
| n2 -> n3 | |
| }",output/35.pintora.png | |
| Write an activity diagram with while and repeat loops,"activityDiagram | |
| start | |
| :Initialize counter; | |
| while (counter < 10) is (yes) | |
| :Process item; | |
| :Increment counter; | |
| endwhile (done) | |
| repeat | |
| :Read next batch; | |
| :Process batch; | |
| repeatwhile (more batches?) is (yes) not (no) | |
| :Finalize results; | |
| end",output/926.pintora.png | |
| Create a Gantt chart for a product launch,"gantt | |
| title Product Launch Timeline | |
| dateFormat YYYY-MM-DD | |
| axisFormat MM-DD | |
| axisInterval 1w | |
| section Research | |
| ""Market Analysis"" : 2024-01-01, 2024-01-15 | |
| ""User Research"" : 2024-01-08, 2024-01-22 | |
| section Development | |
| ""MVP Development"" : dev-mvp, 2024-01-22, 30d | |
| ""Testing"" : after dev-mvp, 14d | |
| section Launch | |
| ""Beta Release"" : milestone, 2024-03-01, 0d | |
| ""Marketing Campaign"" : 2024-03-01, 2024-03-15 | |
| ""Public Launch"" : milestone, 2024-03-15, 0d",output/936.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n3 -> n4 | |
| n1 -> n4 | |
| n4 -> n5 | |
| n4 -> n2 | |
| n5 -> n2 | |
| n4 -> n7 | |
| n2 -> n3 | |
| n4 -> n6 | |
| n2 -> n0 | |
| }",output/792.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| string field_2 | |
| float field_3 | |
| bool field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| bool field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| bool field_2 | |
| int field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| datetime field_2 | |
| float field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| float field_2 | |
| string field_3 | |
| bool field_4 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| string field_2 | |
| int field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| int field_2 | |
| float field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : has | |
| TABLE_1 ||--|| TABLE_2 : uses | |
| TABLE_2 ||--o{ TABLE_3 : manages | |
| TABLE_3 ||--o{ TABLE_4 : manages | |
| TABLE_4 ||--|{ TABLE_5 : uses | |
| TABLE_5 ||--o{ TABLE_6 : manages | |
| TABLE_6 ||--|{ TABLE_7 : uses",output/782.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 13 steps.,"sequenceDiagram | |
| participant Service_4 | |
| alt Condition | |
| Service_3->>Service_2: Message 743 | |
| else Other case | |
| Service_2-->>Service_3: Response | |
| end | |
| loop Loop check | |
| Service_0-->Service_2: Message 764 | |
| end | |
| @note right of Service_3: Note processing | |
| Service_3-xService_4: Message 322 | |
| @note right of Service_3: Note processing | |
| Service_3-->>Service_0: Message 743 | |
| Service_4-->>Service_0: Message 347 | |
| Service_4->Service_0: Message 922 | |
| Service_0-->Service_1: Message 107 | |
| Service_3->Service_1: Message 724 | |
| Service_2->Service_4: Message 891 | |
| Service_4-xService_3: Message 764 | |
| Service_0->Service_3: Message 387 | |
| Service_0->>Service_4: Message 998 | |
| Service_1-xService_2: Message 389",output/688.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Action 5; | |
| end",output/698.pintora.png | |
| Create a DOT diagram with edge and node styles,"dotDiagram | |
| digraph Styles { | |
| bgcolor=""#ffffff"" | |
| solid_node [style=""solid"", label=""Solid""] | |
| dashed_node [style=""dashed"", label=""Dashed""] | |
| dotted_node [style=""dotted"", label=""Dotted""] | |
| bold_node [style=""bold"", label=""Bold""] | |
| solid_node -> dashed_node [style=""solid""] | |
| dashed_node -> dotted_node [style=""dashed""] | |
| dotted_node -> bold_node [style=""dotted""] | |
| bold_node -> solid_node [style=""bold""] | |
| }",output/944.pintora.png | |
| Create a component diagram with custom style selectors,"@pre | |
| @style { | |
| .component__interface { | |
| backgroundColor: #61afef; | |
| } | |
| .component__component { | |
| backgroundColor: #98c379; | |
| } | |
| } | |
| @endpre | |
| componentDiagram | |
| [Application] | |
| () IDatabase | |
| () ILogger | |
| [Application] --> IDatabase | |
| [Application] --> ILogger",output/954.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 12 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| alt Condition | |
| Service_4-->Service_0: Message 726 | |
| else Other case | |
| Service_0-->>Service_4: Response | |
| end | |
| Service_0-->Service_4: Message 345 | |
| loop Loop check | |
| Service_1-xService_3: Message 568 | |
| end | |
| Service_4-->Service_0: Message 578 | |
| @note right of Service_0: Note processing | |
| Service_0->Service_3: Message 902 | |
| loop Loop check | |
| Service_0-->>Service_1: Message 709 | |
| end | |
| Service_4->>Service_2: Message 864 | |
| Service_0->>Service_1: Message 920 | |
| loop Loop check | |
| Service_4-xService_3: Message 622 | |
| end | |
| Service_1->>Service_2: Message 138 | |
| alt Condition | |
| Service_2-->Service_4: Message 365 | |
| else Other case | |
| Service_4-->>Service_2: Response | |
| end | |
| Service_0-->>Service_4: Message 604",output/496.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1",output/47.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 14 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| loop Loop check | |
| Service_0-->>Service_1: Message 148 | |
| end | |
| Service_0-->>Service_1: Message 419 | |
| Service_0-->>Service_1: Message 326 | |
| Service_1->Service_0: Message 899 | |
| alt Condition | |
| Service_0-->Service_1: Message 934 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_1-->Service_0: Message 792 | |
| Service_0-->Service_1: Message 988 | |
| @note right of Service_0: Note processing | |
| Service_0-->>Service_1: Message 130 | |
| alt Condition | |
| Service_1->>Service_0: Message 150 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_0->Service_1: Message 701 | |
| Service_1-->>Service_0: Message 795 | |
| loop Loop check | |
| Service_1->>Service_0: Message 850 | |
| end | |
| Service_0-->Service_1: Message 246 | |
| Service_1-->>Service_0: Message 742",output/486.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 }|--|| Ent3 : relates | |
| Ent3 ||--o{ Ent4 : relates | |
| Ent4 }|--|| Ent5 : relates",output/57.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 6 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 10d | |
| ""Task 1"" : 2024-01-11, 9d | |
| ""Task 2"" : 2024-01-20, 8d",output/302.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 12 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 *-- Class2 | |
| Class2 o-- Class3 | |
| Class3 --> Class4",output/312.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_1 | |
| Service_0-xService_1: Message 791 | |
| Service_1-xService_0: Message 753 | |
| Service_1-xService_0: Message 424 | |
| Service_0-xService_1: Message 489 | |
| Service_1-->Service_0: Message 484 | |
| alt Condition | |
| Service_1-xService_0: Message 357 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_0-->Service_1: Message 698 | |
| Service_1-xService_0: Message 392 | |
| Service_1->Service_0: Message 111 | |
| Service_0->Service_1: Message 704",output/557.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| bool field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| float field_2 | |
| datetime field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| datetime field_2 | |
| bool field_3 | |
| float field_4 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : contains | |
| TABLE_1 }|--|| TABLE_2 : owns | |
| TABLE_2 ||--o{ TABLE_3 : contains | |
| TABLE_3 ||--|{ TABLE_4 : manages",output/547.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Action 2; | |
| :Process 3; | |
| :Process 4; | |
| :Process 5; | |
| :Action 6; | |
| :Action 7; | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| :Action 9; | |
| end",output/749.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n3 -> n2 | |
| n4 -> n2 | |
| n2 -> n0 | |
| n5 -> n7 | |
| n0 -> n5 | |
| n5 -> n7 | |
| n6 -> n5 | |
| }",output/631.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| string field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| string field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| bool field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : uses | |
| TABLE_1 }|--|| TABLE_2 : owns | |
| TABLE_2 ||--|| TABLE_3 : contains",output/759.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Action 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| end",output/621.pintora.png | |
| Write a Pintora diagram: model an object-oriented system with class diagram.,"classDiagram | |
| title: Factory Pattern | |
| class FactoryA { | |
| +List~T~ attr0 | |
| ~List~T~ attr1 | |
| -method0() T | |
| } | |
| class HandlerB { | |
| #int attr0 | |
| #method0() T | |
| } | |
| class ControllerC { | |
| <<abstract>> | |
| #List~T~ attr0 | |
| #method0() boolean | |
| ~method1() T | |
| ~method2() string | |
| } | |
| class ControllerD { | |
| ~int attr0 | |
| +List~T~ attr1 | |
| #int attr2 | |
| -int attr3 | |
| -method0() boolean | |
| ~method1() string | |
| } | |
| class ServiceE { | |
| ~List~T~ attr0 | |
| -int attr1 | |
| ~boolean attr2 | |
| -List~T~ attr3 | |
| +method0() T | |
| #method1() boolean | |
| } | |
| class ControllerF { | |
| #string attr0 | |
| +boolean attr1 | |
| +{static} method0() boolean | |
| -method1() void | |
| } | |
| FactoryA <|-- HandlerB | |
| HandlerB ..> ControllerD | |
| ControllerC *-- ControllerF | |
| ControllerD *-- ServiceE | |
| ServiceE *-- ControllerF",output/885.pintora.png | |
| Write a Pintora diagram: visualize a complex graph with dot diagram.,"dotDiagram | |
| graph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""plaintext"", bgcolor=""#e3f2fd""] | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n8 [label=""Node n8""] | |
| n9 [label=""Node n9""] | |
| n1 -- n2 | |
| n3 -- n4 [color=""purple""] | |
| n2 -- n6 | |
| n6 -- n4 | |
| n0 -- n2 | |
| n2 -- n5 [color=""blue""] | |
| n3 -- n4 | |
| n1 -- n0 [color=""purple""] | |
| n7 -- n8 | |
| n3 -- n4 | |
| }",output/895.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P1-->P0: msg_94 | |
| P1-->P0: msg_98 | |
| P1-->>P0: msg_96 | |
| P1-->>P0: msg_99 | |
| P1-->P0: msg_5 | |
| P0->P1: msg_74 | |
| P0->>P1: msg_10 | |
| P0-->P1: msg_93 | |
| P0-->>P1: msg_55 | |
| P1-->>P0: msg_3 | |
| P1-->>P0: msg_88 | |
| P0->P1: msg_80 | |
| P1-->P0: msg_63 | |
| P1-->>P0: msg_13",output/236.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P0-->P1: msg_85 | |
| P1->P0: msg_8 | |
| P0-->>P1: msg_98 | |
| P1->P0: msg_55 | |
| P1->P0: msg_52 | |
| P1-->P0: msg_100 | |
| P0->>P1: msg_9 | |
| P1-->>P0: msg_3 | |
| P1->>P0: msg_29 | |
| P1-->>P0: msg_92 | |
| P0-->P1: msg_27 | |
| P0->P1: msg_22 | |
| P0-->>P1: msg_47 | |
| P0->P1: msg_48 | |
| P1-->>P0: msg_73",output/226.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n7 -> n2 | |
| n0 -> n5 | |
| n9 -> n3 | |
| n1 -> n4 | |
| n5 -> n8 | |
| n1 -> n8 | |
| n6 -> n9 | |
| n7 -> n6 | |
| n8 -> n6 | |
| }",output/463.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| int field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| int field_2 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : contains | |
| TABLE_1 }|--|| TABLE_2 : uses",output/473.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n3 -> n0 | |
| n0 -> n2 | |
| n3 -> n2 | |
| n1 -> n0 | |
| n3 -> n2 | |
| n2 -> n3 | |
| n2 -> n4 | |
| n0 -> n5 | |
| }",output/705.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| :Process 5; | |
| end",output/715.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 8 elements.,"sequenceDiagram | |
| autonumber | |
| P0->P1: msg_70 | |
| P1-->>P0: msg_29 | |
| P0->>P1: msg_25 | |
| P0-->P1: msg_27 | |
| P1-->P0: msg_63 | |
| P1->>P0: msg_47 | |
| P1->>P0: msg_13 | |
| P1-->P0: msg_25",output/150.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P3-->>P2: msg_68 | |
| P4-->P3: msg_42 | |
| P2->P4: msg_89 | |
| P3-->P2: msg_8 | |
| P4->>P2: msg_75 | |
| P0-->>P2: msg_44 | |
| P3-->P0: msg_49 | |
| P3-->P0: msg_30",output/140.pintora.png | |
| Write a sequence diagram for an e-commerce checkout process,"sequenceDiagram | |
| title: E-commerce Checkout | |
| autonumber | |
| participant Customer | |
| participant Cart | |
| participant Payment | |
| participant Inventory | |
| Customer->>Cart: Add items | |
| Cart->>Inventory: Check stock | |
| Inventory-->>Cart: Items available | |
| Customer->>Cart: Checkout | |
| Cart->>Payment: Process payment | |
| activate Payment | |
| Payment->>Payment: Validate card | |
| Payment-->>Cart: Payment confirmed | |
| deactivate Payment | |
| Cart->>Inventory: Update stock | |
| Inventory-->>Cart: Stock updated | |
| Cart-->>Customer: Order confirmed",output/908.pintora.png | |
| Create a detailed hierarchical mind map. Include nested structures.,"mindmap | |
| @param layoutDirection RL | |
| * Learning Path | |
| ** Topic A | |
| *** Subtopic A.1 | |
| **** Detail A.1.1 | |
| **** Detail A.1.2 | |
| *** Subtopic A.2 | |
| *** Subtopic A.3 | |
| *** Subtopic A.4 | |
| **** Detail A.4.1 | |
| **** Detail A.4.2 | |
| **** Detail A.4.3 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| *** Subtopic B.2 | |
| *** Subtopic B.3 | |
| **** Detail B.3.1 | |
| **** Detail B.3.2 | |
| *** Subtopic B.4 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| *** Subtopic C.2 | |
| **** Detail C.2.1 | |
| *** Subtopic C.3 | |
| **** Detail C.3.1 | |
| ** Topic D | |
| *** Subtopic D.1 | |
| *** Subtopic D.2 | |
| *** Subtopic D.3 | |
| **** Detail D.3.1 | |
| *** Subtopic D.4 | |
| **** Detail D.4.1 | |
| **** Detail D.4.2 | |
| **** Detail D.4.3 | |
| ** Topic E | |
| *** Subtopic E.1 | |
| **** Detail E.1.1 | |
| *** Subtopic E.2 | |
| *** Subtopic E.3 | |
| *** Subtopic E.4",output/870.pintora.png | |
| Write an ER diagram with all cardinality types,"erDiagram | |
| %% Demonstrating all cardinality types | |
| A ||--|| B : ""exactly one to exactly one"" | |
| C ||--o| D : ""exactly one to zero or one"" | |
| E ||--o{ F : ""exactly one to zero or more"" | |
| G ||--|{ H : ""exactly one to one or more"" | |
| I }|--|| J : ""one or more to exactly one"" | |
| K }o--o{ L : ""zero or more to zero or more"" ",output/918.pintora.png | |
| Write a Pintora diagram: visualize a complex graph with dot diagram.,"dotDiagram | |
| graph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""plaintext"", bgcolor=""#e3f2fd""] | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n8 [label=""Node n8""] | |
| n2 -- n5 | |
| n7 -- n1 | |
| n6 -- n7 [color=""blue""] | |
| n7 -- n6 | |
| n0 -- n4 | |
| n6 -- n2 | |
| n7 -- n8 [color=""red""] | |
| n8 -- n5 | |
| n7 -- n6 [color=""blue""] | |
| n8 -- n5 | |
| n5 -- n3 [color=""green""] | |
| n5 -- n3 | |
| n3 -- n7 | |
| n3 -- n6 | |
| n7 -- n8 [color=""blue""] | |
| n7 -- n4 | |
| n5 -- n1 [color=""red""] | |
| n2 -- n4 | |
| }",output/860.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 <|-- Class2 | |
| Class2 o-- Class3 | |
| Class3 o-- Class4",output/69.pintora.png | |
| Design an Entity Relationship diagram. Include about 15 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 }|--|| Ent3 : relates",output/8.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 }|--|| Ent3 : relates",output/79.pintora.png | |
| Write a sequence diagram for cache invalidation,"sequenceDiagram | |
| title: Cache Invalidation Pattern | |
| participant Writer | |
| participant CacheService | |
| participant Database | |
| participant Reader | |
| Writer->>Database: Update data | |
| Database-->>Writer: Success | |
| Writer->>CacheService: Invalidate cache key | |
| CacheService->>CacheService: Delete cached entry | |
| Reader->>CacheService: Request data | |
| CacheService->>CacheService: Cache miss | |
| CacheService->>Database: Fetch fresh data | |
| Database-->>CacheService: Data | |
| CacheService->>CacheService: Store in cache | |
| CacheService-->>Reader: Return data",output/1000.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 5d | |
| ""Task 2"" : 2024-01-15, 6d | |
| ""Task 3"" : 2024-01-21, 3d | |
| ""Task 4"" : 2024-01-24, 8d",output/395.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 7d | |
| ""Task 1"" : 2024-01-08, 10d | |
| ""Task 2"" : 2024-01-18, 4d | |
| ""Task 3"" : 2024-01-22, 3d",output/385.pintora.png | |
| Write a Pintora diagram: map a complex business process with activity diagram.,"activityDiagram | |
| start | |
| partition Processing { | |
| switch (Type 0?) | |
| case (A) | |
| :Handle A0; | |
| case (B) | |
| :Handle B0; | |
| endswitch | |
| :Step 1; | |
| :Step 2; | |
| @note right: Important step 3 | |
| :Critical action 3; | |
| fork | |
| :Parallel Task A4; | |
| forkagain | |
| :Parallel Task B4; | |
| endfork | |
| fork | |
| :Parallel Task A5; | |
| forkagain | |
| :Parallel Task B5; | |
| endfork | |
| end",output/812.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 6 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_1 | |
| participant Service_2 | |
| alt Condition | |
| Service_1-->>Service_0: Message 173 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_1-xService_2: Message 425 | |
| Service_0-xService_1: Message 608 | |
| Service_1->Service_2: Message 996 | |
| Service_0->>Service_2: Message 727 | |
| Service_0-->>Service_1: Message 353",output/802.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 3d | |
| ""Task 1"" : 2024-01-04, 8d | |
| ""Task 2"" : 2024-01-12, 3d | |
| ""Task 3"" : 2024-01-15, 2d | |
| ""Task 4"" : 2024-01-17, 4d | |
| ""Task 5"" : 2024-01-21, 6d",output/132.pintora.png | |
| Map out a process flow using an activity diagram. Include about 10 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| :step_8; | |
| :step_9; | |
| end",output/122.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| int field_2 | |
| int field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| float field_2 | |
| int field_3 | |
| string field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| string field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : uses | |
| TABLE_1 ||--|| TABLE_2 : contains | |
| TABLE_2 ||--o{ TABLE_3 : contains",output/767.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| bool field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| float field_2 | |
| string field_3 | |
| int field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| float field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| float field_2 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : contains | |
| TABLE_1 }|--|| TABLE_2 : uses | |
| TABLE_2 }|--|| TABLE_3 : has | |
| TABLE_3 }|--|| TABLE_4 : manages | |
| TABLE_4 ||--|{ TABLE_5 : uses | |
| TABLE_5 ||--|| TABLE_6 : manages",output/777.pintora.png | |
| Generate a DOT directed graph with 7 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n6 -> n5 | |
| n3 -> n2 | |
| n2 -> n6 | |
| n1 -> n4 | |
| n0 -> n6 | |
| n1 -> n4 | |
| n6 -> n4 | |
| n0 -> n4 | |
| n4 -> n3 | |
| }",output/579.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 6 elements.,"sequenceDiagram | |
| autonumber | |
| P0->P1: msg_81 | |
| P0-->>P1: msg_87 | |
| P1->>P0: msg_18 | |
| P0-->>P1: msg_7 | |
| P0-->P1: msg_47 | |
| P1-->>P0: msg_10",output/401.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 9 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_1 | |
| participant Service_2 | |
| participant Service_3 | |
| Service_3-->Service_2: Message 830 | |
| Service_1->Service_3: Message 769 | |
| Service_1->>Service_0: Message 426 | |
| Service_0->>Service_1: Message 891 | |
| Service_2-->Service_0: Message 121 | |
| Service_3-->>Service_1: Message 889 | |
| alt Condition | |
| Service_2-->Service_1: Message 331 | |
| else Other case | |
| Service_1-->>Service_2: Response | |
| end | |
| alt Condition | |
| Service_0->>Service_1: Message 936 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0-xService_3: Message 939",output/569.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n8 -> n2 | |
| n0 -> n6 | |
| n1 -> n4 | |
| n2 -> n5 | |
| n4 -> n1 | |
| n0 -> n3 | |
| n3 -> n4 | |
| n3 -> n1 | |
| n4 -> n7 | |
| n1 -> n3 | |
| n8 -> n6 | |
| }",output/411.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 6 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 8d | |
| ""Task 1"" : 2024-01-09, 10d | |
| ""Task 2"" : 2024-01-19, 2d",output/254.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n1 -> n4 | |
| n4 -> n1 | |
| n1 -> n0 | |
| n3 -> n2 | |
| n1 -> n3 | |
| n0 -> n1 | |
| n0 -> n5 | |
| n3 -> n2 | |
| n0 -> n2 | |
| n1 -> n2 | |
| n3 -> n0 | |
| }",output/244.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 6 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 8d | |
| ""Task 1"" : 2024-01-09, 10d | |
| ""Task 2"" : 2024-01-19, 4d | |
| ""Task 3"" : 2024-01-23, 9d | |
| ""Task 4"" : 2024-02-01, 4d | |
| ""Task 5"" : 2024-02-05, 9d",output/34.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P2-->P0: msg_88 | |
| P2-->P0: msg_72 | |
| P3-->>P0: msg_87 | |
| P4->>P0: msg_96 | |
| P3-->>P0: msg_56 | |
| P3-->P0: msg_75 | |
| P0->>P4: msg_99",output/24.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 5 steps.,"sequenceDiagram | |
| participant Service_1 | |
| participant Service_2 | |
| Service_1->Service_2: Message 945 | |
| Service_1-->Service_0: Message 557 | |
| Service_1-->>Service_2: Message 479 | |
| alt Condition | |
| Service_2-->Service_3: Message 755 | |
| else Other case | |
| Service_3-->>Service_2: Response | |
| end | |
| Service_3->Service_0: Message 781",output/783.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| string field_2 | |
| int field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| bool field_2 | |
| datetime field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| string field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| int field_2 | |
| string field_3 | |
| int field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| string field_2 | |
| float field_3 | |
| bool field_4 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| bool field_2 | |
| string field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| float field_2 | |
| int field_3 | |
| string field_4 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : manages | |
| TABLE_1 ||--|{ TABLE_2 : contains | |
| TABLE_2 ||--|{ TABLE_3 : has | |
| TABLE_3 }|--|| TABLE_4 : owns | |
| TABLE_4 ||--|{ TABLE_5 : manages | |
| TABLE_5 ||--|| TABLE_6 : has",output/793.pintora.png | |
| Write a Gantt chart with task dependencies,"gantt | |
| title Sprint Planning | |
| dateFormat YYYY-MM-DD | |
| section Backend | |
| ""Design API"" : api-design, 2024-02-01, 5d | |
| ""Implement API"" : api-impl, after api-design, 10d | |
| ""API Testing"" : after api-impl, 5d | |
| section Frontend | |
| ""UI Mockups"" : ui-design, 2024-02-01, 7d | |
| ""Implement UI"" : after ui-design, 14d | |
| section Integration | |
| ""Integration Testing"" : after api-impl, 7d",output/937.pintora.png | |
| Create an activity diagram with parallel processing,"activityDiagram | |
| title: Parallel Order Processing | |
| start | |
| :Receive order; | |
| fork | |
| :Validate payment; | |
| forkagain | |
| :Check inventory; | |
| forkagain | |
| :Calculate shipping; | |
| endfork | |
| :Confirm order; | |
| :Send notification; | |
| end",output/927.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Process 1; | |
| :Action 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Action 5; | |
| fork | |
| :Parallel 1 6; | |
| forkagain | |
| :Parallel 2 6; | |
| endfork | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| fork | |
| :Parallel 1 8; | |
| forkagain | |
| :Parallel 2 8; | |
| endfork | |
| if (Check 9?) then (yes) | |
| :Handle Yes 9; | |
| else (no) | |
| :Handle No 9; | |
| endif | |
| end",output/642.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| int field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| bool field_2 | |
| bool field_3 | |
| datetime field_4 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : owns | |
| TABLE_1 ||--o{ TABLE_2 : manages",output/652.pintora.png | |
| Design an Entity Relationship diagram. Include about 12 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 ||--|{ Ent3 : relates",output/371.pintora.png | |
| Design an Entity Relationship diagram. Include about 8 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 ||--|{ Ent3 : relates | |
| Ent3 ||--|{ Ent4 : relates | |
| Ent4 ||--|{ Ent5 : relates",output/209.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 5 elements.,"sequenceDiagram | |
| autonumber | |
| P0-->>P1: msg_91 | |
| P0->>P1: msg_93 | |
| P0->>P1: msg_29 | |
| P0-->>P1: msg_31 | |
| P1->>P0: msg_63",output/361.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 *-- Class2 | |
| Class2 <|-- Class3",output/219.pintora.png | |
| Write a component diagram showing a system with 7 components distributed across packages.,"componentDiagram | |
| package ""System A"" { | |
| [Comp0] | |
| [Comp1] | |
| [Comp2] | |
| } | |
| package ""System B"" { | |
| [Comp3] | |
| [Comp4] | |
| [Comp5] | |
| [Comp6] | |
| } | |
| () HTTP | |
| () DB_Conn | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3] | |
| [Comp3] --> [Comp4] | |
| [Comp4] --> [Comp5] | |
| [Comp5] --> [Comp6] | |
| [Comp0] --> HTTP | |
| [Comp6] --> DB_Conn",output/524.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| int field_2 | |
| int field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| string field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| string field_2 | |
| float field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| float field_2 | |
| float field_3 | |
| float field_4 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| bool field_2 | |
| string field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : contains | |
| TABLE_1 }|--|| TABLE_2 : has | |
| TABLE_2 ||--|| TABLE_3 : manages | |
| TABLE_3 }|--|| TABLE_4 : manages | |
| TABLE_4 }|--|| TABLE_5 : uses | |
| TABLE_5 ||--|{ TABLE_6 : owns | |
| TABLE_6 }|--|| TABLE_7 : owns",output/534.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| bool field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| bool field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| string field_2 | |
| int field_3 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : uses | |
| TABLE_1 }|--|| TABLE_2 : owns | |
| TABLE_2 ||--|| TABLE_3 : manages | |
| TABLE_3 ||--|| TABLE_4 : manages | |
| TABLE_4 }|--|| TABLE_5 : owns",output/546.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Action 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| end",output/556.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 11 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 10d | |
| ""Task 2"" : 2024-01-20, 8d",output/313.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 14 elements.,"sequenceDiagram | |
| autonumber | |
| P3->>P1: msg_86 | |
| P0-->>P2: msg_52 | |
| P0-->>P3: msg_27 | |
| P0-->>P1: msg_30 | |
| P0->P2: msg_73 | |
| P1->>P3: msg_84 | |
| P3->P2: msg_43 | |
| P3->P1: msg_100 | |
| P3-->P1: msg_5 | |
| P0->>P3: msg_50 | |
| P1->P3: msg_13 | |
| P0->P3: msg_25 | |
| P1->P2: msg_11 | |
| P2-->>P0: msg_65",output/303.pintora.png | |
| Create an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| autonumber | |
| participant [<database> ServiceA] | |
| participant [<actor> ServiceD] | |
| participant [<queue> ServiceE] | |
| participant [<node> ServiceF] | |
| ServiceB->>ServiceF: Query 0 | |
| loop Retry | |
| ServiceC-->ServiceB: Validate | |
| ServiceB-->>ServiceC: Response | |
| end | |
| loop Retry | |
| ServiceF-xServiceE: Process event | |
| ServiceE-->>ServiceF: Response | |
| end | |
| @note right of ServiceB: Validating | |
| ServiceB-->ServiceE: Validate | |
| ServiceE->ServiceB: Query 4 | |
| ServiceE-xServiceB: Request 5 | |
| ServiceF-->>ServiceA: Update 6 | |
| ServiceA-->>ServiceF: Fetch data | |
| ServiceF-xServiceE: Request 8 | |
| ServiceF->>ServiceB: Query 9 | |
| par Parallel processing | |
| ServiceD-->>ServiceA: Task A | |
| and | |
| ServiceD-->>ServiceB: Task B | |
| end",output/894.pintora.png | |
| Write a Pintora diagram: visualize a complex graph with dot diagram.,"dotDiagram | |
| graph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""circle"", bgcolor=""#e3f2fd""] | |
| subgraph cluster_0 { | |
| label=""Group A"" | |
| a0 [label=""Node a0""] | |
| a1 [label=""Node a1""] | |
| a2 [label=""Node a2""] | |
| a3 [label=""Node a3""] | |
| } | |
| subgraph cluster_1 { | |
| label=""Group B"" | |
| b0 [label=""Node b0""] | |
| b1 [label=""Node b1""] | |
| } | |
| a1 -- a0 [color=""green""] | |
| a1 -- b1 | |
| a0 -- a1 [color=""blue""] | |
| b1 -- a3 | |
| a3 -- a1 | |
| a2 -- b0 [color=""purple""] | |
| a2 -- b1 | |
| b1 -- a3 [color=""purple""] | |
| a3 -- b0 [color=""blue""] | |
| a1 -- b0 | |
| }",output/884.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Action 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Action 6; | |
| end",output/620.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| datetime field_2 | |
| int field_3 | |
| string field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| int field_2 | |
| datetime field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : uses | |
| TABLE_1 ||--|{ TABLE_2 : has | |
| TABLE_2 ||--|| TABLE_3 : uses | |
| TABLE_3 ||--|{ TABLE_4 : has | |
| TABLE_4 ||--|{ TABLE_5 : owns",output/758.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Process 6; | |
| :Process 7; | |
| end",output/630.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| float field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| string field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| bool field_2 | |
| datetime field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : manages | |
| TABLE_1 ||--|{ TABLE_2 : contains | |
| TABLE_2 ||--o{ TABLE_3 : contains | |
| TABLE_3 ||--|{ TABLE_4 : contains | |
| TABLE_4 ||--o{ TABLE_5 : owns | |
| TABLE_5 ||--|{ TABLE_6 : owns",output/748.pintora.png | |
| Write an activity diagram with @bindClass,"@pre | |
| @style { | |
| .highlight { | |
| actionBackground: #ff6b6b; | |
| textColor: #ffffff; | |
| } | |
| } | |
| @endpre | |
| activityDiagram | |
| start | |
| :Normal action; | |
| :Important action; | |
| @bindClass action-1 highlight | |
| end",output/955.pintora.png | |
| Write a DOT undirected graph,"dotDiagram | |
| graph Network { | |
| bgcolor=""#f0f0f0"" | |
| node [bgcolor=""#aaddff""] | |
| server1 -- switch1 | |
| server2 -- switch1 | |
| server3 -- switch2 | |
| switch1 -- router | |
| switch2 -- router | |
| router -- firewall | |
| firewall -- internet | |
| }",output/945.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| participant Service_3 | |
| participant Service_4 | |
| Service_4->>Service_3: Message 267 | |
| Service_0-xService_4: Message 642 | |
| Service_3->>Service_2: Message 410 | |
| Service_0-->Service_4: Message 518 | |
| Service_2-->>Service_3: Message 137 | |
| loop Loop check | |
| Service_4-->Service_0: Message 496 | |
| end | |
| Service_0->>Service_4: Message 633 | |
| Service_1->Service_3: Message 298 | |
| Service_2->Service_0: Message 181 | |
| Service_3->>Service_0: Message 308",output/699.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n4 -> n5 | |
| n5 -> n3 | |
| n3 -> n0 | |
| n3 -> n5 | |
| n0 -> n3 | |
| n3 -> n4 | |
| n5 -> n4 | |
| n2 -> n4 | |
| }",output/689.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| *** Subitem 1.2 | |
| **** Detail 1.2.1 | |
| ** Idea 2 | |
| *** Subitem 2.0",output/56.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 12 steps.,"sequenceDiagram | |
| participant Service_1 | |
| Service_1-xService_0: Message 146 | |
| Service_0->>Service_1: Message 810 | |
| Service_0-xService_1: Message 823 | |
| Service_1-->Service_0: Message 950 | |
| Service_0-->>Service_1: Message 653 | |
| Service_1-->>Service_0: Message 331 | |
| Service_0-->>Service_1: Message 813 | |
| Service_1-xService_0: Message 755 | |
| Service_0-xService_1: Message 315 | |
| Service_1-->Service_0: Message 468 | |
| alt Condition | |
| Service_0-xService_1: Message 869 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0->Service_1: Message 610",output/487.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates | |
| Ent3 ||--|| Ent4 : relates",output/46.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n0 -> n1 | |
| n0 -> n4 | |
| n1 -> n2 | |
| n3 -> n4 | |
| n0 -> n1 | |
| n3 -> n4 | |
| }",output/497.pintora.png | |
| Create a complex sequence diagram with loops and alts,"sequenceDiagram | |
| participant Client | |
| participant Server | |
| loop Retry | |
| Client->>Server: Ping | |
| alt Success | |
| Server-->>Client: Pong | |
| else Timeout | |
| Server-->>Client: Error | |
| end | |
| end",output/1.pintora.png | |
| Design an Entity Relationship diagram. Include about 12 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 }|--|| Ent3 : relates | |
| Ent3 ||--|| Ent4 : relates | |
| Ent4 ||--o{ Ent5 : relates",output/70.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 10 elements.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1",output/60.pintora.png | |
| Write a class diagram for a repository pattern,"classDiagram | |
| class IRepository { | |
| <<interface>> | |
| +getById(id) T | |
| +getAll() List~T~ | |
| +add(entity) void | |
| +update(entity) void | |
| +delete(id) void | |
| } | |
| class UserRepository { | |
| -DbContext context | |
| +getById(id) User | |
| +getAll() List~User~ | |
| +add(user) void | |
| +findByEmail(email) User | |
| } | |
| class OrderRepository { | |
| -DbContext context | |
| +getById(id) Order | |
| +getAll() List~Order~ | |
| +findByUser(userId) List~Order~ | |
| } | |
| IRepository <|.. UserRepository | |
| IRepository <|.. OrderRepository",output/973.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 5 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 o-- Class2 | |
| Class2 <|-- Class3 | |
| Class3 o-- Class4 | |
| Class4 o-- Class5",output/192.pintora.png | |
| Write a component diagram for a message queue architecture,"componentDiagram | |
| title: Message Queue Architecture | |
| package ""Producers"" { | |
| [Order Service] | |
| [Notification Service] | |
| } | |
| package ""Message Broker"" { | |
| [RabbitMQ] | |
| () ""Exchange"" | |
| () ""Queue"" | |
| } | |
| package ""Consumers"" { | |
| [Email Worker] | |
| [SMS Worker] | |
| [Analytics Worker] | |
| } | |
| [Order Service] --> ""Exchange"" | |
| [Notification Service] --> ""Exchange"" | |
| ""Exchange"" --> ""Queue"" | |
| ""Queue"" --> [Email Worker] | |
| ""Queue"" --> [SMS Worker] | |
| ""Queue"" --> [Analytics Worker]",output/963.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 7 elements.,"sequenceDiagram | |
| autonumber | |
| P1-->P3: msg_89 | |
| P2->>P3: msg_31 | |
| P2-->>P0: msg_12 | |
| P2-->P0: msg_86 | |
| P0-->P3: msg_78 | |
| P0->>P1: msg_41 | |
| P0-->P1: msg_98",output/182.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 13 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_1 | |
| participant Service_3 | |
| @note right of Service_4: Note processing | |
| Service_4-->Service_3: Message 287 | |
| loop Loop check | |
| Service_2->Service_3: Message 308 | |
| end | |
| Service_1->Service_0: Message 450 | |
| Service_4-->>Service_0: Message 471 | |
| Service_0->Service_2: Message 913 | |
| Service_4->>Service_0: Message 814 | |
| @note right of Service_1: Note processing | |
| Service_1->>Service_0: Message 225 | |
| Service_3-->>Service_0: Message 719 | |
| Service_4-->Service_3: Message 671 | |
| Service_3-xService_1: Message 359 | |
| @note right of Service_3: Note processing | |
| Service_3->Service_1: Message 825 | |
| loop Loop check | |
| Service_1->>Service_3: Message 902 | |
| end | |
| loop Loop check | |
| Service_4->Service_0: Message 721 | |
| end",output/606.pintora.png | |
| Generate a DOT directed graph with 7 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n0 -> n2 | |
| n0 -> n2 | |
| n3 -> n6 | |
| n2 -> n4 | |
| n1 -> n6 | |
| n6 -> n4 | |
| n5 -> n3 | |
| }",output/616.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| float field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : uses | |
| TABLE_1 ||--|{ TABLE_2 : contains",output/560.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n9 [shape=""diamond"", label=""Node n9""] | |
| n10 [shape=""circle"", label=""Node n10""] | |
| n1 -> n3 | |
| n5 -> n0 | |
| n0 -> n8 | |
| n6 -> n5 | |
| n6 -> n9 | |
| n5 -> n8 | |
| n2 -> n5 | |
| n2 -> n9 | |
| n8 -> n3 | |
| n4 -> n1 | |
| n3 -> n7 | |
| }",output/418.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| :Process 1; | |
| :Process 2; | |
| :Action 3; | |
| :Process 4; | |
| :Action 5; | |
| :Process 6; | |
| :Action 7; | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| :Process 9; | |
| end",output/570.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| ** Feature 1 | |
| *** Subitem 1.0",output/408.pintora.png | |
| Map out a process flow using an activity diagram. Include about 11 elements.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| :step_9; | |
| if (check10?) then (yes) | |
| :action_yes_10; | |
| else (no) | |
| :action_no_10; | |
| endif | |
| end",output/335.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 6d | |
| ""Task 1"" : 2024-01-07, 5d | |
| ""Task 2"" : 2024-01-12, 8d | |
| ""Task 3"" : 2024-01-20, 8d | |
| ""Task 4"" : 2024-01-28, 3d | |
| ""Task 5"" : 2024-01-31, 7d",output/325.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 7 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 4d | |
| ""Task 1"" : 2024-01-05, 8d | |
| ""Task 2"" : 2024-01-13, 9d | |
| ""Task 3"" : 2024-01-22, 10d",output/357.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P1-->>P0: msg_79 | |
| P0-->>P1: msg_32 | |
| P1-->P0: msg_26 | |
| P1-->P0: msg_88 | |
| P0->>P1: msg_82",output/347.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 6 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_1 | |
| alt Condition | |
| Service_0-xService_1: Message 935 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_1->Service_0: Message 782 | |
| alt Condition | |
| Service_0-->Service_1: Message 927 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0-->Service_1: Message 850 | |
| Service_0-->Service_1: Message 481 | |
| Service_1-->>Service_0: Message 485",output/502.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| bool field_2 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : has | |
| TABLE_1 ||--|| TABLE_2 : has",output/512.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| fork | |
| :Parallel 1 8; | |
| forkagain | |
| :Parallel 2 8; | |
| endfork | |
| end",output/664.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 15 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_1 | |
| Service_1->Service_0: Message 412 | |
| alt Condition | |
| Service_0->>Service_1: Message 372 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| @note right of Service_1: Note processing | |
| Service_1-xService_0: Message 103 | |
| Service_0->Service_1: Message 141 | |
| Service_1-xService_0: Message 134 | |
| Service_0->>Service_1: Message 826 | |
| Service_0-->>Service_1: Message 246 | |
| Service_1-->>Service_0: Message 499 | |
| Service_1-->>Service_0: Message 966 | |
| Service_1-xService_0: Message 284 | |
| @note right of Service_1: Note processing | |
| Service_1-->Service_0: Message 371 | |
| alt Condition | |
| Service_0->Service_1: Message 866 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_1->>Service_0: Message 182 | |
| Service_1-xService_0: Message 177 | |
| alt Condition | |
| Service_0-->>Service_1: Message 905 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end",output/674.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n3 -> n4 | |
| n7 -> n5 | |
| n4 -> n5 | |
| n0 -> n7 | |
| n6 -> n2 | |
| n6 -> n5 | |
| n7 -> n3 | |
| n4 -> n7 | |
| n0 -> n6 | |
| n5 -> n2 | |
| n0 -> n3 | |
| n6 -> n5 | |
| }",output/149.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n2 -> n0 | |
| n0 -> n2 | |
| n0 -> n1 | |
| n1 -> n2 | |
| n2 -> n0 | |
| n1 -> n2 | |
| n1 -> n3 | |
| n1 -> n2 | |
| n0 -> n1 | |
| n0 -> n1 | |
| n0 -> n2 | |
| n1 -> n2 | |
| n1 -> n3 | |
| }",output/159.pintora.png | |
| Create a sequence diagram with colored groups and loops,"sequenceDiagram | |
| @param loopLineColor #79caf1 | |
| @param actorBackground #61afef | |
| participant Client | |
| participant Server | |
| loop #88bbf4 Retry mechanism | |
| Client->>Server: Request | |
| alt #ccdd77 Success | |
| Server-->>Client: 200 OK | |
| else #ee776f Error | |
| Server-->>Client: 500 Error | |
| end | |
| end",output/911.pintora.png | |
| Design a comprehensive Entity Relationship diagram.,"erDiagram | |
| ORDER { | |
| int order_id PK | |
| text description | |
| float email | |
| float quantity | |
| int address | |
| } | |
| SHIPMENT { | |
| int shipment_id PK | |
| datetime price | |
| bool phone | |
| bool email FK | |
| } | |
| USER { | |
| int user_id PK | |
| string email FK | |
| text email | |
| } | |
| CATEGORY { | |
| int category_id PK | |
| datetime phone | |
| int description | |
| datetime date | |
| } | |
| INVOICE { | |
| int invoice_id PK | |
| datetime phone | |
| float email | |
| datetime phone | |
| string quantity | |
| } | |
| PRODUCT { | |
| int product_id PK | |
| float price | |
| text date | |
| float phone | |
| datetime address | |
| int name | |
| } | |
| ORDER ||--o{ USER : references | |
| SHIPMENT }o--o{ PRODUCT : references | |
| USER ||--|| INVOICE : references | |
| CATEGORY ||--|{ PRODUCT : belongs to | |
| INVOICE }|..|{ PRODUCT : has",output/869.pintora.png | |
| Write a Pintora diagram: map a complex business process with activity diagram.,"activityDiagram | |
| start | |
| partition Validation { | |
| if (Condition 0?) then (yes) | |
| :Action True 0; | |
| else (no) | |
| :Action False 0; | |
| endif | |
| :Step 1; | |
| @note right: Important step 2 | |
| :Critical action 2; | |
| :Step 3; | |
| switch (Type 4?) | |
| case (A) | |
| :Handle A4; | |
| case (B) | |
| :Handle B4; | |
| endswitch | |
| :Step 5; | |
| end",output/901.pintora.png | |
| Build a detailed component architecture diagram.,"componentDiagram | |
| node ""Server Farm"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| () I0 | |
| } | |
| node ""Cluster"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| [Comp1_2] | |
| [Comp1_3] | |
| } | |
| package ""Backend"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| [Comp2_2] | |
| } | |
| database ""Persistence"" { | |
| [Comp3_0] | |
| [Comp3_1] | |
| [Comp3_2] | |
| } | |
| I0 ..|> [Comp2_0] | |
| [Comp1_0] ..|> [Comp0_1] | |
| [Comp0_0] --> [Comp2_2] | |
| [Comp2_1] ..|> [Comp2_0] | |
| I0 -- [Comp1_0] | |
| [Comp3_2] -- [Comp2_0] | |
| [Comp3_0] ..|> I0 | |
| [Comp3_2] ..|> [Comp0_1] | |
| [Comp2_1] ..> [Comp1_1] | |
| [Comp0_0] -- [Comp1_2] | |
| [Comp1_0] -- [Comp3_1] | |
| [Comp1_1] --> [Comp3_0] | |
| I0 -- [Comp0_1] | |
| [Comp3_1] -- [Comp1_1] | |
| [Comp2_0] --> [Comp1_0] | |
| [Comp3_0] ..> [Comp1_0] | |
| [Comp1_0] ..> [Comp1_2] | |
| [Comp2_2] ..|> [Comp1_1] | |
| [Comp1_3] ..> [Comp2_2]",output/879.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| :step_8; | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| if (check10?) then (yes) | |
| :action_yes_10; | |
| else (no) | |
| :action_no_10; | |
| endif | |
| end",output/296.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| ** Idea 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1 | |
| ** Feature 3 | |
| *** Subitem 3.0 | |
| *** Subitem 3.1",output/286.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 8 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n3 -> n2 | |
| n2 -> n3 | |
| n1 -> n0 | |
| n2 -> n3 | |
| n1 -> n0 | |
| n3 -> n2 | |
| n3 -> n0 | |
| n2 -> n0 | |
| }",output/12.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Process 2; | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| :Process 4; | |
| :Process 5; | |
| :Action 6; | |
| :Process 7; | |
| end",output/427.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| float field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| float field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| string field_2 | |
| bool field_3 | |
| bool field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : uses | |
| TABLE_1 ||--|{ TABLE_2 : uses | |
| TABLE_2 ||--|| TABLE_3 : has | |
| TABLE_3 }|--|| TABLE_4 : contains | |
| TABLE_4 ||--|{ TABLE_5 : has",output/437.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 14 elements.,"sequenceDiagram | |
| autonumber | |
| P1-->>P0: msg_24 | |
| P0->>P1: msg_57 | |
| P0->P1: msg_60 | |
| P0->>P1: msg_87 | |
| P0-->>P1: msg_60 | |
| P0->P1: msg_9 | |
| P1->>P0: msg_79 | |
| P1-->P0: msg_31 | |
| P1->>P0: msg_10 | |
| P0->P1: msg_75 | |
| P0-->P1: msg_70 | |
| P1->>P0: msg_17 | |
| P1->>P0: msg_52 | |
| P0->P1: msg_9",output/272.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n3 -> n1 | |
| n5 -> n2 | |
| n5 -> n0 | |
| n2 -> n4 | |
| n5 -> n4 | |
| }",output/262.pintora.png | |
| Design an Entity Relationship diagram. Include about 9 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|| Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates",output/114.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P2-->>P1: msg_1 | |
| P1-->>P3: msg_8 | |
| P0-->>P2: msg_11 | |
| P1-->>P2: msg_51 | |
| P1->>P2: msg_6 | |
| P3->>P2: msg_29 | |
| P0-->P2: msg_15 | |
| P0->>P1: msg_80 | |
| P1-->P0: msg_86 | |
| P0->P3: msg_45 | |
| P2-->P0: msg_37 | |
| P0->>P2: msg_48 | |
| P0->P2: msg_78 | |
| P1->P3: msg_35 | |
| P1->P2: msg_41",output/104.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| :Process 5; | |
| end",output/639.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 7 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_2 | |
| Service_2-->Service_0: Message 600 | |
| Service_1-xService_0: Message 290 | |
| Service_1-xService_2: Message 806 | |
| alt Condition | |
| Service_2-->Service_1: Message 686 | |
| else Other case | |
| Service_1-->>Service_2: Response | |
| end | |
| Service_0-->Service_1: Message 247 | |
| alt Condition | |
| Service_0-xService_2: Message 525 | |
| else Other case | |
| Service_2-->>Service_0: Response | |
| end | |
| @note right of Service_2: Note processing | |
| Service_2->Service_1: Message 260",output/741.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 11 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_1 | |
| participant Service_2 | |
| Service_1-xService_0: Message 478 | |
| Service_0-xService_3: Message 403 | |
| Service_1->Service_0: Message 173 | |
| Service_0-xService_2: Message 253 | |
| Service_3->Service_0: Message 576 | |
| Service_3-->>Service_4: Message 129 | |
| alt Condition | |
| Service_2->Service_4: Message 553 | |
| else Other case | |
| Service_4-->>Service_2: Response | |
| end | |
| @note right of Service_0: Note processing | |
| Service_0->Service_3: Message 806 | |
| alt Condition | |
| Service_2->Service_0: Message 867 | |
| else Other case | |
| Service_0-->>Service_2: Response | |
| end | |
| Service_2->>Service_0: Message 905 | |
| Service_0-->>Service_4: Message 415",output/629.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n10 [shape=""box"", label=""Node n10""] | |
| n11 [shape=""diamond"", label=""Node n11""] | |
| n0 -> n10 | |
| n1 -> n2 | |
| n4 -> n11 | |
| n9 -> n7 | |
| n6 -> n0 | |
| n11 -> n9 | |
| n10 -> n1 | |
| n10 -> n5 | |
| n9 -> n5 | |
| n6 -> n11 | |
| n8 -> n2 | |
| n5 -> n0 | |
| }",output/751.pintora.png | |
| Build a detailed component architecture diagram. Use advanced syntax features.,"componentDiagram | |
| title: Cloud Architecture | |
| cloud ""GCP"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| () I0 | |
| } | |
| package ""Frontend"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| [Comp1_2] | |
| [Comp1_3] | |
| () I1 | |
| } | |
| database ""Data Store"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| } | |
| [Comp1_3] ..> [Comp2_1] | |
| [Comp2_1] ..> [Comp1_2] | |
| [Comp2_0] --> [Comp1_1] | |
| [Comp0_0] -- [Comp2_0] | |
| [Comp1_2] -- [Comp2_1] | |
| [Comp1_0] ..> [Comp2_0] | |
| [Comp0_1] -- [Comp0_0] | |
| [Comp1_0] -- I1 | |
| [Comp2_0] --> I0 | |
| [Comp1_1] -- [Comp2_0] | |
| I1 ..> [Comp1_2] | |
| [Comp2_0] ..|> I1 | |
| I0 ..|> [Comp1_3] | |
| [Comp0_1] -- I0 | |
| [Comp0_1] ..|> [Comp0_0] | |
| [Comp2_0] -- [Comp1_1] | |
| [Comp0_1] ..> [Comp1_1]",output/834.pintora.png | |
| Map a complex business process with activity diagram.,"activityDiagram | |
| start | |
| if (Condition 0?) then (yes) | |
| :Action True 0; | |
| else (no) | |
| :Action False 0; | |
| endif | |
| fork | |
| :Parallel Task A1; | |
| forkagain | |
| :Parallel Task B1; | |
| endfork | |
| if (Condition 2?) then (yes) | |
| :Action True 2; | |
| else (no) | |
| :Action False 2; | |
| endif | |
| :Step 3; | |
| if (Condition 4?) then (yes) | |
| :Action True 4; | |
| else (no) | |
| :Action False 4; | |
| endif | |
| :Step 5; | |
| while (Check 6?) is (yes) | |
| :Process 6; | |
| endwhile (done) | |
| :Step 7; | |
| :Step 8; | |
| :Step 9; | |
| @note right: Important step 10 | |
| :Critical action 10; | |
| } | |
| end",output/824.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""circle"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n6 -> n7 | |
| n5 -> n7 | |
| n3 -> n9 | |
| n1 -> n4 | |
| n9 -> n8 | |
| n6 -> n9 | |
| n0 -> n5 | |
| n3 -> n9 | |
| n1 -> n8 | |
| n7 -> n3 | |
| n9 -> n5 | |
| n9 -> n3 | |
| }",output/680.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""circle"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n10 [shape=""box"", label=""Node n10""] | |
| n11 [shape=""ellipse"", label=""Node n11""] | |
| n9 -> n7 | |
| n0 -> n1 | |
| n9 -> n11 | |
| n11 -> n10 | |
| n1 -> n10 | |
| n2 -> n4 | |
| n8 -> n6 | |
| n10 -> n1 | |
| n6 -> n10 | |
| n1 -> n11 | |
| n9 -> n5 | |
| n2 -> n4 | |
| }",output/690.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n6 -> n5 | |
| n3 -> n6 | |
| n3 -> n1 | |
| n3 -> n6 | |
| n0 -> n3 | |
| n3 -> n7 | |
| n4 -> n1 | |
| n8 -> n1 | |
| n6 -> n5 | |
| n2 -> n0 | |
| }",output/584.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 11 steps.,"sequenceDiagram | |
| participant Service_2 | |
| participant Service_3 | |
| Service_3->Service_4: Message 351 | |
| Service_1->>Service_4: Message 943 | |
| alt Condition | |
| Service_2->>Service_0: Message 322 | |
| else Other case | |
| Service_0-->>Service_2: Response | |
| end | |
| @note right of Service_0: Note processing | |
| Service_0-->Service_3: Message 400 | |
| Service_2->>Service_1: Message 979 | |
| Service_2-->>Service_1: Message 230 | |
| Service_4->>Service_2: Message 713 | |
| alt Condition | |
| Service_1->>Service_4: Message 603 | |
| else Other case | |
| Service_4-->>Service_1: Response | |
| end | |
| alt Condition | |
| Service_3-->Service_2: Message 370 | |
| else Other case | |
| Service_2-->>Service_3: Response | |
| end | |
| loop Loop check | |
| Service_4-->>Service_0: Message 370 | |
| end | |
| loop Loop check | |
| Service_3->Service_0: Message 454 | |
| end",output/594.pintora.png | |
| Build a detailed component architecture diagram.,"componentDiagram | |
| title: Microservices | |
| package ""Services"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| } | |
| package ""Services"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| [Comp1_2] | |
| [Comp1_3] | |
| } | |
| [Comp1_0] --> [Comp1_2] | |
| [Comp1_1] -- [Comp1_0] | |
| [Comp0_1] --> [Comp0_0] | |
| [Comp1_2] --> [Comp1_0] | |
| [Comp0_1] --> [Comp1_1] | |
| [Comp1_2] ..|> [Comp1_0] | |
| [Comp1_0] --> [Comp1_2]",output/856.pintora.png | |
| Create an advanced sequence diagram with complex interactions. Use advanced syntax features.,"sequenceDiagram | |
| title: API Interaction | |
| autonumber | |
| participant [<actor> ServiceA] | |
| participant [<database> ServiceB] | |
| participant [<node> ServiceE] | |
| participant [<actor> ServiceF] | |
| ServiceB->>ServiceF: Validate | |
| par Parallel processing | |
| ServiceB-->>ServiceA: Task A | |
| and | |
| ServiceB-->>ServiceB: Task B | |
| end | |
| ServiceD-->ServiceA: Validate | |
| alt Valid | |
| ServiceD->>ServiceA: Query 3 | |
| ServiceA-->>ServiceD: OK | |
| else Error | |
| ServiceA-->>ServiceD: Error code | |
| end | |
| alt Valid | |
| ServiceB-xServiceF: Query 4 | |
| ServiceF-->>ServiceB: OK | |
| else Error | |
| ServiceF-->>ServiceB: Error code | |
| end | |
| par Parallel processing | |
| ServiceA-->ServiceA: Task A | |
| and | |
| ServiceA-->ServiceB: Task B | |
| end | |
| loop Batch process | |
| ServiceC-xServiceD: Validate | |
| ServiceD-->>ServiceC: Response | |
| end | |
| alt Authenticated | |
| ServiceE-xServiceB: Query 7 | |
| ServiceB-->>ServiceE: OK | |
| else Error | |
| ServiceB-->>ServiceE: Error code | |
| end | |
| ServiceD->ServiceB: Process event",output/846.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 13 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| participant Service_2 | |
| loop Loop check | |
| Service_2-->>Service_0: Message 104 | |
| end | |
| Service_1-->>Service_0: Message 590 | |
| Service_0-->>Service_1: Message 867 | |
| Service_0-xService_2: Message 505 | |
| Service_2-xService_0: Message 943 | |
| loop Loop check | |
| Service_0->Service_2: Message 544 | |
| end | |
| alt Condition | |
| Service_1-->Service_2: Message 844 | |
| else Other case | |
| Service_2-->>Service_1: Response | |
| end | |
| Service_1-->Service_2: Message 319 | |
| Service_2-->>Service_0: Message 927 | |
| Service_1->Service_0: Message 167 | |
| Service_0->Service_2: Message 244 | |
| alt Condition | |
| Service_1-->Service_0: Message 901 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_2->Service_1: Message 814",output/723.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| fork | |
| :Parallel 1 1; | |
| forkagain | |
| :Parallel 2 1; | |
| endfork | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Action 3; | |
| :Process 4; | |
| end",output/733.pintora.png | |
| Create an activity diagram for batch processing,"activityDiagram | |
| title: Batch Processing Job | |
| start | |
| :Load configuration; | |
| :Connect to data source; | |
| while (Has more batches?) is (yes) | |
| :Read batch of records; | |
| fork | |
| :Transform records; | |
| forkagain | |
| :Validate records; | |
| endfork | |
| if (Validation passed?) then (yes) | |
| :Write to destination; | |
| :Update progress; | |
| else (no) | |
| :Log errors; | |
| :Move to error queue; | |
| endif | |
| endwhile (no more) | |
| :Generate report; | |
| :Send notification; | |
| end",output/997.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 8 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 3d | |
| ""Task 1"" : 2024-01-04, 8d | |
| ""Task 2"" : 2024-01-12, 7d | |
| ""Task 3"" : 2024-01-19, 5d",output/176.pintora.png | |
| Create a sequence diagram with optional fragment,"sequenceDiagram | |
| participant User | |
| participant API | |
| participant Cache | |
| participant DB | |
| User->>API: Request data | |
| API->>Cache: Check cache | |
| opt Cache hit | |
| Cache-->>API: Cached data | |
| API-->>User: Return cached | |
| end | |
| API->>DB: Query database | |
| DB-->>API: Fresh data | |
| API->>Cache: Update cache | |
| API-->>User: Return data",output/987.pintora.png | |
| Map out a process flow using an activity diagram. Include about 9 elements.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| :step_1; | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| :step_8; | |
| end",output/166.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 10 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 o-- Class2 | |
| Class2 o-- Class3 | |
| Class3 --> Class4",output/368.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| :step_8; | |
| :step_9; | |
| :step_10; | |
| end",output/210.pintora.png | |
| Map out a process flow using an activity diagram. Include about 10 elements.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| :step_9; | |
| end",output/378.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 o-- Class2 | |
| Class2 *-- Class3 | |
| Class3 --> Class4 | |
| Class4 --> Class5",output/200.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 5 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 5d | |
| ""Task 2"" : 2024-01-15, 9d",output/94.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n3 -> n5 | |
| n2 -> n4 | |
| n0 -> n1 | |
| n5 -> n3 | |
| n4 -> n2 | |
| n3 -> n0 | |
| n0 -> n4 | |
| }",output/445.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 5 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 10d | |
| ""Task 1"" : 2024-01-11, 3d | |
| ""Task 2"" : 2024-01-14, 8d | |
| ""Task 3"" : 2024-01-22, 10d | |
| ""Task 4"" : 2024-02-01, 2d | |
| ""Task 5"" : 2024-02-03, 5d",output/84.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 11 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_1 | |
| Service_1-->>Service_0: Message 607 | |
| alt Condition | |
| Service_0-xService_1: Message 290 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0->>Service_1: Message 665 | |
| Service_1->>Service_0: Message 360 | |
| Service_0-xService_1: Message 875 | |
| loop Loop check | |
| Service_0->Service_1: Message 360 | |
| end | |
| Service_0-->>Service_1: Message 701 | |
| loop Loop check | |
| Service_1->Service_0: Message 904 | |
| end | |
| Service_0-->>Service_1: Message 152 | |
| Service_1->Service_0: Message 725 | |
| Service_1->>Service_0: Message 751",output/455.pintora.png | |
| Schedule a project timeline with Gantt chart. Include nested structures.,"gantt | |
| title Marketing Campaign | |
| dateFormat YYYY-MM-DD | |
| section Marketing | |
| ""Task Mar1"" : 2024-06-01, 12d | |
| ""Task Mar2"" : 2024-06-13, 4d | |
| ""Task Mar3"" : 2024-06-17, 5d | |
| ""Task Mar4"" : 2024-06-22, 13d | |
| section Planning | |
| ""Task Pla1"" : 2024-07-05, 13d | |
| ""Task Pla2"" : 2024-07-18, 8d | |
| ""Task Pla3"" : 2024-07-26, 10d",output/898.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 13 elements.,"sequenceDiagram | |
| autonumber | |
| P3->P0: msg_12 | |
| P1-->>P3: msg_84 | |
| P3-->>P0: msg_24 | |
| P3->P4: msg_45 | |
| P0-->>P1: msg_18 | |
| P2-->>P4: msg_52 | |
| P1-->>P3: msg_67 | |
| P2-->P4: msg_80 | |
| P2-->>P4: msg_63 | |
| P2->>P1: msg_35 | |
| P3-->>P2: msg_57 | |
| P1-->>P0: msg_23 | |
| P2-->>P3: msg_49",output/101.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n1 -> n3 | |
| n1 -> n4 | |
| n2 -> n1 | |
| n2 -> n3 | |
| n2 -> n4 | |
| n2 -> n0 | |
| n1 -> n0 | |
| n1 -> n2 | |
| n1 -> n0 | |
| n4 -> n2 | |
| }",output/111.pintora.png | |
| Model an object-oriented system with class diagram. Use advanced syntax features.,"classDiagram | |
| title: Singleton Pattern | |
| class FactoryA { | |
| -List~T~ attr0 | |
| ~boolean attr1 | |
| -method0() boolean | |
| #method1() string | |
| -method2() string | |
| } | |
| class ManagerB { | |
| ~boolean attr0 | |
| #List~T~ attr1 | |
| ~method0() string | |
| -method1() boolean | |
| #method2() string | |
| } | |
| class RepositoryC { | |
| <<enumeration>> | |
| -List~T~ attr0 | |
| #List~T~ attr1 | |
| ~string attr2 | |
| +method0() void | |
| } | |
| class ObserverD { | |
| <<enumeration>> | |
| +boolean attr0 | |
| -method0() void | |
| #method1() string | |
| -{static} method2() boolean | |
| } | |
| class HandlerE { | |
| <<enumeration>> | |
| ~List~T~ attr0 | |
| -boolean attr1 | |
| #List~T~ attr2 | |
| ~method0() T | |
| ~method1() string | |
| +{static} method2() void | |
| } | |
| class HandlerF { | |
| +boolean attr0 | |
| +boolean attr1 | |
| -method0() void | |
| -{static} method1() string | |
| } | |
| class RepositoryG { | |
| +int attr0 | |
| #int attr1 | |
| -int attr2 | |
| #string attr3 | |
| +method0() string | |
| -method1() string | |
| #{static} method2() boolean | |
| } | |
| FactoryA o-- HandlerF | |
| ManagerB *-- RepositoryC | |
| RepositoryC --> RepositoryG | |
| ObserverD <|-- HandlerE | |
| HandlerE <|.. HandlerF | |
| HandlerF <|.. RepositoryG",output/888.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| end",output/754.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Process 6; | |
| :Action 7; | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| if (Check 9?) then (yes) | |
| :Handle Yes 9; | |
| else (no) | |
| :Handle No 9; | |
| endif | |
| end",output/744.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_1 | |
| Service_1->Service_0: Message 868 | |
| Service_0->>Service_1: Message 515 | |
| Service_1->Service_0: Message 714 | |
| Service_0-->Service_1: Message 694 | |
| Service_1->>Service_0: Message 426 | |
| loop Loop check | |
| Service_0->Service_1: Message 315 | |
| end | |
| Service_1-->Service_0: Message 378 | |
| Service_1->>Service_0: Message 711 | |
| Service_1->>Service_0: Message 324 | |
| Service_0->Service_1: Message 770",output/432.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| datetime field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| float field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| int field_2 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| bool field_2 | |
| int field_3 | |
| string field_4 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--o{ TABLE_2 : owns | |
| TABLE_2 }|--|| TABLE_3 : has | |
| TABLE_3 ||--|{ TABLE_4 : manages | |
| TABLE_4 }|--|| TABLE_5 : uses | |
| TABLE_5 ||--|| TABLE_6 : uses",output/422.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 14 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| *** Subitem 1.2 | |
| ** Idea 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1",output/267.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1",output/277.pintora.png | |
| Create a sequence diagram for OAuth2 authorization flow,"sequenceDiagram | |
| title: OAuth2 Authorization Code Flow | |
| participant User | |
| participant App | |
| participant AuthServer | |
| participant ResourceServer | |
| User->>App: Click login | |
| App->>AuthServer: Redirect to authorize | |
| AuthServer->>User: Show login form | |
| User->>AuthServer: Enter credentials | |
| AuthServer->>App: Authorization code | |
| App->>AuthServer: Exchange code for token | |
| AuthServer-->>App: Access token + Refresh token | |
| App->>ResourceServer: Request with token | |
| ResourceServer-->>App: Protected resource | |
| App-->>User: Show data",output/959.pintora.png | |
| Design an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| participant [<database> ServiceD] | |
| ServiceD->ServiceA: Process event | |
| ServiceB->>ServiceC: Fetch data | |
| loop Poll | |
| ServiceC-->>ServiceB: Update 2 | |
| ServiceB-->>ServiceC: Response | |
| end | |
| ServiceD->ServiceC: Validate | |
| ServiceA-xServiceB: Query 4 | |
| ServiceB-xServiceA: Update 5 | |
| ServiceC-xServiceB: Process event | |
| loop Batch process | |
| ServiceB->ServiceC: Update 7 | |
| ServiceC-->>ServiceB: Response | |
| end | |
| @note right of ServiceC: Validating | |
| ServiceC-xServiceA: Request 8 | |
| ServiceC-xServiceA: Process event | |
| ServiceA-xServiceC: Request 10 | |
| activate ServiceB | |
| ServiceA->>ServiceB: Query 11 | |
| deactivate ServiceB | |
| loop Retry | |
| ServiceB->ServiceC: Query 12 | |
| ServiceC-->>ServiceB: Response | |
| end",output/821.pintora.png | |
| Write a class diagram with cardinality labels,"classDiagram | |
| class Company { | |
| +string name | |
| +string address | |
| } | |
| class Department { | |
| +string name | |
| +int budget | |
| } | |
| class Employee { | |
| +string name | |
| +string title | |
| } | |
| Company ""1"" *-- ""many"" Department : has | |
| Department ""1"" *-- ""1..*"" Employee : employs | |
| Employee ""many"" --> ""1"" Department : works in",output/949.pintora.png | |
| Visualize a complex graph with DOT diagram.,"dotDiagram | |
| graph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""plaintext"", bgcolor=""#e3f2fd""] | |
| subgraph cluster_0 { | |
| label=""Group A"" | |
| a0 [label=""Node a0""] | |
| a1 [label=""Node a1""] | |
| a2 [label=""Node a2""] | |
| } | |
| subgraph cluster_1 { | |
| label=""Group B"" | |
| b0 [label=""Node b0""] | |
| b1 [label=""Node b1""] | |
| b2 [label=""Node b2""] | |
| b3 [label=""Node b3""] | |
| } | |
| b2 -- a1 | |
| b2 -- b0 | |
| b1 -- a2 | |
| a2 -- b0 | |
| b0 -- b3 [color=""purple""] | |
| a0 -- a1 | |
| b2 -- b1 | |
| a0 -- b1 | |
| b3 -- a0 | |
| a2 -- b3 | |
| a0 -- b0 | |
| b0 -- a1 | |
| b0 -- b2 | |
| }",output/831.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n0 -> n3 | |
| n1 -> n3 | |
| n3 -> n0 | |
| n4 -> n3 | |
| n1 -> n3 | |
| n3 -> n0 | |
| }",output/695.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n0 -> n7 | |
| n2 -> n0 | |
| n6 -> n0 | |
| n3 -> n5 | |
| n2 -> n3 | |
| n5 -> n6 | |
| n6 -> n2 | |
| n7 -> n5 | |
| }",output/685.pintora.png | |
| Design a detailed hierarchical mind map.,"mindmap | |
| * Product Strategy | |
| ** Topic A | |
| *** Subtopic A.1 | |
| **** Detail A.1.1 | |
| **** Detail A.1.2 | |
| *** Subtopic A.2 | |
| *** Subtopic A.3 | |
| *** Subtopic A.4 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| *** Subtopic B.2 | |
| *** Subtopic B.3 | |
| *** Subtopic B.4 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| **** Detail C.1.1 | |
| *** Subtopic C.2 | |
| **** Detail C.2.1 | |
| *** Subtopic C.3 | |
| **** Detail C.3.1 | |
| ** Topic D | |
| *** Subtopic D.1 | |
| **** Detail D.1.1 | |
| **** Detail D.1.2 | |
| **** Detail D.1.3 | |
| *** Subtopic D.2 | |
| **** Detail D.2.1 | |
| *** Subtopic D.3 | |
| **** Detail D.3.1 | |
| *** Subtopic D.4 | |
| ** Topic E | |
| *** Subtopic E.1 | |
| *** Subtopic E.2 | |
| **** Detail E.2.1",output/843.pintora.png | |
| Map a complex business process with activity diagram. Use advanced syntax features.,"activityDiagram | |
| start | |
| :Step 0; | |
| @note right: Important step 1 | |
| :Critical action 1; | |
| fork | |
| :Parallel Task A2; | |
| forkagain | |
| :Parallel Task B2; | |
| endfork | |
| fork | |
| :Parallel Task A3; | |
| forkagain | |
| :Parallel Task B3; | |
| endfork | |
| @note right: Important step 4 | |
| :Critical action 4; | |
| :Step 5; | |
| while (Check 6?) is (yes) | |
| :Process 6; | |
| endwhile (done) | |
| :Step 7; | |
| fork | |
| :Parallel Task A8; | |
| forkagain | |
| :Parallel Task B8; | |
| endfork | |
| switch (Type 9?) | |
| case (A) | |
| :Handle A9; | |
| case (B) | |
| :Handle B9; | |
| endswitch | |
| while (Check 10?) is (yes) | |
| :Process 10; | |
| endwhile (done) | |
| end",output/853.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Action 2; | |
| :Process 3; | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Action 6; | |
| end",output/591.pintora.png | |
| Design an Entity Relationship diagram. Include about 13 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|{ Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates",output/38.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| ** Idea 1 | |
| *** Subitem 1.0",output/28.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| :Process 3; | |
| :Process 4; | |
| end",output/581.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 15 elements.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| ** Task 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1",output/205.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 12 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| ** Idea 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1",output/215.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 8 elements.,"sequenceDiagram | |
| autonumber | |
| P1-->>P2: msg_92 | |
| P0-->>P1: msg_42 | |
| P1->P2: msg_51 | |
| P2->P0: msg_3 | |
| P1-->>P2: msg_1 | |
| P2->>P0: msg_62 | |
| P0-->>P2: msg_37 | |
| P2->P0: msg_5",output/81.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n9 -> n1 | |
| n1 -> n9 | |
| n6 -> n3 | |
| n3 -> n8 | |
| n1 -> n6 | |
| n2 -> n8 | |
| n4 -> n1 | |
| n7 -> n4 | |
| n3 -> n9 | |
| n6 -> n2 | |
| }",output/528.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| fork | |
| :Parallel 1 5; | |
| forkagain | |
| :Parallel 2 5; | |
| endfork | |
| :Process 6; | |
| :Action 7; | |
| end",output/450.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Action 5; | |
| end",output/538.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P4-->>P1: msg_42 | |
| P2->>P4: msg_54 | |
| P2-->>P1: msg_98 | |
| P3-->>P4: msg_79 | |
| P4->P3: msg_11 | |
| P4->>P3: msg_54 | |
| P4-->>P3: msg_60 | |
| P4->>P2: msg_19",output/91.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| float field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| float field_2 | |
| int field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| int field_2 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--|| TABLE_2 : uses",output/440.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| datetime field_2 | |
| float field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| datetime field_2 | |
| float field_3 | |
| datetime field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| float field_2 | |
| datetime field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| float field_2 | |
| int field_3 | |
| string field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| string field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| string field_2 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| float field_2 | |
| int field_3 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : contains | |
| TABLE_1 ||--o{ TABLE_2 : uses | |
| TABLE_2 ||--|{ TABLE_3 : owns | |
| TABLE_3 ||--o{ TABLE_4 : manages | |
| TABLE_4 ||--|| TABLE_5 : contains | |
| TABLE_5 ||--|| TABLE_6 : owns | |
| TABLE_6 ||--|{ TABLE_7 : manages",output/736.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 15 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_2 | |
| @note right of Service_1: Note processing | |
| Service_1-->Service_0: Message 325 | |
| Service_2-xService_1: Message 346 | |
| @note right of Service_0: Note processing | |
| Service_0-->>Service_1: Message 426 | |
| Service_1->Service_0: Message 564 | |
| Service_0-->>Service_2: Message 730 | |
| loop Loop check | |
| Service_0-->>Service_2: Message 144 | |
| end | |
| @note right of Service_1: Note processing | |
| Service_1->Service_2: Message 174 | |
| loop Loop check | |
| Service_0->Service_2: Message 434 | |
| end | |
| alt Condition | |
| Service_0-xService_2: Message 904 | |
| else Other case | |
| Service_2-->>Service_0: Response | |
| end | |
| Service_1->>Service_2: Message 652 | |
| Service_0->>Service_2: Message 454 | |
| Service_1-xService_0: Message 163 | |
| Service_0-xService_2: Message 405 | |
| Service_0-xService_1: Message 109 | |
| Service_0-->Service_1: Message 473",output/726.pintora.png | |
| Write an activity diagram with nested conditions,"activityDiagram | |
| start | |
| :Get user input; | |
| if (Input valid?) then (yes) | |
| if (User authenticated?) then (yes) | |
| if (Has permission?) then (yes) | |
| :Execute action; | |
| else (no) | |
| :Show permission denied; | |
| endif | |
| else (no) | |
| :Redirect to login; | |
| endif | |
| else (no) | |
| :Show validation error; | |
| endif | |
| end",output/982.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 5 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 o-- Class2 | |
| Class2 --> Class3 | |
| Class3 --> Class4",output/163.pintora.png | |
| Write a mind map for DevOps practices,"mindmap | |
| @param layoutDirection TB | |
| * DevOps | |
| ** Culture | |
| *** Collaboration | |
| *** Continuous Improvement | |
| *** Shared Responsibility | |
| ** Practices | |
| *** CI/CD | |
| *** Infrastructure as Code | |
| *** Monitoring | |
| ** Tools | |
| *** Jenkins | |
| *** Docker | |
| *** Kubernetes | |
| *** Terraform",output/992.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 9 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 --> Class2 | |
| Class2 o-- Class3 | |
| Class3 --> Class4 | |
| Class4 o-- Class5",output/173.pintora.png | |
| Create a mind map for learning a programming language,"mindmap | |
| + Python Learning Path | |
| ++ Basics | |
| +++ Variables | |
| +++ Data Types | |
| +++ Control Flow | |
| +++ Functions | |
| ++ Intermediate | |
| +++ OOP | |
| +++ File I/O | |
| +++ Error Handling | |
| +++ Modules | |
| -- Advanced | |
| --- Decorators | |
| --- Generators | |
| --- Async/Await | |
| --- Metaclasses | |
| -- Libraries | |
| --- NumPy | |
| --- Pandas | |
| --- Django | |
| --- FastAPI",output/966.pintora.png | |
| Map out a process flow using an activity diagram. Include about 12 elements.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| :step_9; | |
| :step_10; | |
| :step_11; | |
| end",output/187.pintora.png | |
| Create a component diagram for a serverless architecture,"componentDiagram | |
| title: Serverless Architecture | |
| cloud ""AWS"" { | |
| rectangle ""API Layer"" { | |
| [API Gateway] | |
| } | |
| rectangle ""Compute"" { | |
| [Lambda - Auth] | |
| [Lambda - Users] | |
| [Lambda - Orders] | |
| } | |
| database ""Storage"" { | |
| [DynamoDB] | |
| [S3] | |
| } | |
| rectangle ""Events"" { | |
| [SNS] | |
| [SQS] | |
| } | |
| } | |
| [API Gateway] --> [Lambda - Auth] | |
| [API Gateway] --> [Lambda - Users] | |
| [API Gateway] --> [Lambda - Orders] | |
| [Lambda - Users] --> [DynamoDB] | |
| [Lambda - Orders] --> [DynamoDB] | |
| [Lambda - Orders] --> [SNS] | |
| [SNS] --> [SQS] | |
| [Lambda - Orders] --> [S3]",output/976.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 *-- Class2 | |
| Class2 <|-- Class3",output/197.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n4 -> n2 | |
| n5 -> n1 | |
| n4 -> n3 | |
| n2 -> n0 | |
| n0 -> n1 | |
| }",output/65.pintora.png | |
| Write a class diagram with inheritance,"classDiagram | |
| class Animal | |
| class Dog | |
| class Cat | |
| Animal <|-- Dog | |
| Animal <|-- Cat",output/4.pintora.png | |
| Draft a component diagram for system architecture.,"componentDiagram | |
| package ""System"" { | |
| [Comp0] | |
| [Comp1] | |
| [Comp2] | |
| [Comp3] | |
| [Comp4] | |
| [Comp5] | |
| [Comp6] | |
| [Comp7] | |
| } | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3] | |
| [Comp3] --> [Comp4] | |
| [Comp4] --> [Comp5] | |
| [Comp5] --> [Comp6] | |
| [Comp6] --> [Comp7]",output/75.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 9 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n1 -> n2 | |
| n5 -> n3 | |
| n5 -> n3 | |
| n1 -> n3 | |
| n1 -> n0 | |
| n5 -> n6 | |
| n2 -> n4 | |
| n3 -> n4 | |
| n6 -> n3 | |
| }",output/399.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 10 elements.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| ** Feature 3 | |
| *** Subitem 3.0 | |
| *** Subitem 3.1 | |
| **** Detail 3.1.1 | |
| *** Subitem 3.2",output/389.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| bool field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| int field_2 | |
| bool field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : contains | |
| TABLE_1 }|--|| TABLE_2 : uses",output/575.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n10 [shape=""ellipse"", label=""Node n10""] | |
| n11 [shape=""ellipse"", label=""Node n11""] | |
| n11 -> n9 | |
| n10 -> n6 | |
| n5 -> n10 | |
| n8 -> n11 | |
| n4 -> n8 | |
| n6 -> n9 | |
| n1 -> n4 | |
| n6 -> n2 | |
| n11 -> n6 | |
| n3 -> n0 | |
| n3 -> n9 | |
| n6 -> n2 | |
| n8 -> n5 | |
| n5 -> n0 | |
| }",output/565.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 6d | |
| ""Task 1"" : 2024-01-07, 2d | |
| ""Task 2"" : 2024-01-09, 4d",output/320.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 12 elements.,"sequenceDiagram | |
| autonumber | |
| P1->P0: msg_45 | |
| P0->P1: msg_38 | |
| P0-->P1: msg_17 | |
| P1-->P0: msg_21 | |
| P1-->P0: msg_35 | |
| P0-->>P1: msg_32 | |
| P1-->P0: msg_40 | |
| P1-->>P0: msg_1 | |
| P1->>P0: msg_4 | |
| P1->>P0: msg_14 | |
| P0->P1: msg_89 | |
| P0-->P1: msg_73",output/258.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P0-->>P1: msg_39 | |
| P1-->>P0: msg_82 | |
| P1-->>P0: msg_58 | |
| P1->P0: msg_43 | |
| P0->>P1: msg_100 | |
| P1-->>P0: msg_17",output/330.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 12 elements.,"sequenceDiagram | |
| autonumber | |
| P1-->>P0: msg_89 | |
| P4->P1: msg_1 | |
| P1->P4: msg_58 | |
| P4->P2: msg_69 | |
| P1-->P4: msg_27 | |
| P1-->P3: msg_88 | |
| P2-->>P1: msg_29 | |
| P2->>P1: msg_57 | |
| P1->P2: msg_92 | |
| P3-->P4: msg_43 | |
| P0->P2: msg_54 | |
| P0->P1: msg_24",output/248.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Action 5; | |
| end",output/613.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 15 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| Service_1-xService_0: Message 201 | |
| loop Loop check | |
| Service_0-xService_1: Message 926 | |
| end | |
| Service_1->Service_0: Message 509 | |
| Service_1-->Service_0: Message 828 | |
| Service_1-->>Service_0: Message 608 | |
| Service_0-xService_1: Message 896 | |
| Service_0-xService_1: Message 483 | |
| Service_0->Service_1: Message 739 | |
| @note right of Service_0: Note processing | |
| Service_0-xService_1: Message 767 | |
| Service_1-->Service_0: Message 468 | |
| Service_1->>Service_0: Message 471 | |
| Service_0->>Service_1: Message 719 | |
| Service_1->Service_0: Message 296 | |
| @note right of Service_1: Note processing | |
| Service_1-xService_0: Message 758 | |
| loop Loop check | |
| Service_0-xService_1: Message 283 | |
| end",output/603.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 6 steps.,"sequenceDiagram | |
| participant Service_1 | |
| Service_4->Service_1: Message 768 | |
| alt Condition | |
| Service_0-->Service_3: Message 643 | |
| else Other case | |
| Service_3-->>Service_0: Response | |
| end | |
| alt Condition | |
| Service_2->Service_4: Message 772 | |
| else Other case | |
| Service_4-->>Service_2: Response | |
| end | |
| Service_3-->Service_1: Message 807 | |
| loop Loop check | |
| Service_0->Service_2: Message 826 | |
| end | |
| Service_3->>Service_2: Message 788",output/671.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 13 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_2 | |
| participant Service_3 | |
| participant Service_4 | |
| Service_3-->Service_4: Message 723 | |
| @note right of Service_3: Note processing | |
| Service_3-->>Service_2: Message 591 | |
| @note right of Service_4: Note processing | |
| Service_4->>Service_1: Message 117 | |
| Service_2->>Service_4: Message 838 | |
| Service_1-xService_3: Message 253 | |
| Service_2-->Service_1: Message 744 | |
| Service_1-->>Service_3: Message 498 | |
| alt Condition | |
| Service_4-->Service_0: Message 631 | |
| else Other case | |
| Service_0-->>Service_4: Response | |
| end | |
| @note right of Service_0: Note processing | |
| Service_0->>Service_4: Message 135 | |
| Service_2-xService_1: Message 352 | |
| Service_2-xService_1: Message 168 | |
| alt Condition | |
| Service_1-->>Service_0: Message 773 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_2-xService_4: Message 876",output/709.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n1 -> n0 | |
| n8 -> n6 | |
| n2 -> n1 | |
| n1 -> n4 | |
| n8 -> n2 | |
| n3 -> n6 | |
| n1 -> n7 | |
| n8 -> n0 | |
| }",output/661.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| bool field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| string field_2 | |
| string field_3 | |
| bool field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| string field_2 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| bool field_2 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : owns | |
| TABLE_1 ||--o{ TABLE_2 : uses | |
| TABLE_2 ||--|{ TABLE_3 : has | |
| TABLE_3 }|--|| TABLE_4 : manages",output/719.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 5 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 5d | |
| ""Task 1"" : 2024-01-06, 5d | |
| ""Task 2"" : 2024-01-11, 2d | |
| ""Task 3"" : 2024-01-13, 8d | |
| ""Task 4"" : 2024-01-21, 2d | |
| ""Task 5"" : 2024-01-23, 9d",output/342.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 14 elements.,"sequenceDiagram | |
| autonumber | |
| P1->P0: msg_25 | |
| P1-->P0: msg_68 | |
| P1->P0: msg_36 | |
| P0-->P1: msg_86 | |
| P0->>P1: msg_33 | |
| P0->P1: msg_96 | |
| P1->>P0: msg_70 | |
| P0-->P1: msg_89 | |
| P1->>P0: msg_76 | |
| P0-->P1: msg_43 | |
| P1->>P0: msg_35 | |
| P0->>P1: msg_75 | |
| P0-->P1: msg_75 | |
| P0-->P1: msg_31",output/352.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| bool field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| bool field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| bool field_2 | |
| bool field_3 | |
| string field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| string field_2 | |
| datetime field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| datetime field_2 | |
| bool field_3 | |
| int field_4 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| string field_2 | |
| datetime field_3 | |
| string field_4 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : contains | |
| TABLE_1 ||--o{ TABLE_2 : has | |
| TABLE_2 ||--o{ TABLE_3 : uses | |
| TABLE_3 ||--|| TABLE_4 : contains | |
| TABLE_4 }|--|| TABLE_5 : owns",output/517.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 8 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_1 | |
| participant Service_2 | |
| Service_1-xService_2: Message 564 | |
| Service_2-->Service_0: Message 535 | |
| @note right of Service_2: Note processing | |
| Service_2-->Service_1: Message 451 | |
| Service_1-xService_0: Message 225 | |
| Service_1-->>Service_0: Message 739 | |
| Service_1->Service_0: Message 917 | |
| alt Condition | |
| Service_1-->Service_0: Message 597 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_0-->>Service_1: Message 784",output/507.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 8 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 6d | |
| ""Task 1"" : 2024-01-07, 4d | |
| ""Task 2"" : 2024-01-11, 3d | |
| ""Task 3"" : 2024-01-14, 6d | |
| ""Task 4"" : 2024-01-20, 5d | |
| ""Task 5"" : 2024-01-25, 8d",output/283.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--o{ Ent2 : relates | |
| Ent2 }|--|| Ent3 : relates",output/293.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1",output/17.pintora.png | |
| Schedule a project timeline with Gantt chart.,"gantt | |
| title Product Launch | |
| dateFormat YYYY-MM-DD | |
| section Testing | |
| ""Task Tes1"" : 2024-05-01, 18d | |
| ""Task Tes2"" : 2024-05-19, 21d | |
| ""Task Tes3"" : 2024-06-09, 21d | |
| ""Task Tes4"" : 2024-06-30, 15d | |
| ""Task Tes5"" : 2024-07-15, 15d | |
| section Operations | |
| ""Task Ope1"" : 2024-07-30, 21d | |
| ""Task Ope2"" : 2024-08-20, 19d | |
| ""Milestone"" : milestone, 2024-09-09, 0d | |
| ""Task Ope3"" : 2024-09-08, 17d | |
| section Development | |
| ""Task Dev1"" : 2024-09-25, 15d | |
| ""Task Dev2"" : 2024-10-10, 10d | |
| ""Task Dev3"" : 2024-10-20, 6d | |
| section Marketing | |
| ""Task Mar1"" : 2024-10-26, 16d | |
| ""Task Mar2"" : 2024-11-11, 5d | |
| ""Task Mar3"" : 2024-11-16, 9d | |
| ""Milestone"" : milestone, 2024-12-02, 0d | |
| ""Task Mar4"" : 2024-11-25, 13d",output/904.pintora.png | |
| Write a sequence diagram with multiline message text,"sequenceDiagram | |
| Alice->>Bob: Hello!\nHow are you doing today? | |
| Bob-->>Alice: I'm fine,\nthanks for asking! | |
| Alice->>Bob: Great to hear!\nLet's meet later.",output/914.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| :Process 6; | |
| :Process 7; | |
| end",output/796.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| bool field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| string field_2 | |
| float field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| float field_2 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| float field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| int field_2 | |
| string field_3 | |
| float field_4 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| float field_2 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| bool field_2 | |
| bool field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--|| TABLE_2 : has | |
| TABLE_2 ||--o{ TABLE_3 : uses | |
| TABLE_3 }|--|| TABLE_4 : owns | |
| TABLE_4 ||--|{ TABLE_5 : owns | |
| TABLE_5 ||--|| TABLE_6 : uses | |
| TABLE_6 ||--o{ TABLE_7 : contains",output/786.pintora.png | |
| Create a component diagram with cloud and database groupings,"componentDiagram | |
| cloud ""AWS Cloud"" { | |
| [Load Balancer] | |
| node ""EC2 Instances"" { | |
| [App Server 1] | |
| [App Server 2] | |
| } | |
| } | |
| database ""RDS"" { | |
| folder ""Primary"" { | |
| [MySQL Primary] | |
| } | |
| folder ""Replica"" { | |
| [MySQL Replica] | |
| } | |
| } | |
| [Load Balancer] --> [App Server 1] | |
| [Load Balancer] --> [App Server 2] | |
| [App Server 1] --> [MySQL Primary] | |
| [App Server 2] --> [MySQL Primary] | |
| [MySQL Primary] ..> [MySQL Replica] : replication",output/922.pintora.png | |
| Write a mind map using +/- side notation,"mindmap | |
| + Machine Learning | |
| ++ Supervised Learning | |
| +++ Classification | |
| +++ Regression | |
| ++ Unsupervised Learning | |
| +++ Clustering | |
| +++ Dimensionality Reduction | |
| -- Deep Learning | |
| --- Neural Networks | |
| --- CNN | |
| --- RNN | |
| -- Reinfortic Learning | |
| --- Q-Learning | |
| --- Policy Gradient",output/932.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 2d | |
| ""Task 1"" : 2024-01-03, 4d | |
| ""Task 2"" : 2024-01-07, 9d | |
| ""Task 3"" : 2024-01-16, 8d | |
| ""Task 4"" : 2024-01-24, 3d | |
| ""Task 5"" : 2024-01-27, 3d",output/21.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n6 -> n5 | |
| n0 -> n1 | |
| n6 -> n1 | |
| n4 -> n5 | |
| n7 -> n6 | |
| n0 -> n5 | |
| n6 -> n4 | |
| n3 -> n6 | |
| }",output/588.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n8 -> n1 | |
| n4 -> n2 | |
| n0 -> n2 | |
| n3 -> n9 | |
| n9 -> n4 | |
| n4 -> n6 | |
| n8 -> n2 | |
| n0 -> n2 | |
| n8 -> n7 | |
| n1 -> n8 | |
| n9 -> n0 | |
| }",output/598.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 *-- Class2 | |
| Class2 --> Class3 | |
| Class3 <|-- Class4",output/31.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| :step_8; | |
| :step_9; | |
| :step_10; | |
| if (check11?) then (yes) | |
| :action_yes_11; | |
| else (no) | |
| :action_no_11; | |
| endif | |
| if (check12?) then (yes) | |
| :action_yes_12; | |
| else (no) | |
| :action_no_12; | |
| endif | |
| :step_13; | |
| if (check14?) then (yes) | |
| :action_yes_14; | |
| else (no) | |
| :action_no_14; | |
| endif | |
| end",output/364.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 14 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 o-- Class2 | |
| Class2 --> Class3 | |
| Class3 --> Class4",output/374.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| participant Service_1 | |
| participant Service_2 | |
| Service_1-xService_2: Message 997 | |
| Service_0->>Service_1: Message 385 | |
| Service_2-->Service_1: Message 117 | |
| Service_1->>Service_2: Message 703 | |
| Service_0->>Service_2: Message 600 | |
| Service_1->Service_0: Message 554 | |
| Service_1->>Service_0: Message 684 | |
| loop Loop check | |
| Service_1-xService_2: Message 466 | |
| end | |
| Service_1->>Service_0: Message 747 | |
| Service_2-->Service_0: Message 415",output/531.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| :step_8; | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| end",output/98.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 11 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_3 | |
| alt Condition | |
| Service_0-->Service_3: Message 667 | |
| else Other case | |
| Service_3-->>Service_0: Response | |
| end | |
| Service_3-->>Service_2: Message 669 | |
| Service_0-->Service_3: Message 483 | |
| alt Condition | |
| Service_0-->Service_3: Message 295 | |
| else Other case | |
| Service_3-->>Service_0: Response | |
| end | |
| Service_1-xService_2: Message 108 | |
| Service_0->Service_1: Message 487 | |
| alt Condition | |
| Service_0-xService_2: Message 206 | |
| else Other case | |
| Service_2-->>Service_0: Response | |
| end | |
| Service_3-xService_2: Message 634 | |
| Service_4-->>Service_3: Message 813 | |
| Service_3-xService_0: Message 596 | |
| Service_4-->Service_2: Message 541",output/449.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 6 elements.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1",output/88.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| :Process 3; | |
| :Process 4; | |
| :Process 5; | |
| fork | |
| :Parallel 1 6; | |
| forkagain | |
| :Parallel 2 6; | |
| endfork | |
| :Process 7; | |
| end",output/521.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| float field_4 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : manages | |
| TABLE_1 }|--|| TABLE_2 : manages",output/459.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n10 [shape=""box"", label=""Node n10""] | |
| n11 [shape=""diamond"", label=""Node n11""] | |
| n8 -> n2 | |
| n4 -> n1 | |
| n3 -> n7 | |
| n1 -> n2 | |
| n11 -> n4 | |
| n4 -> n7 | |
| n3 -> n5 | |
| n9 -> n5 | |
| n10 -> n3 | |
| n11 -> n4 | |
| }",output/657.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| int field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : uses | |
| TABLE_1 }|--|| TABLE_2 : has",output/647.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 3d | |
| ""Task 2"" : 2024-01-13, 8d",output/118.pintora.png | |
| Write a Pintora diagram: design a comprehensive entity relationship diagram.,"erDiagram | |
| title: Inventory System | |
| CATEGORY { | |
| int category_id PK | |
| bool date | |
| float date | |
| text phone | |
| } | |
| REVIEW { | |
| int review_id PK | |
| datetime name FK | |
| bool address | |
| datetime status | |
| bool phone FK | |
| float status | |
| } | |
| SHIPMENT { | |
| int shipment_id PK | |
| bool quantity | |
| datetime status FK | |
| } | |
| PAYMENT { | |
| int payment_id PK | |
| float price | |
| float status | |
| } | |
| INVOICE { | |
| int invoice_id PK | |
| int status | |
| string price | |
| bool name | |
| int address FK | |
| } | |
| CATEGORY }o--o{ REVIEW : belongs to | |
| REVIEW ||--|| INVOICE : belongs to | |
| SHIPMENT }|..|{ PAYMENT : manages | |
| PAYMENT }o--o{ INVOICE : owns",output/881.pintora.png | |
| Design a comprehensive Entity Relationship diagram. Include nested structures.,"erDiagram | |
| REVIEW { | |
| int review_id PK | |
| string address FK | |
| bool phone | |
| } | |
| PRODUCT { | |
| int product_id PK | |
| bool name | |
| string name | |
| } | |
| CATEGORY { | |
| int category_id PK | |
| int address | |
| text phone | |
| datetime quantity | |
| datetime description | |
| bool name | |
| } | |
| ORDER { | |
| int order_id PK | |
| text date | |
| float price | |
| text description | |
| } | |
| USER { | |
| int user_id PK | |
| datetime description FK | |
| bool date | |
| int status | |
| string description | |
| float status | |
| } | |
| REVIEW }|--|| PRODUCT : has | |
| PRODUCT }|..|{ USER : manages | |
| CATEGORY ||--|{ USER : processes | |
| ORDER }|..|{ USER : processes",output/891.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 8d | |
| ""Task 1"" : 2024-01-09, 3d | |
| ""Task 2"" : 2024-01-12, 9d | |
| ""Task 3"" : 2024-01-21, 9d | |
| ""Task 4"" : 2024-01-30, 9d | |
| ""Task 5"" : 2024-02-08, 5d",output/108.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 9 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_1 | |
| Service_0-xService_1: Message 239 | |
| Service_1-->>Service_0: Message 924 | |
| alt Condition | |
| Service_0-->Service_1: Message 532 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_1-->Service_0: Message 598 | |
| Service_1->Service_0: Message 595 | |
| Service_1-->>Service_0: Message 979 | |
| Service_1-xService_0: Message 159 | |
| Service_0-->Service_1: Message 254 | |
| Service_0-->Service_1: Message 573",output/635.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Action 2; | |
| :Action 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| :Action 7; | |
| end",output/625.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| fork | |
| :Parallel 1 1; | |
| forkagain | |
| :Parallel 2 1; | |
| endfork | |
| :Action 2; | |
| :Action 3; | |
| :Action 4; | |
| :Process 5; | |
| end",output/553.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 9 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_1 | |
| Service_0-->Service_1: Message 308 | |
| Service_0->>Service_1: Message 817 | |
| Service_1->Service_0: Message 275 | |
| loop Loop check | |
| Service_1-xService_0: Message 778 | |
| end | |
| Service_1->Service_0: Message 858 | |
| Service_0->>Service_1: Message 870 | |
| Service_1-xService_0: Message 386 | |
| Service_0-xService_1: Message 524 | |
| Service_1-->Service_0: Message 456",output/543.pintora.png | |
| Map out a process flow using an activity diagram. Include about 9 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| :step_8; | |
| end",output/306.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 11 elements.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| **** Detail 0.2.1 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1",output/316.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1",output/43.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| bool field_2 | |
| datetime field_3 | |
| float field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| int field_2 | |
| string field_3 | |
| int field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| datetime field_2 | |
| string field_3 | |
| string field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| float field_2 | |
| float field_3 | |
| float field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| float field_2 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| bool field_2 | |
| float field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : contains | |
| TABLE_1 ||--o{ TABLE_2 : contains | |
| TABLE_2 }|--|| TABLE_3 : uses | |
| TABLE_3 ||--|{ TABLE_4 : owns | |
| TABLE_4 ||--|| TABLE_5 : has | |
| TABLE_5 ||--|{ TABLE_6 : uses | |
| TABLE_6 ||--o{ TABLE_7 : uses",output/492.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--o{ Ent2 : relates",output/53.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| end",output/482.pintora.png | |
| Create a DOT diagram for a package dependency graph,"dotDiagram | |
| digraph Dependencies { | |
| bgcolor=""#fafafa"" | |
| node [bgcolor=""#61afef"", color=""#333""] | |
| app[""Application""] | |
| core[""Core Library""] | |
| utils[""Utilities""] | |
| logger[""Logger""] | |
| config[""Config""] | |
| app -> core | |
| app -> utils | |
| core -> logger | |
| core -> config | |
| utils -> logger | |
| }",output/940.pintora.png | |
| Write a Pintora diagram: create an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| title: System Communication | |
| participant [<database> ServiceA] | |
| participant ServiceB | |
| ServiceC-->ServiceA: Validate | |
| loop Batch process | |
| ServiceC->>ServiceA: Query 1 | |
| ServiceA-->>ServiceC: Response | |
| end | |
| ServiceC-->ServiceA: Validate | |
| loop Poll | |
| ServiceC-xServiceB: Process event | |
| ServiceB-->>ServiceC: Response | |
| end | |
| par Parallel processing | |
| ServiceA->ServiceA: Task A | |
| and | |
| ServiceA->ServiceB: Task B | |
| end | |
| ServiceA->>ServiceC: Fetch data | |
| par Parallel processing | |
| ServiceA->>ServiceA: Task A | |
| and | |
| ServiceA->>ServiceB: Task B | |
| end | |
| @note right of ServiceC: Validating | |
| ServiceC-->ServiceB: Query 7",output/838.pintora.png | |
| Create a class diagram with annotations,"classDiagram | |
| class IRepository { | |
| <<interface>> | |
| +find(id) | |
| +save(entity) | |
| +delete(id) | |
| } | |
| class Status { | |
| <<enumeration>> | |
| PENDING | |
| ACTIVE | |
| COMPLETED | |
| } | |
| class UserRepository { | |
| +find(id) | |
| +save(user) | |
| +findByEmail(email) | |
| } | |
| IRepository <|.. UserRepository",output/950.pintora.png | |
| Build a detailed component architecture diagram.,"componentDiagram | |
| database ""Cache Layer"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| () I0 | |
| } | |
| cloud ""GCP"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| } | |
| [Comp0_0] ..> [Comp1_0] | |
| [Comp1_1] --> I0 | |
| [Comp0_0] ..|> [Comp1_1] | |
| I0 ..> [Comp0_0] | |
| [Comp1_0] ..|> I0 | |
| [Comp0_0] ..> [Comp1_1] | |
| [Comp0_1] -- [Comp1_1] | |
| [Comp1_1] -- I0 | |
| [Comp0_1] ..|> [Comp1_0]",output/828.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n10 [shape=""circle"", label=""Node n10""] | |
| n2 -> n6 | |
| n5 -> n9 | |
| n7 -> n9 | |
| n2 -> n5 | |
| n2 -> n8 | |
| n8 -> n6 | |
| n7 -> n5 | |
| n5 -> n3 | |
| n8 -> n0 | |
| n0 -> n2 | |
| n0 -> n4 | |
| n2 -> n6 | |
| }",output/668.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| int field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| int field_2 | |
| float field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| string field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| float field_2 | |
| int field_3 | |
| int field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| datetime field_2 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| string field_2 | |
| datetime field_3 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| datetime field_2 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : has | |
| TABLE_1 ||--|| TABLE_2 : contains | |
| TABLE_2 ||--|| TABLE_3 : uses | |
| TABLE_3 }|--|| TABLE_4 : contains | |
| TABLE_4 ||--|| TABLE_5 : has | |
| TABLE_5 ||--|| TABLE_6 : has | |
| TABLE_6 }|--|| TABLE_7 : uses",output/710.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Action 1; | |
| :Action 2; | |
| :Process 3; | |
| :Action 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Process 6; | |
| end",output/678.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| :Process 4; | |
| :Process 5; | |
| :Action 6; | |
| end",output/700.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 5d | |
| ""Task 1"" : 2024-01-06, 3d | |
| ""Task 2"" : 2024-01-09, 6d | |
| ""Task 3"" : 2024-01-15, 9d",output/145.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 *-- Class2",output/155.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates | |
| Ent3 }|--|| Ent4 : relates",output/223.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n6 -> n3 | |
| n3 -> n2 | |
| n6 -> n4 | |
| n3 -> n4 | |
| n2 -> n3 | |
| n4 -> n6 | |
| n1 -> n2 | |
| n6 -> n2 | |
| n1 -> n6 | |
| n6 -> n4 | |
| n2 -> n6 | |
| n4 -> n3 | |
| }",output/233.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| :Process 3; | |
| :Process 4; | |
| :Process 5; | |
| :Process 6; | |
| :Action 7; | |
| :Process 8; | |
| :Action 9; | |
| end",output/476.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 8 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| Service_1->>Service_0: Message 487 | |
| Service_1->Service_0: Message 453 | |
| Service_0->>Service_1: Message 532 | |
| Service_0->>Service_1: Message 486 | |
| Service_1-->Service_0: Message 606 | |
| Service_1-xService_0: Message 796 | |
| loop Loop check | |
| Service_1-xService_0: Message 376 | |
| end | |
| Service_0-->>Service_1: Message 775",output/466.pintora.png | |
| Design a comprehensive Entity Relationship diagram. Include nested structures.,"erDiagram | |
| title: CRM System | |
| PRODUCT { | |
| int product_id PK | |
| bool date | |
| text description | |
| float name | |
| string price FK | |
| text quantity | |
| } | |
| PAYMENT { | |
| int payment_id PK | |
| int email FK | |
| string address | |
| } | |
| INVOICE { | |
| int invoice_id PK | |
| text name FK | |
| text phone | |
| bool email | |
| int name | |
| } | |
| CUSTOMER { | |
| int customer_id PK | |
| datetime name FK | |
| datetime price | |
| } | |
| PRODUCT ||--o{ CUSTOMER : processes | |
| PAYMENT ||--|| CUSTOMER : owns | |
| INVOICE }o--o{ CUSTOMER : references",output/865.pintora.png | |
| Model an object-oriented system with class diagram. Include nested structures.,"classDiagram | |
| class ServiceA { | |
| +int attr0 | |
| -boolean attr1 | |
| -boolean attr2 | |
| ~method0() T | |
| +{static} method1() boolean | |
| ~method2() void | |
| } | |
| class ManagerB { | |
| <<interface>> | |
| -List~T~ attr0 | |
| ~int attr1 | |
| +string attr2 | |
| #method0() string | |
| -method1() T | |
| } | |
| class ObserverC { | |
| -int attr0 | |
| +{static} method0() string | |
| ~method1() boolean | |
| ~method2() T | |
| } | |
| class StrategyD { | |
| #boolean attr0 | |
| #List~T~ attr1 | |
| +string attr2 | |
| #boolean attr3 | |
| +method0() boolean | |
| } | |
| class RepositoryE { | |
| <<enumeration>> | |
| +string attr0 | |
| +string attr1 | |
| ~int attr2 | |
| -List~T~ attr3 | |
| -method0() T | |
| } | |
| ServiceA <|-- RepositoryE | |
| ManagerB *-- ObserverC | |
| ObserverC ..> StrategyD | |
| StrategyD --> RepositoryE",output/875.pintora.png | |
| Design a detailed hierarchical mind map.,"mindmap | |
| @param layoutDirection LR | |
| * Project Plan | |
| ** Topic A | |
| *** Subtopic A.1 | |
| **** Detail A.1.1 | |
| **** Detail A.1.2 | |
| **** Detail A.1.3 | |
| *** Subtopic A.2 | |
| **** Detail A.2.1 | |
| *** Subtopic A.3 | |
| *** Subtopic A.4 | |
| **** Detail A.4.1 | |
| **** Detail A.4.2 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| **** Detail B.1.1 | |
| **** Detail B.1.2 | |
| **** Detail B.1.3 | |
| *** Subtopic B.2 | |
| *** Subtopic B.3 | |
| **** Detail B.3.1 | |
| **** Detail B.3.2 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| *** Subtopic C.2 | |
| **** Detail C.2.1 | |
| ** Topic D | |
| *** Subtopic D.1 | |
| *** Subtopic D.2 | |
| **** Detail D.2.1 | |
| **** Detail D.2.2 | |
| *** Subtopic D.3 | |
| **** Detail D.3.1 | |
| **** Detail D.3.2 | |
| *** Subtopic D.4 | |
| **** Detail D.4.1 | |
| ** Topic E | |
| *** Subtopic E.1 | |
| **** Detail E.1.1 | |
| **** Detail E.1.2 | |
| *** Subtopic E.2 | |
| **** Detail E.2.1 | |
| *** Subtopic E.3 | |
| **** Detail E.3.1",output/807.pintora.png | |
| Write a Pintora diagram: map a complex business process with activity diagram.,"activityDiagram | |
| start | |
| partition Completion { | |
| while (Check 0?) is (yes) | |
| :Process 0; | |
| endwhile (done) | |
| fork | |
| :Parallel Task A1; | |
| forkagain | |
| :Parallel Task B1; | |
| endfork | |
| if (Condition 2?) then (yes) | |
| :Action True 2; | |
| else (no) | |
| :Action False 2; | |
| endif | |
| :Step 3; | |
| switch (Type 4?) | |
| case (A) | |
| :Handle A4; | |
| case (B) | |
| :Handle B4; | |
| endswitch | |
| fork | |
| :Parallel Task A5; | |
| forkagain | |
| :Parallel Task B5; | |
| endfork | |
| if (Condition 6?) then (yes) | |
| :Action True 6; | |
| else (no) | |
| :Action False 6; | |
| endif | |
| end",output/817.pintora.png | |
| Create a component diagram for logging infrastructure,"componentDiagram | |
| title: Centralized Logging | |
| package ""Applications"" { | |
| [Web Server] | |
| [API Server] | |
| [Background Jobs] | |
| } | |
| package ""Log Collection"" { | |
| [Fluentd] | |
| () ""Log Input"" | |
| } | |
| package ""Storage & Analysis"" { | |
| [Elasticsearch] | |
| [Kibana] | |
| } | |
| [Web Server] --> ""Log Input"" | |
| [API Server] --> ""Log Input"" | |
| [Background Jobs] --> ""Log Input"" | |
| ""Log Input"" -- [Fluentd] | |
| [Fluentd] --> [Elasticsearch] | |
| [Elasticsearch] <-- [Kibana] : query",output/1005.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 5 elements.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| ** Concept 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1",output/380.pintora.png | |
| Map out a process flow using an activity diagram. Include about 5 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| end",output/390.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n4 -> n0 | |
| n0 -> n3 | |
| n0 -> n1 | |
| n5 -> n4 | |
| n2 -> n5 | |
| }",output/414.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 6 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| *** Subitem 1.2",output/404.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 7 elements.,"sequenceDiagram | |
| autonumber | |
| P1-->>P0: msg_89 | |
| P1->P0: msg_82 | |
| P1->>P0: msg_57 | |
| P1-->P0: msg_13 | |
| P0-->P1: msg_35 | |
| P0->P1: msg_35 | |
| P1-->>P0: msg_21",output/339.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 11 elements.,"sequenceDiagram | |
| autonumber | |
| P0->>P3: msg_19 | |
| P0->>P3: msg_85 | |
| P0->P1: msg_24 | |
| P0-->P3: msg_61 | |
| P1->>P0: msg_42 | |
| P2-->P0: msg_2 | |
| P3->>P0: msg_28 | |
| P2->P1: msg_44 | |
| P0->>P2: msg_53 | |
| P2->>P0: msg_49 | |
| P2->P0: msg_39",output/241.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| :step_8; | |
| :step_9; | |
| if (check10?) then (yes) | |
| :action_yes_10; | |
| else (no) | |
| :action_no_10; | |
| endif | |
| end",output/329.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|| Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates | |
| Ent3 ||--|{ Ent4 : relates",output/251.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 13 elements.,"sequenceDiagram | |
| autonumber | |
| P1-->>P0: msg_18 | |
| P1->>P0: msg_10 | |
| P0->>P1: msg_13 | |
| P0->>P1: msg_44 | |
| P0->>P1: msg_5 | |
| P1-->P0: msg_10 | |
| P1-->>P0: msg_7 | |
| P0-->>P1: msg_56 | |
| P0->>P1: msg_8 | |
| P0-->P1: msg_93 | |
| P1-->>P0: msg_67 | |
| P1-->P0: msg_1 | |
| P0->>P1: msg_21",output/127.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 15 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n0 -> n1 | |
| n2 -> n4 | |
| n0 -> n7 | |
| n3 -> n5 | |
| n0 -> n5 | |
| n6 -> n4 | |
| n3 -> n2 | |
| n3 -> n1 | |
| n6 -> n5 | |
| n3 -> n7 | |
| n4 -> n6 | |
| n3 -> n7 | |
| n6 -> n3 | |
| n6 -> n5 | |
| n2 -> n1 | |
| }",output/137.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| :Process 3; | |
| :Action 4; | |
| :Process 5; | |
| end",output/772.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| end",output/762.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n8 -> n4 | |
| n1 -> n5 | |
| n6 -> n8 | |
| n0 -> n8 | |
| n2 -> n8 | |
| n4 -> n7 | |
| n5 -> n1 | |
| n6 -> n3 | |
| n0 -> n5 | |
| n0 -> n1 | |
| }",output/458.pintora.png | |
| Draft a component diagram for system architecture. Include about 5 elements.,"componentDiagram | |
| package ""System"" { | |
| [Comp0] | |
| [Comp1] | |
| [Comp2] | |
| [Comp3] | |
| } | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3]",output/89.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Process 2; | |
| :Process 3; | |
| :Process 4; | |
| end",output/520.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| :Process 4; | |
| :Process 5; | |
| fork | |
| :Parallel 1 6; | |
| forkagain | |
| :Parallel 2 6; | |
| endfork | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| :Action 8; | |
| end",output/448.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 12 steps.,"sequenceDiagram | |
| autonumber | |
| Service_1-->>Service_0: Message 983 | |
| Service_1-xService_0: Message 828 | |
| Service_0-->>Service_1: Message 985 | |
| Service_1-->>Service_0: Message 218 | |
| Service_1-xService_0: Message 493 | |
| Service_1->Service_0: Message 966 | |
| Service_0->Service_1: Message 572 | |
| Service_1->Service_0: Message 668 | |
| Service_1->>Service_0: Message 702 | |
| Service_0->>Service_1: Message 723 | |
| Service_0-->>Service_1: Message 891 | |
| Service_0->>Service_1: Message 635",output/530.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 14 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 3d | |
| ""Task 1"" : 2024-01-04, 7d | |
| ""Task 2"" : 2024-01-11, 4d | |
| ""Task 3"" : 2024-01-15, 4d",output/99.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 7 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n6 -> n1 | |
| n2 -> n5 | |
| n3 -> n1 | |
| n1 -> n0 | |
| n5 -> n6 | |
| n2 -> n1 | |
| n5 -> n6 | |
| }",output/375.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 14 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 2d | |
| ""Task 1"" : 2024-01-03, 3d | |
| ""Task 2"" : 2024-01-06, 7d | |
| ""Task 3"" : 2024-01-13, 6d | |
| ""Task 4"" : 2024-01-19, 6d | |
| ""Task 5"" : 2024-01-25, 5d",output/365.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Process 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| end",output/646.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Action 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| end",output/656.pintora.png | |
| Create a multiroot mind map,"mindmap | |
| * Frontend Technologies | |
| ** React | |
| ** Vue | |
| ** Angular | |
| * Backend Technologies | |
| ** Node.js | |
| ** Python | |
| ** Go | |
| * Database Systems | |
| ** PostgreSQL | |
| ** MongoDB | |
| ** Redis",output/933.pintora.png | |
| Write a component diagram with custom colors,"componentDiagram | |
| @param componentBackground #61afef | |
| @param componentBorderColor #4a9de0 | |
| package ""Frontend"" { | |
| [React App] | |
| [Redux Store] | |
| } | |
| package ""Backend"" { | |
| [Express Server] | |
| [MongoDB] | |
| } | |
| [React App] --> [Redux Store] | |
| [React App] ..> [Express Server] : REST API | |
| [Express Server] --> [MongoDB]",output/923.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| string field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| float field_2 | |
| float field_3 | |
| float field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| datetime field_2 | |
| string field_3 | |
| bool field_4 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : uses | |
| TABLE_1 ||--|| TABLE_2 : manages | |
| TABLE_2 ||--|{ TABLE_3 : manages",output/787.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Action 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Action 5; | |
| :Action 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| :Process 8; | |
| end",output/797.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 9 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_2 | |
| Service_0->>Service_1: Message 463 | |
| Service_2-->>Service_0: Message 531 | |
| Service_0-->Service_1: Message 478 | |
| Service_0->Service_1: Message 679 | |
| Service_0-->Service_1: Message 741 | |
| Service_0-->>Service_2: Message 298 | |
| Service_2-xService_1: Message 958 | |
| loop Loop check | |
| Service_0-xService_2: Message 117 | |
| end | |
| loop Loop check | |
| Service_0-->>Service_2: Message 141 | |
| end",output/599.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n4 -> n6 | |
| n3 -> n4 | |
| n5 -> n1 | |
| n1 -> n0 | |
| n3 -> n1 | |
| n0 -> n2 | |
| }",output/30.pintora.png | |
| Map out a process flow using an activity diagram. Include about 7 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| end",output/20.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| bool field_2 | |
| bool field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| float field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| float field_2 | |
| float field_3 | |
| datetime field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| int field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| bool field_2 | |
| bool field_3 | |
| bool field_4 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : manages | |
| TABLE_1 ||--o{ TABLE_2 : contains | |
| TABLE_2 ||--|{ TABLE_3 : owns | |
| TABLE_3 ||--|| TABLE_4 : contains | |
| TABLE_4 ||--o{ TABLE_5 : uses | |
| TABLE_5 }|--|| TABLE_6 : contains | |
| TABLE_6 ||--|{ TABLE_7 : uses",output/589.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| int field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| int field_2 | |
| datetime field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : has | |
| TABLE_1 ||--|| TABLE_2 : uses | |
| TABLE_2 }|--|| TABLE_3 : manages | |
| TABLE_3 ||--|{ TABLE_4 : manages",output/483.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n2 -> n0 | |
| n1 -> n2 | |
| n0 -> n2 | |
| n2 -> n3 | |
| n3 -> n0 | |
| n1 -> n2 | |
| n2 -> n1 | |
| n1 -> n2 | |
| n2 -> n1 | |
| n2 -> n3 | |
| n0 -> n2 | |
| n3 -> n1 | |
| n2 -> n0 | |
| }",output/52.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 14 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_3 | |
| participant Service_4 | |
| loop Loop check | |
| Service_2->>Service_4: Message 580 | |
| end | |
| Service_3-->>Service_4: Message 601 | |
| Service_3->>Service_2: Message 626 | |
| Service_2->Service_3: Message 275 | |
| Service_3-xService_0: Message 746 | |
| Service_1-->Service_4: Message 597 | |
| @note right of Service_1: Note processing | |
| Service_1->Service_4: Message 751 | |
| Service_4-->Service_2: Message 303 | |
| Service_2-xService_1: Message 525 | |
| loop Loop check | |
| Service_3-->Service_0: Message 355 | |
| end | |
| Service_3->Service_1: Message 563 | |
| Service_2->>Service_0: Message 879 | |
| Service_1-->Service_2: Message 132 | |
| Service_0->>Service_3: Message 328",output/493.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 14 elements.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| ** Task 1 | |
| *** Subitem 1.0",output/42.pintora.png | |
| Visualize a complex graph with DOT diagram.,"dotDiagram | |
| graph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""ellipse"", bgcolor=""#e3f2fd""] | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n8 [label=""Node n8""] | |
| n8 -- n0 | |
| n5 -- n4 | |
| n1 -- n7 | |
| n5 -- n0 | |
| n3 -- n4 [color=""green""] | |
| n5 -- n8 | |
| n4 -- n8 | |
| n3 -- n4 | |
| n8 -- n0 | |
| n3 -- n8 | |
| n4 -- n6 | |
| n7 -- n6 | |
| n0 -- n3 | |
| n4 -- n8 [color=""purple""] | |
| }",output/829.pintora.png | |
| Write a class diagram with static members,"classDiagram | |
| class DatabaseConnection { | |
| {static} DatabaseConnection instance | |
| -string connectionString | |
| {static} getInstance() DatabaseConnection | |
| +connect() void | |
| +disconnect() void | |
| +executeQuery(sql) ResultSet | |
| } | |
| class Logger { | |
| {static} Logger defaultLogger | |
| -string logLevel | |
| {static} getLogger(name) Logger | |
| +log(message) void | |
| +error(message) void | |
| }",output/951.pintora.png | |
| Build a detailed component architecture diagram. Use advanced syntax features.,"componentDiagram | |
| title: Cloud Architecture | |
| node ""Server Farm"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| [Comp0_2] | |
| () I0 | |
| } | |
| package ""Backend"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| () I1 | |
| } | |
| cloud ""Cloud Infrastructure"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| [Comp2_2] | |
| [Comp2_3] | |
| () I2 | |
| } | |
| database ""Persistence"" { | |
| [Comp3_0] | |
| [Comp3_1] | |
| [Comp3_2] | |
| [Comp3_3] | |
| } | |
| [Comp2_2] --> [Comp1_1] | |
| [Comp1_1] -- I0 | |
| I0 -- [Comp2_3] | |
| [Comp2_0] --> [Comp0_0] | |
| [Comp3_3] -- [Comp0_2] | |
| [Comp3_2] ..> [Comp3_3] | |
| I1 --> [Comp0_0] | |
| [Comp0_2] -- [Comp0_1] | |
| I1 ..|> [Comp2_0] | |
| I0 --> I1 | |
| [Comp2_3] ..> [Comp0_2] | |
| [Comp1_0] --> [Comp0_2] | |
| I2 ..> [Comp2_2] | |
| [Comp2_0] -- [Comp0_2] | |
| [Comp3_3] -- [Comp2_1] | |
| [Comp3_2] --> [Comp3_1] | |
| I0 ..> [Comp0_1]",output/839.pintora.png | |
| Write a DOT diagram with subgraphs,"dotDiagram | |
| digraph Architecture { | |
| bgcolor=""white"" | |
| node [color=""#111"", bgcolor=orange] | |
| subgraph Frontend { | |
| label=""Frontend Layer"" | |
| web[""Web App""] | |
| mobile[""Mobile App""] | |
| } | |
| subgraph Backend { | |
| label=""Backend Layer"" | |
| api[""API Server""] | |
| worker[""Background Worker""] | |
| } | |
| web -> api | |
| mobile -> api | |
| api -> worker | |
| }",output/941.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| float field_2 | |
| string field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| string field_2 | |
| datetime field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| int field_2 | |
| bool field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| string field_2 | |
| float field_3 | |
| float field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| int field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| int field_2 | |
| float field_3 | |
| bool field_4 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--o{ TABLE_2 : manages | |
| TABLE_2 }|--|| TABLE_3 : has | |
| TABLE_3 }|--|| TABLE_4 : manages | |
| TABLE_4 ||--|{ TABLE_5 : contains | |
| TABLE_5 ||--|| TABLE_6 : contains | |
| TABLE_6 ||--|{ TABLE_7 : owns",output/624.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| bool field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| datetime field_2 | |
| string field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| float field_4 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| bool field_2 | |
| bool field_3 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| datetime field_2 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : manages | |
| TABLE_1 ||--|| TABLE_2 : contains | |
| TABLE_2 ||--o{ TABLE_3 : owns | |
| TABLE_3 ||--|{ TABLE_4 : owns | |
| TABLE_4 ||--|| TABLE_5 : contains | |
| TABLE_5 }|--|| TABLE_6 : has | |
| TABLE_6 ||--|| TABLE_7 : contains",output/634.pintora.png | |
| Design a comprehensive Entity Relationship diagram. Include nested structures.,"erDiagram | |
| CUSTOMER { | |
| int customer_id PK | |
| datetime description | |
| int phone | |
| float price | |
| string description FK | |
| } | |
| USER { | |
| int user_id PK | |
| datetime address | |
| string phone FK | |
| } | |
| CATEGORY { | |
| int category_id PK | |
| int status FK | |
| bool name | |
| } | |
| INVENTORY { | |
| int inventory_id PK | |
| datetime date | |
| int price | |
| float address FK | |
| string description FK | |
| } | |
| CUSTOMER }|--|| USER : manages | |
| USER }o--o{ INVENTORY : contains | |
| CATEGORY }|--|| INVENTORY : contains",output/890.pintora.png | |
| Design an Entity Relationship diagram. Include about 10 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|{ Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 ||--|{ Ent3 : relates | |
| Ent3 ||--o{ Ent4 : relates",output/109.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 14 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 3d | |
| ""Task 1"" : 2024-01-04, 10d | |
| ""Task 2"" : 2024-01-14, 7d | |
| ""Task 3"" : 2024-01-21, 4d | |
| ""Task 4"" : 2024-01-25, 2d",output/119.pintora.png | |
| Design an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| title: API Interaction | |
| participant [<database> ServiceA] | |
| participant [<database> ServiceB] | |
| participant [<actor> ServiceC] | |
| ServiceC-->ServiceB: Validate | |
| ServiceA-->>ServiceC: Update 1 | |
| alt Success | |
| ServiceE-->>ServiceB: Fetch data | |
| ServiceB-->>ServiceE: OK | |
| else Error | |
| ServiceB-->>ServiceE: Error code | |
| end | |
| alt Success | |
| ServiceA-->ServiceB: Request 3 | |
| ServiceB-->>ServiceA: OK | |
| else Error | |
| ServiceB-->>ServiceA: Error code | |
| end | |
| ServiceE-->>ServiceA: Fetch data | |
| ServiceC->ServiceA: Fetch data | |
| alt Authenticated | |
| ServiceA-->ServiceC: Process event | |
| ServiceC-->>ServiceA: OK | |
| else Error | |
| ServiceC-->>ServiceA: Error code | |
| end | |
| par Parallel processing | |
| ServiceB-->>ServiceA: Task A | |
| and | |
| ServiceB-->>ServiceB: Task B | |
| end | |
| ServiceB-->ServiceA: Query 8 | |
| activate ServiceD | |
| ServiceC-xServiceD: Request 9 | |
| deactivate ServiceD | |
| alt Success | |
| ServiceE->>ServiceA: Validate | |
| ServiceA-->>ServiceE: OK | |
| else Error | |
| ServiceA-->>ServiceE: Error code | |
| end | |
| ServiceB->ServiceE: Request 11",output/880.pintora.png | |
| Map out a process flow using an activity diagram. Include about 11 elements.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| :step_10; | |
| end",output/317.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 *-- Class2 | |
| Class2 --> Class3 | |
| Class3 *-- Class4 | |
| Class4 *-- Class5",output/307.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| end",output/542.pintora.png | |
| Generate a DOT directed graph with 7 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n3 -> n2 | |
| n3 -> n2 | |
| n2 -> n1 | |
| n6 -> n1 | |
| n3 -> n6 | |
| n4 -> n6 | |
| }",output/552.pintora.png | |
| Illustrate a complex business process with activity diagram.,"activityDiagram | |
| start | |
| if (Condition 0?) then (yes) | |
| :Action True 0; | |
| else (no) | |
| :Action False 0; | |
| endif | |
| if (Condition 1?) then (yes) | |
| :Action True 1; | |
| else (no) | |
| :Action False 1; | |
| endif | |
| if (Condition 2?) then (yes) | |
| :Action True 2; | |
| else (no) | |
| :Action False 2; | |
| endif | |
| :Step 3; | |
| if (Condition 4?) then (yes) | |
| :Action True 4; | |
| else (no) | |
| :Action False 4; | |
| endif | |
| :Step 5; | |
| if (Condition 6?) then (yes) | |
| :Action True 6; | |
| else (no) | |
| :Action False 6; | |
| endif | |
| :Step 7; | |
| :Step 8; | |
| :Step 9; | |
| } | |
| end",output/874.pintora.png | |
| Design a detailed hierarchical mind map.,"mindmap | |
| @param layoutDirection TB | |
| * Product Strategy | |
| ** Topic A | |
| *** Subtopic A.1 | |
| *** Subtopic A.2 | |
| *** Subtopic A.3 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| *** Subtopic B.2 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| **** Detail C.1.1 | |
| **** Detail C.1.2 | |
| **** Detail C.1.3 | |
| *** Subtopic C.2 | |
| **** Detail C.2.1 | |
| **** Detail C.2.2 | |
| **** Detail C.2.3 | |
| *** Subtopic C.3",output/864.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 14 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 *-- Class2 | |
| Class2 *-- Class3",output/154.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|| Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates | |
| Ent3 ||--o{ Ent4 : relates | |
| Ent4 }|--|| Ent5 : relates",output/144.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| int field_3 | |
| string field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| string field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| bool field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| float field_2 | |
| int field_3 | |
| datetime field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| bool field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : owns | |
| TABLE_1 ||--|{ TABLE_2 : contains | |
| TABLE_2 }|--|| TABLE_3 : manages | |
| TABLE_3 ||--o{ TABLE_4 : owns | |
| TABLE_4 ||--|| TABLE_5 : has | |
| TABLE_5 }|--|| TABLE_6 : contains",output/701.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| float field_2 | |
| float field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| int field_2 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : contains | |
| TABLE_1 ||--|| TABLE_2 : owns | |
| TABLE_2 }|--|| TABLE_3 : has | |
| TABLE_3 ||--|| TABLE_4 : contains | |
| TABLE_4 ||--|| TABLE_5 : owns",output/679.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n10 [shape=""box"", label=""Node n10""] | |
| n11 [shape=""ellipse"", label=""Node n11""] | |
| n8 -> n3 | |
| n5 -> n3 | |
| n10 -> n9 | |
| n3 -> n9 | |
| n10 -> n11 | |
| n4 -> n11 | |
| n8 -> n10 | |
| n8 -> n6 | |
| n3 -> n5 | |
| n11 -> n0 | |
| n10 -> n3 | |
| }",output/711.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| :Action 3; | |
| :Process 4; | |
| fork | |
| :Parallel 1 5; | |
| forkagain | |
| :Parallel 2 5; | |
| endfork | |
| end",output/669.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n2 -> n4 | |
| n4 -> n0 | |
| n2 -> n1 | |
| n3 -> n1 | |
| n2 -> n3 | |
| }",output/467.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n4 -> n7 | |
| n3 -> n6 | |
| n1 -> n0 | |
| n2 -> n5 | |
| n3 -> n6 | |
| n0 -> n5 | |
| n6 -> n7 | |
| n2 -> n6 | |
| n2 -> n1 | |
| }",output/477.pintora.png | |
| Map out a process flow using an activity diagram. Include about 5 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| :step_4; | |
| end",output/232.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 8 elements.,"sequenceDiagram | |
| autonumber | |
| P1->P2: msg_62 | |
| P2-->P1: msg_7 | |
| P0->>P2: msg_98 | |
| P0-->>P1: msg_94 | |
| P0-->>P2: msg_20 | |
| P1->>P2: msg_68 | |
| P2->P1: msg_16 | |
| P0-->>P2: msg_48",output/222.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| *** Subitem 0.2 | |
| **** Detail 0.2.1 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| ** Task 3 | |
| *** Subitem 3.0 | |
| **** Detail 3.0.1",output/250.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 5d | |
| ""Task 1"" : 2024-01-06, 8d | |
| ""Task 2"" : 2024-01-14, 8d | |
| ""Task 3"" : 2024-01-22, 10d | |
| ""Task 4"" : 2024-02-01, 2d",output/328.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n1 -> n3 | |
| n4 -> n3 | |
| n1 -> n5 | |
| n3 -> n1 | |
| n2 -> n3 | |
| n3 -> n1 | |
| n5 -> n3 | |
| n0 -> n4 | |
| n5 -> n2 | |
| n2 -> n5 | |
| n2 -> n4 | |
| n1 -> n5 | |
| n4 -> n1 | |
| }",output/240.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P1->P0: msg_17 | |
| P0-->P1: msg_55 | |
| P1->>P0: msg_10 | |
| P1->>P0: msg_3 | |
| P1-->>P0: msg_14 | |
| P1-->>P0: msg_72 | |
| P0->P1: msg_30 | |
| P1-->P0: msg_77 | |
| P0-->P1: msg_30 | |
| P0-->>P1: msg_69 | |
| P0->P1: msg_46 | |
| P0-->P1: msg_31 | |
| P0-->>P1: msg_6 | |
| P1->>P0: msg_12 | |
| P0->P1: msg_90",output/338.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 13 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n5 -> n1 | |
| n0 -> n2 | |
| n3 -> n5 | |
| n0 -> n1 | |
| n0 -> n6 | |
| n4 -> n0 | |
| n2 -> n5 | |
| n3 -> n6 | |
| n5 -> n1 | |
| n4 -> n0 | |
| n4 -> n3 | |
| n3 -> n1 | |
| n2 -> n3 | |
| }",output/405.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Action 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| end",output/415.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 14 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_2 | |
| participant Service_3 | |
| Service_1-->>Service_2: Message 753 | |
| alt Condition | |
| Service_0-->Service_2: Message 810 | |
| else Other case | |
| Service_2-->>Service_0: Response | |
| end | |
| Service_3-xService_1: Message 932 | |
| Service_0->Service_3: Message 585 | |
| alt Condition | |
| Service_1-->Service_3: Message 601 | |
| else Other case | |
| Service_3-->>Service_1: Response | |
| end | |
| Service_3-xService_2: Message 381 | |
| loop Loop check | |
| Service_2-->Service_0: Message 824 | |
| end | |
| Service_2-->>Service_1: Message 454 | |
| loop Loop check | |
| Service_2-xService_1: Message 669 | |
| end | |
| Service_1-->Service_0: Message 250 | |
| Service_3-->>Service_0: Message 378 | |
| Service_3-->>Service_0: Message 868 | |
| Service_1->>Service_3: Message 214 | |
| loop Loop check | |
| Service_2->>Service_3: Message 248 | |
| end",output/763.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n4 -> n3 | |
| n2 -> n4 | |
| n1 -> n7 | |
| n4 -> n1 | |
| n6 -> n0 | |
| n4 -> n6 | |
| }",output/773.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n1 -> n5 | |
| n4 -> n2 | |
| n3 -> n5 | |
| n5 -> n2 | |
| n0 -> n2 | |
| }",output/136.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 15 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 4d | |
| ""Task 2"" : 2024-01-14, 7d",output/126.pintora.png | |
| Illustrate a complex business process with activity diagram.,"activityDiagram | |
| start | |
| if (Condition 0?) then (yes) | |
| :Action True 0; | |
| else (no) | |
| :Action False 0; | |
| endif | |
| if (Condition 1?) then (yes) | |
| :Action True 1; | |
| else (no) | |
| :Action False 1; | |
| endif | |
| :Step 2; | |
| :Step 3; | |
| while (Check 4?) is (yes) | |
| :Process 4; | |
| endwhile (done) | |
| if (Condition 5?) then (yes) | |
| :Action True 5; | |
| else (no) | |
| :Action False 5; | |
| endif | |
| :Step 6; | |
| } | |
| end",output/816.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Action 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Action 4; | |
| end",output/806.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 9 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 6d | |
| ""Task 1"" : 2024-01-07, 6d | |
| ""Task 2"" : 2024-01-13, 8d",output/391.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P2->P1: msg_58 | |
| P1-->>P0: msg_91 | |
| P2->>P0: msg_4 | |
| P0->P1: msg_99 | |
| P1->P2: msg_5 | |
| P1-->>P0: msg_29",output/381.pintora.png | |
| Write an activity diagram for file upload,"activityDiagram | |
| title: File Upload Process | |
| start | |
| :Select file; | |
| if (File size within limit?) then (yes) | |
| if (Valid file type?) then (yes) | |
| :Calculate checksum; | |
| :Upload to server; | |
| if (Upload successful?) then (yes) | |
| :Store metadata; | |
| :Generate thumbnail; | |
| :Return file URL; | |
| else (no) | |
| :Show upload error; | |
| endif | |
| else (no) | |
| :Show invalid type error; | |
| endif | |
| else (no) | |
| :Show size limit error; | |
| endif | |
| end",output/1004.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Action 1; | |
| :Process 2; | |
| :Process 3; | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| end",output/684.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| :Action 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| end",output/694.pintora.png | |
| Design an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| title: API Interaction | |
| autonumber | |
| participant [<database> ServiceB] | |
| participant ServiceC | |
| participant [<queue> ServiceD] | |
| participant [<database> ServiceE] | |
| loop Poll | |
| ServiceC->>ServiceB: Request 0 | |
| ServiceB-->>ServiceC: Response | |
| end | |
| ServiceC-->ServiceB: Update 1 | |
| ServiceD-xServiceA: Fetch data | |
| par Parallel processing | |
| ServiceA-->ServiceA: Task A | |
| and | |
| ServiceA-->ServiceB: Task B | |
| end | |
| par Parallel processing | |
| ServiceB-->ServiceA: Task A | |
| and | |
| ServiceB-->ServiceB: Task B | |
| end | |
| @note right of ServiceD: Processing | |
| ServiceD-->>ServiceA: Fetch data | |
| ServiceB-xServiceD: Request 6 | |
| ServiceA->ServiceC: Fetch data | |
| loop Batch process | |
| ServiceA-xServiceD: Request 8 | |
| ServiceD-->>ServiceA: Response | |
| end",output/830.pintora.png | |
| Create a class diagram with visibility modifiers,"classDiagram | |
| class BankAccount { | |
| -double balance | |
| -string accountNumber | |
| #string ownerName | |
| +getBalance() double | |
| +deposit(amount) void | |
| -validateAmount(amount) boolean | |
| ~internalAudit() void | |
| }",output/948.pintora.png | |
| Write a Pintora diagram: create an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| participant [<node> ServiceA] | |
| participant [<actor> ServiceD] | |
| participant [<queue> ServiceE] | |
| ServiceB-xServiceA: Query 0 | |
| par Parallel processing | |
| ServiceC-->>ServiceA: Task A | |
| and | |
| ServiceC-->>ServiceB: Task B | |
| end | |
| ServiceE-->>ServiceB: Validate | |
| activate ServiceE | |
| ServiceD->ServiceE: Validate | |
| deactivate ServiceE | |
| ServiceA-->ServiceE: Query 4 | |
| activate ServiceD | |
| ServiceE->ServiceD: Process event | |
| deactivate ServiceD | |
| activate ServiceC | |
| ServiceD->>ServiceC: Update 6 | |
| deactivate ServiceC | |
| loop Retry | |
| ServiceE->ServiceB: Query 7 | |
| ServiceB-->>ServiceE: Response | |
| end",output/820.pintora.png | |
| Write a sequence diagram for WebSocket communication,"sequenceDiagram | |
| title: WebSocket Chat | |
| participant [<actor> User1] | |
| participant Server | |
| participant [<actor> User2] | |
| User1->>Server: Connect WebSocket | |
| Server-->>User1: Connection established | |
| User2->>Server: Connect WebSocket | |
| Server-->>User2: Connection established | |
| User1->>Server: Send message ""Hello"" | |
| Server->>User2: Broadcast ""Hello"" | |
| User2->>Server: Send message ""Hi!"" | |
| Server->>User1: Broadcast ""Hi!"" ",output/958.pintora.png | |
| Create a flow activity diagram with approximately 8 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Process 2; | |
| :Process 3; | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| fork | |
| :Parallel 1 5; | |
| forkagain | |
| :Parallel 2 5; | |
| endfork | |
| fork | |
| :Parallel 1 6; | |
| forkagain | |
| :Parallel 2 6; | |
| endfork | |
| fork | |
| :Parallel 1 7; | |
| forkagain | |
| :Parallel 2 7; | |
| endfork | |
| end",output/745.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| int field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| string field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| datetime field_2 | |
| int field_3 | |
| int field_4 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : uses | |
| TABLE_1 ||--o{ TABLE_2 : uses | |
| TABLE_2 }|--|| TABLE_3 : manages",output/755.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|| Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates | |
| Ent3 ||--|| Ent4 : relates",output/110.pintora.png | |
| Visualize a complex graph with DOT diagram.,"dotDiagram | |
| digraph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""diamond"", bgcolor=""#e3f2fd""] | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n2 -> n5 | |
| n3 -> n1 | |
| n5 -> n3 | |
| n0 -> n4 [color=""purple""] | |
| n3 -> n0 [color=""red""] | |
| n3 -> n4 | |
| n2 -> n5 [color=""purple""] | |
| n4 -> n3 [color=""purple""] | |
| n4 -> n1 | |
| n0 -> n5 | |
| n0 -> n5 | |
| n5 -> n3 [color=""blue""] | |
| }",output/889.pintora.png | |
| Design a comprehensive Entity Relationship diagram. Include nested structures.,"erDiagram | |
| CATEGORY { | |
| int category_id PK | |
| bool quantity FK | |
| text quantity FK | |
| text price | |
| int status | |
| bool phone | |
| } | |
| PRODUCT { | |
| int product_id PK | |
| float email FK | |
| datetime date FK | |
| bool status FK | |
| datetime price FK | |
| } | |
| INVOICE { | |
| int invoice_id PK | |
| bool date | |
| text address | |
| } | |
| USER { | |
| int user_id PK | |
| datetime price | |
| text date | |
| text description | |
| text status | |
| int name | |
| } | |
| CATEGORY ||--|{ PRODUCT : belongs to | |
| PRODUCT }|..|{ USER : belongs to | |
| INVOICE }|--|| USER : manages",output/899.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 11 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 7d | |
| ""Task 2"" : 2024-01-17, 6d | |
| ""Task 3"" : 2024-01-23, 4d",output/100.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 11 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 6d | |
| ""Task 1"" : 2024-01-07, 5d | |
| ""Task 2"" : 2024-01-12, 5d | |
| ""Task 3"" : 2024-01-17, 5d",output/276.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 5 elements.,"sequenceDiagram | |
| autonumber | |
| P0-->>P1: msg_94 | |
| P0->P1: msg_98 | |
| P1-->>P0: msg_41 | |
| P0->P1: msg_51 | |
| P0->P1: msg_64",output/266.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n0 -> n7 | |
| n2 -> n0 | |
| n5 -> n4 | |
| n0 -> n4 | |
| n5 -> n1 | |
| n5 -> n8 | |
| n0 -> n3 | |
| n7 -> n5 | |
| n5 -> n7 | |
| n1 -> n8 | |
| n7 -> n3 | |
| }",output/423.pintora.png | |
| Write a component diagram showing a system with 8 components distributed across packages.,"componentDiagram | |
| package ""System A"" { | |
| [Comp0] | |
| [Comp1] | |
| [Comp2] | |
| [Comp3] | |
| } | |
| package ""System B"" { | |
| [Comp4] | |
| [Comp5] | |
| [Comp6] | |
| [Comp7] | |
| } | |
| () HTTP | |
| () DB_Conn | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3] | |
| [Comp3] --> [Comp4] | |
| [Comp4] --> [Comp5] | |
| [Comp5] --> [Comp6] | |
| [Comp6] --> [Comp7] | |
| [Comp0] --> HTTP | |
| [Comp7] --> DB_Conn",output/433.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n8 -> n7 | |
| n6 -> n3 | |
| n8 -> n7 | |
| n4 -> n1 | |
| n2 -> n5 | |
| n4 -> n6 | |
| n0 -> n1 | |
| n3 -> n6 | |
| n2 -> n3 | |
| }",output/441.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| :Process 4; | |
| :Action 5; | |
| end",output/539.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n7 -> n5 | |
| n5 -> n1 | |
| n1 -> n0 | |
| n3 -> n2 | |
| n3 -> n6 | |
| n6 -> n4 | |
| n4 -> n2 | |
| n2 -> n6 | |
| n4 -> n5 | |
| n2 -> n7 | |
| n0 -> n4 | |
| n7 -> n0 | |
| }",output/90.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| string field_2 | |
| float field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| bool field_2 | |
| int field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| float field_2 | |
| float field_3 | |
| bool field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : manages | |
| TABLE_1 ||--o{ TABLE_2 : contains | |
| TABLE_2 ||--o{ TABLE_3 : manages | |
| TABLE_3 ||--o{ TABLE_4 : contains",output/451.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| *** Subitem 0.2 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| ** Task 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1 | |
| ** Idea 3 | |
| *** Subitem 3.0 | |
| *** Subitem 3.1",output/80.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| int field_2 | |
| bool field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| string field_2 | |
| bool field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| string field_2 | |
| string field_3 | |
| int field_4 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : contains | |
| TABLE_1 ||--|{ TABLE_2 : owns | |
| TABLE_2 ||--|| TABLE_3 : uses",output/529.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| :step_6; | |
| :step_7; | |
| :step_8; | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| if (check10?) then (yes) | |
| :action_yes_10; | |
| else (no) | |
| :action_no_10; | |
| endif | |
| if (check11?) then (yes) | |
| :action_yes_11; | |
| else (no) | |
| :action_no_11; | |
| endif | |
| :step_12; | |
| end",output/214.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 15 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n0 -> n3 | |
| n1 -> n3 | |
| n1 -> n2 | |
| n3 -> n4 | |
| n4 -> n0 | |
| n3 -> n1 | |
| n2 -> n3 | |
| n2 -> n0 | |
| n3 -> n0 | |
| n3 -> n2 | |
| n0 -> n4 | |
| n0 -> n2 | |
| n0 -> n3 | |
| n1 -> n4 | |
| n1 -> n4 | |
| }",output/204.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 7d | |
| ""Task 1"" : 2024-01-08, 8d | |
| ""Task 2"" : 2024-01-16, 3d | |
| ""Task 3"" : 2024-01-19, 10d | |
| ""Task 4"" : 2024-01-29, 3d | |
| ""Task 5"" : 2024-02-01, 2d",output/172.pintora.png | |
| Create a sequence diagram for rate limiting,"sequenceDiagram | |
| participant Client | |
| participant RateLimiter | |
| participant API | |
| Client->>RateLimiter: Request | |
| RateLimiter->>RateLimiter: Check token bucket | |
| alt Tokens available | |
| RateLimiter->>RateLimiter: Consume token | |
| RateLimiter->>API: Forward request | |
| API-->>RateLimiter: Response | |
| RateLimiter-->>Client: 200 OK | |
| else No tokens | |
| RateLimiter-->>Client: 429 Too Many Requests | |
| @note right of Client: Retry-After header included | |
| end",output/993.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 10 elements.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Task 1 | |
| *** Subitem 1.0",output/162.pintora.png | |
| Create a class diagram for observer pattern,"classDiagram | |
| class Subject { | |
| <<interface>> | |
| +attach(observer) | |
| +detach(observer) | |
| +notify() | |
| } | |
| class Observer { | |
| <<interface>> | |
| +update() | |
| } | |
| class ConcreteSubject { | |
| -state | |
| -observers List~Observer~ | |
| +getState() | |
| +setState(state) | |
| } | |
| class ConcreteObserver { | |
| -subject | |
| +update() | |
| } | |
| Subject <|.. ConcreteSubject | |
| Observer <|.. ConcreteObserver | |
| Subject --> Observer : notifies | |
| ConcreteObserver --> ConcreteSubject : observes",output/983.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| :Process 1; | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| :Process 5; | |
| :Process 6; | |
| end",output/727.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n6 -> n2 | |
| n7 -> n6 | |
| n0 -> n3 | |
| n0 -> n6 | |
| n1 -> n2 | |
| n5 -> n6 | |
| n4 -> n3 | |
| }",output/737.pintora.png | |
| Visualize a complex graph with DOT diagram. Include nested structures.,"dotDiagram | |
| graph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""ellipse"", bgcolor=""#e3f2fd""] | |
| subgraph cluster_0 { | |
| label=""Group A"" | |
| a0 [label=""Node a0""] | |
| a1 [label=""Node a1""] | |
| a2 [label=""Node a2""] | |
| a3 [label=""Node a3""] | |
| } | |
| subgraph cluster_1 { | |
| label=""Group B"" | |
| b0 [label=""Node b0""] | |
| b1 [label=""Node b1""] | |
| b2 [label=""Node b2""] | |
| } | |
| b2 -- b1 | |
| b2 -- a1 [color=""red""] | |
| a0 -- a2 | |
| b1 -- a1 [color=""blue""] | |
| a3 -- b0 | |
| b0 -- a3 [color=""blue""] | |
| b2 -- b1 | |
| a3 -- a0 [color=""green""] | |
| a0 -- a3 [color=""red""] | |
| b1 -- b0 [color=""blue""] | |
| b1 -- a0 | |
| a0 -- a3 | |
| }",output/852.pintora.png | |
| Write a Pintora diagram: create a detailed hierarchical mind map.,"mindmap | |
| * System Architecture | |
| ** Topic A | |
| *** Subtopic A.1 | |
| **** Detail A.1.1 | |
| *** Subtopic A.2 | |
| *** Subtopic A.3 | |
| **** Detail A.3.1 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| *** Subtopic B.2 | |
| **** Detail B.2.1 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| **** Detail C.1.1 | |
| **** Detail C.1.2 | |
| *** Subtopic C.2 | |
| *** Subtopic C.3 | |
| *** Subtopic C.4",output/842.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 6d | |
| ""Task 1"" : 2024-01-07, 6d | |
| ""Task 2"" : 2024-01-13, 5d | |
| ""Task 3"" : 2024-01-18, 7d | |
| ""Task 4"" : 2024-01-25, 8d | |
| ""Task 5"" : 2024-02-02, 7d",output/29.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 11 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_2 | |
| participant Service_3 | |
| participant Service_4 | |
| Service_0->Service_2: Message 467 | |
| Service_2-->Service_1: Message 269 | |
| loop Loop check | |
| Service_1-->>Service_2: Message 305 | |
| end | |
| Service_0-->Service_4: Message 924 | |
| Service_4-->Service_1: Message 195 | |
| @note right of Service_4: Note processing | |
| Service_4-xService_0: Message 240 | |
| Service_4->Service_2: Message 142 | |
| Service_1->>Service_4: Message 140 | |
| alt Condition | |
| Service_0->Service_3: Message 416 | |
| else Other case | |
| Service_3-->>Service_0: Response | |
| end | |
| Service_4->Service_0: Message 713 | |
| Service_2->Service_3: Message 850",output/580.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| string field_2 | |
| float field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| int field_2 | |
| float field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| int field_2 | |
| int field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| int field_2 | |
| string field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| string field_2 | |
| bool field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| int field_2 | |
| string field_3 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : has | |
| TABLE_1 ||--|{ TABLE_2 : owns | |
| TABLE_2 ||--|| TABLE_3 : contains | |
| TABLE_3 ||--|| TABLE_4 : owns | |
| TABLE_4 ||--|{ TABLE_5 : owns | |
| TABLE_5 }|--|| TABLE_6 : has | |
| TABLE_6 ||--|{ TABLE_7 : uses",output/590.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates | |
| Ent3 ||--|| Ent4 : relates | |
| Ent4 ||--|{ Ent5 : relates",output/39.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 11 elements.,"sequenceDiagram | |
| autonumber | |
| P2-->P4: msg_77 | |
| P1-->P3: msg_51 | |
| P2-->P3: msg_32 | |
| P1-->P0: msg_62 | |
| P2-->P1: msg_70 | |
| P4->>P1: msg_70 | |
| P3-->>P2: msg_10 | |
| P2-->>P0: msg_79 | |
| P4-->P3: msg_65 | |
| P4->>P1: msg_90 | |
| P3->>P1: msg_30",output/249.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P0-->P1: msg_4 | |
| P0-->P1: msg_26 | |
| P1-->P0: msg_67 | |
| P1->>P0: msg_62 | |
| P1-->>P0: msg_8 | |
| P1-->>P0: msg_47 | |
| P1-->>P0: msg_81 | |
| P0->>P1: msg_96",output/331.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| :step_4; | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| :step_9; | |
| if (check10?) then (yes) | |
| :action_yes_10; | |
| else (no) | |
| :action_no_10; | |
| endif | |
| :step_11; | |
| :step_12; | |
| if (check13?) then (yes) | |
| :action_yes_13; | |
| else (no) | |
| :action_no_13; | |
| endif | |
| end",output/259.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 14 elements.,"sequenceDiagram | |
| autonumber | |
| P1-->>P0: msg_86 | |
| P0-->P1: msg_36 | |
| P0->>P1: msg_23 | |
| P1->P0: msg_18 | |
| P1-->>P0: msg_55 | |
| P1-->>P0: msg_22 | |
| P0->P1: msg_38 | |
| P1->P0: msg_38 | |
| P1-->>P0: msg_99 | |
| P0-->P1: msg_39 | |
| P1-->P0: msg_6 | |
| P0-->P1: msg_68 | |
| P1-->>P0: msg_37 | |
| P0-->P1: msg_20",output/321.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| fork | |
| :Parallel 1 1; | |
| forkagain | |
| :Parallel 2 1; | |
| endfork | |
| :Process 2; | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| :Process 4; | |
| :Process 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| fork | |
| :Parallel 1 7; | |
| forkagain | |
| :Parallel 2 7; | |
| endfork | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| end",output/564.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| string field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| bool field_2 | |
| int field_3 | |
| string field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| datetime field_2 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : uses | |
| TABLE_1 ||--o{ TABLE_2 : has",output/574.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| fork | |
| :Parallel 1 1; | |
| forkagain | |
| :Parallel 2 1; | |
| endfork | |
| :Process 2; | |
| :Process 3; | |
| :Process 4; | |
| :Process 5; | |
| :Process 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| fork | |
| :Parallel 1 8; | |
| forkagain | |
| :Parallel 2 8; | |
| endfork | |
| end",output/602.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| :Process 5; | |
| fork | |
| :Parallel 1 6; | |
| forkagain | |
| :Parallel 2 6; | |
| endfork | |
| end",output/612.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P3-->P2: msg_89 | |
| P3->>P4: msg_70 | |
| P1-->>P4: msg_51 | |
| P2-->>P4: msg_73 | |
| P2->P0: msg_46 | |
| P4->>P3: msg_55 | |
| P2->P0: msg_68 | |
| P2-->P4: msg_34",output/196.pintora.png | |
| Write an activity diagram for CI/CD pipeline,"activityDiagram | |
| title: CI/CD Pipeline | |
| start | |
| :Code commit; | |
| partition ""Continuous Integration"" { | |
| fork | |
| :Run unit tests; | |
| forkagain | |
| :Static code analysis; | |
| forkagain | |
| :Security scan; | |
| endfork | |
| if (All checks pass?) then (yes) | |
| :Build artifact; | |
| else (no) | |
| :Notify developer; | |
| end | |
| endif | |
| } | |
| partition ""Continuous Deployment"" { | |
| :Deploy to staging; | |
| :Run integration tests; | |
| if (Tests pass?) then (yes) | |
| :Deploy to production; | |
| :Health check; | |
| else (no) | |
| :Rollback; | |
| endif | |
| } | |
| end",output/977.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 8 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| ** Feature 1 | |
| *** Subitem 1.0",output/186.pintora.png | |
| Write a mind map for project management,"mindmap | |
| @param layoutDirection LR | |
| * Project Management | |
| ** Initiation | |
| *** Define scope | |
| *** Identify stakeholders | |
| *** Create charter | |
| ** Planning | |
| *** Create WBS | |
| *** Estimate resources | |
| *** Develop schedule | |
| ** Execution | |
| *** Assign tasks | |
| *** Manage team | |
| *** Track progress | |
| ** Closure | |
| *** Final deliverables | |
| *** Lessons learned | |
| *** Archive documents",output/967.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| :step_8; | |
| end",output/388.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 13 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n3 -> n2 | |
| n3 -> n1 | |
| n1 -> n2 | |
| n0 -> n1 | |
| n0 -> n2 | |
| n2 -> n0 | |
| n1 -> n3 | |
| n3 -> n1 | |
| n2 -> n0 | |
| n0 -> n3 | |
| n2 -> n0 | |
| n2 -> n1 | |
| n0 -> n1 | |
| }",output/398.pintora.png | |
| Map out a process flow using an activity diagram. Include about 11 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| :step_8; | |
| :step_9; | |
| :step_10; | |
| end",output/74.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| ** Task 3 | |
| *** Subitem 3.0",output/5.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 *-- Class2 | |
| Class2 o-- Class3 | |
| Class3 o-- Class4 | |
| Class4 *-- Class5",output/64.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n3 -> n0 | |
| n3 -> n6 | |
| n1 -> n4 | |
| n1 -> n5 | |
| n5 -> n1 | |
| n2 -> n7 | |
| n5 -> n0 | |
| n2 -> n5 | |
| n4 -> n1 | |
| n5 -> n4 | |
| n5 -> n3 | |
| }",output/16.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P1->P2: msg_28 | |
| P0->>P1: msg_36 | |
| P2->>P0: msg_77 | |
| P2-->P0: msg_48 | |
| P1->>P0: msg_78 | |
| P4-->P3: msg_78 | |
| P2->>P3: msg_93 | |
| P3-->P4: msg_20",output/292.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| ** Idea 2 | |
| *** Subitem 2.0",output/282.pintora.png | |
| "Create an ER diagram for a blog system with users, posts, and comments","erDiagram | |
| title: Blog System ER Diagram | |
| USER { | |
| int id PK | |
| string username | |
| string email | |
| datetime created_at | |
| } | |
| POST { | |
| int id PK | |
| int author_id FK ""references USER"" | |
| string title | |
| text content | |
| datetime published_at | |
| } | |
| COMMENT { | |
| int id PK | |
| int post_id FK | |
| int user_id FK | |
| text content | |
| } | |
| USER ||--o{ POST : writes | |
| USER ||--o{ COMMENT : makes | |
| POST ||--o{ COMMENT : has",output/915.pintora.png | |
| Build a detailed component architecture diagram. Include nested structures.,"componentDiagram | |
| title: Cloud Architecture | |
| cloud ""Cloud Infrastructure"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| } | |
| node ""Container Group"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| } | |
| package ""Backend"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| [Comp2_2] | |
| } | |
| [Comp0_1] --> [Comp2_2] | |
| [Comp0_1] ..|> [Comp0_0] | |
| [Comp2_1] --> [Comp1_0] | |
| [Comp2_2] ..|> [Comp1_1] | |
| [Comp0_0] --> [Comp1_0] | |
| [Comp2_0] --> [Comp1_0] | |
| [Comp1_1] -- [Comp1_0] | |
| [Comp2_1] --> [Comp2_0] | |
| [Comp1_1] ..> [Comp2_1] | |
| [Comp0_1] ..|> [Comp2_0] | |
| [Comp2_2] ..|> [Comp0_1]",output/905.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""box"", label=""Node n9""] | |
| n10 [shape=""diamond"", label=""Node n10""] | |
| n9 -> n3 | |
| n5 -> n0 | |
| n0 -> n7 | |
| n10 -> n4 | |
| n8 -> n0 | |
| n9 -> n6 | |
| n3 -> n10 | |
| n7 -> n5 | |
| n6 -> n5 | |
| n6 -> n10 | |
| n10 -> n2 | |
| n6 -> n0 | |
| }",output/718.pintora.png | |
| Generate a DOT directed graph with 7 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n5 -> n1 | |
| n6 -> n0 | |
| n3 -> n4 | |
| n4 -> n2 | |
| n4 -> n2 | |
| n2 -> n4 | |
| n6 -> n3 | |
| n5 -> n6 | |
| }",output/660.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n10 [shape=""circle"", label=""Node n10""] | |
| n11 [shape=""ellipse"", label=""Node n11""] | |
| n7 -> n6 | |
| n7 -> n0 | |
| n11 -> n4 | |
| n3 -> n5 | |
| n9 -> n11 | |
| n2 -> n1 | |
| n5 -> n7 | |
| n7 -> n0 | |
| n6 -> n3 | |
| n7 -> n2 | |
| n3 -> n0 | |
| n9 -> n8 | |
| n3 -> n1 | |
| }",output/708.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 12 steps.,"sequenceDiagram | |
| participant Service_1 | |
| participant Service_2 | |
| participant Service_3 | |
| participant Service_4 | |
| Service_3-->>Service_0: Message 591 | |
| Service_0-->Service_1: Message 627 | |
| Service_0-xService_2: Message 624 | |
| @note right of Service_2: Note processing | |
| Service_2->Service_0: Message 767 | |
| Service_1-->Service_3: Message 773 | |
| Service_0-->Service_3: Message 352 | |
| Service_4-->>Service_2: Message 982 | |
| Service_0-xService_1: Message 475 | |
| loop Loop check | |
| Service_0-->Service_2: Message 676 | |
| end | |
| Service_4->Service_3: Message 426 | |
| alt Condition | |
| Service_3-->>Service_0: Message 943 | |
| else Other case | |
| Service_0-->>Service_3: Response | |
| end | |
| Service_4->>Service_1: Message 913",output/670.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Action 1; | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| fork | |
| :Parallel 1 5; | |
| forkagain | |
| :Parallel 2 5; | |
| endfork | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| :Process 9; | |
| end",output/506.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Action 1; | |
| :Process 2; | |
| :Process 3; | |
| :Process 4; | |
| end",output/516.pintora.png | |
| Design an Entity Relationship diagram. Include about 5 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|| Ent2 : relates",output/353.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P2-->P3: msg_20 | |
| P0->P3: msg_47 | |
| P3-->P1: msg_50 | |
| P1-->>P3: msg_99 | |
| P0->>P2: msg_49 | |
| P1->P0: msg_29 | |
| P3->P0: msg_39 | |
| P0->P1: msg_75 | |
| P0-->>P1: msg_80 | |
| P2-->>P3: msg_83 | |
| P1-->>P0: msg_23 | |
| P0-->P2: msg_72 | |
| P2->P3: msg_100 | |
| P3-->>P1: msg_6 | |
| P2->>P3: msg_5",output/343.pintora.png | |
| Write a DOT diagram with arrow styles,"dotDiagram | |
| digraph Arrows { | |
| bgcolor=""#faf5f5"" | |
| node [bgcolor=orange] | |
| a -> b [arrowhead=""normal""] | |
| c -> d [arrowhead=""diamond""] | |
| e -> f [arrowhead=""dot""] | |
| g -> h [arrowhead=""open""] | |
| i -> j [arrowhead=""box""] | |
| k -> l [arrowhead=""odot""] | |
| }",output/943.pintora.png | |
| Write an ER diagram with @config styling,"erDiagram | |
| @config({ | |
| ""themeConfig"": { | |
| ""theme"": ""larkLight"" | |
| }, | |
| ""er"": { | |
| ""edgeType"": ""ortho"" | |
| } | |
| }) | |
| @param fontSize 16 | |
| @param fontStyle italic | |
| USER { | |
| int id PK | |
| string name | |
| } | |
| POST { | |
| int id PK | |
| int user_id FK | |
| } | |
| USER ||--o{ POST : creates",output/953.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| end",output/491.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| end",output/40.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Process 1; | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| end",output/481.pintora.png | |
| Draft a component diagram for system architecture. Include about 8 elements.,"componentDiagram | |
| package ""System"" { | |
| [Comp0] | |
| [Comp1] | |
| [Comp2] | |
| [Comp3] | |
| [Comp4] | |
| } | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3] | |
| [Comp3] --> [Comp4]",output/50.pintora.png | |
| Create a flow activity diagram with approximately 6 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Action 1; | |
| :Action 2; | |
| :Action 3; | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| :Action 5; | |
| end",output/428.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 7 steps.,"sequenceDiagram | |
| autonumber | |
| Service_0->>Service_1: Message 910 | |
| Service_0-->>Service_1: Message 817 | |
| loop Loop check | |
| Service_0-->Service_1: Message 695 | |
| end | |
| Service_1-->>Service_0: Message 307 | |
| alt Condition | |
| Service_0-->Service_1: Message 588 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| alt Condition | |
| Service_0-xService_1: Message 639 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_1-->Service_0: Message 253",output/550.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| datetime field_2 | |
| float field_3 | |
| bool field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| string field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| bool field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| bool field_2 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : uses | |
| TABLE_1 ||--|| TABLE_2 : contains | |
| TABLE_2 ||--|{ TABLE_3 : has | |
| TABLE_3 ||--o{ TABLE_4 : owns | |
| TABLE_4 ||--o{ TABLE_5 : contains | |
| TABLE_5 ||--o{ TABLE_6 : owns",output/438.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 13 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_2 | |
| participant Service_3 | |
| participant Service_4 | |
| Service_0-->>Service_1: Message 708 | |
| Service_4-->Service_0: Message 973 | |
| Service_3-xService_0: Message 299 | |
| Service_2-xService_3: Message 933 | |
| Service_0->Service_4: Message 813 | |
| Service_4->>Service_1: Message 873 | |
| loop Loop check | |
| Service_2-->Service_4: Message 953 | |
| end | |
| Service_2-xService_3: Message 908 | |
| Service_3-xService_2: Message 195 | |
| Service_3-->Service_4: Message 774 | |
| Service_4-xService_3: Message 505 | |
| @note right of Service_0: Note processing | |
| Service_0->Service_4: Message 596 | |
| Service_1->Service_4: Message 298",output/540.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 10d | |
| ""Task 1"" : 2024-01-11, 10d | |
| ""Task 2"" : 2024-01-21, 3d | |
| ""Task 3"" : 2024-01-24, 5d",output/305.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| end",output/315.pintora.png | |
| Design a comprehensive Entity Relationship diagram.,"erDiagram | |
| title: E-Commerce System | |
| ORDER { | |
| int order_id PK | |
| string quantity | |
| float name | |
| string phone FK | |
| datetime price FK | |
| string date | |
| } | |
| USER { | |
| int user_id PK | |
| bool description FK | |
| string name FK | |
| string date | |
| int price | |
| } | |
| PRODUCT { | |
| int product_id PK | |
| string price | |
| float status | |
| string description | |
| float quantity | |
| } | |
| REVIEW { | |
| int review_id PK | |
| text name FK | |
| datetime address | |
| datetime quantity | |
| } | |
| INVENTORY { | |
| int inventory_id PK | |
| bool phone | |
| bool phone | |
| float email | |
| string quantity | |
| float phone | |
| } | |
| CATEGORY { | |
| int category_id PK | |
| int description FK | |
| float name | |
| } | |
| ORDER ||--o{ USER : manages | |
| USER ||--o{ PRODUCT : owns | |
| PRODUCT ||--o{ CATEGORY : processes | |
| REVIEW ||--|{ INVENTORY : manages | |
| INVENTORY ||--|{ CATEGORY : has",output/882.pintora.png | |
| Create a detailed hierarchical mind map. Use advanced syntax features.,"mindmap | |
| @param layoutDirection TB | |
| * Product Strategy | |
| ** Topic A | |
| *** Subtopic A.1 | |
| **** Detail A.1.1 | |
| *** Subtopic A.2 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| *** Subtopic B.2 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| **** Detail C.1.1 | |
| **** Detail C.1.2 | |
| **** Detail C.1.3 | |
| *** Subtopic C.2 | |
| **** Detail C.2.1 | |
| **** Detail C.2.2 | |
| *** Subtopic C.3 | |
| *** Subtopic C.4 | |
| ** Topic D | |
| *** Subtopic D.1 | |
| *** Subtopic D.2 | |
| *** Subtopic D.3 | |
| ** Topic E | |
| *** Subtopic E.1 | |
| *** Subtopic E.2",output/892.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| int field_2 | |
| bool field_3 | |
| int field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| datetime field_2 | |
| float field_3 | |
| string field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : has | |
| TABLE_1 }|--|| TABLE_2 : has",output/636.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| int field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| datetime field_2 | |
| bool field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| int field_2 | |
| int field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| bool field_2 | |
| float field_3 | |
| datetime field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| int field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| string field_2 | |
| datetime field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| int field_2 | |
| int field_3 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| float field_2 | |
| datetime field_3 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : owns | |
| TABLE_1 ||--o{ TABLE_2 : contains | |
| TABLE_2 }|--|| TABLE_3 : manages | |
| TABLE_3 ||--|| TABLE_4 : manages | |
| TABLE_4 ||--|| TABLE_5 : contains | |
| TABLE_5 ||--o{ TABLE_6 : uses | |
| TABLE_6 ||--|| TABLE_7 : uses",output/626.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Action 1; | |
| :Process 2; | |
| :Action 3; | |
| :Action 4; | |
| end",output/654.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| participant Service_2 | |
| Service_1-->>Service_0: Message 522 | |
| Service_3-->Service_1: Message 939 | |
| Service_1->Service_3: Message 328 | |
| Service_2->Service_0: Message 908 | |
| Service_1-xService_0: Message 111 | |
| Service_3->Service_2: Message 391 | |
| loop Loop check | |
| Service_3-->>Service_0: Message 255 | |
| end | |
| Service_2->>Service_1: Message 128 | |
| loop Loop check | |
| Service_3-xService_2: Message 643 | |
| end | |
| loop Loop check | |
| Service_1->>Service_3: Message 131 | |
| end",output/644.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 o-- Class2 | |
| Class2 --> Class3",output/179.pintora.png | |
| Write a class diagram for builder pattern,"classDiagram | |
| class Product { | |
| -partA | |
| -partB | |
| -partC | |
| } | |
| class Builder { | |
| <<interface>> | |
| +buildPartA() | |
| +buildPartB() | |
| +buildPartC() | |
| +getResult() Product | |
| } | |
| class ConcreteBuilder { | |
| -product Product | |
| +buildPartA() | |
| +buildPartB() | |
| +buildPartC() | |
| +getResult() Product | |
| } | |
| class Director { | |
| -builder Builder | |
| +construct() | |
| } | |
| Builder <|.. ConcreteBuilder | |
| Director --> Builder | |
| ConcreteBuilder --> Product : creates",output/998.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 9 elements.,"sequenceDiagram | |
| autonumber | |
| P3->P4: msg_99 | |
| P3->P1: msg_33 | |
| P3->P4: msg_71 | |
| P0-->P4: msg_72 | |
| P0-->P2: msg_20 | |
| P0->>P3: msg_53 | |
| P4-->>P1: msg_44 | |
| P2-->>P4: msg_4 | |
| P1->P3: msg_26",output/169.pintora.png | |
| Write an ER diagram for inventory management,"erDiagram | |
| WAREHOUSE { | |
| int id PK | |
| string name | |
| string location | |
| } | |
| PRODUCT { | |
| int id PK | |
| string sku | |
| string name | |
| float price | |
| } | |
| INVENTORY { | |
| int warehouse_id PK | |
| int product_id PK | |
| int quantity | |
| date last_updated | |
| } | |
| SUPPLIER { | |
| int id PK | |
| string name | |
| string contact | |
| } | |
| SUPPLY { | |
| int supplier_id FK | |
| int product_id FK | |
| float cost | |
| } | |
| WAREHOUSE ||--o{ INVENTORY : stores | |
| PRODUCT ||--o{ INVENTORY : ""stored in"" | |
| SUPPLIER ||--o{ SUPPLY : provides | |
| PRODUCT ||--o{ SUPPLY : ""supplied by"" ",output/988.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 o-- Class2",output/367.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 10 elements.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Concept 1 | |
| *** Subitem 1.0",output/377.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| :Process 1; | |
| :Action 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Action 5; | |
| fork | |
| :Parallel 1 6; | |
| forkagain | |
| :Parallel 2 6; | |
| endfork | |
| end",output/532.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| float field_2 | |
| float field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| bool field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| float field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| string field_2 | |
| int field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| bool field_2 | |
| bool field_3 | |
| string field_4 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| int field_2 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : has | |
| TABLE_1 ||--|{ TABLE_2 : has | |
| TABLE_2 ||--o{ TABLE_3 : owns | |
| TABLE_3 ||--o{ TABLE_4 : manages | |
| TABLE_4 ||--|{ TABLE_5 : manages | |
| TABLE_5 ||--|| TABLE_6 : contains | |
| TABLE_6 ||--|{ TABLE_7 : has",output/522.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 14 elements.,"sequenceDiagram | |
| autonumber | |
| P2-->P0: msg_34 | |
| P0->P1: msg_73 | |
| P2-->>P1: msg_89 | |
| P1-->P3: msg_63 | |
| P1-->>P0: msg_21 | |
| P0->P3: msg_49 | |
| P3->P2: msg_14 | |
| P3-->>P1: msg_15 | |
| P3-->>P0: msg_36 | |
| P0->>P1: msg_49 | |
| P0->>P1: msg_11 | |
| P1->P3: msg_52 | |
| P2-->P1: msg_75 | |
| P1-->>P3: msg_13",output/22.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class5 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 --> Class2 | |
| Class2 o-- Class3 | |
| Class3 <|-- Class4 | |
| Class4 <|-- Class5",output/32.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| float field_2 | |
| int field_3 | |
| bool field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| bool field_2 | |
| bool field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : uses | |
| TABLE_1 ||--o{ TABLE_2 : owns | |
| TABLE_2 ||--|| TABLE_3 : contains",output/795.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| bool field_2 | |
| int field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| bool field_2 | |
| int field_3 | |
| datetime field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| datetime field_2 | |
| bool field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| int field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| datetime field_2 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| int field_2 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : has | |
| TABLE_1 ||--o{ TABLE_2 : has | |
| TABLE_2 ||--o{ TABLE_3 : uses | |
| TABLE_3 }|--|| TABLE_4 : owns | |
| TABLE_4 ||--o{ TABLE_5 : owns | |
| TABLE_5 ||--|{ TABLE_6 : contains | |
| TABLE_6 ||--o{ TABLE_7 : owns",output/785.pintora.png | |
| Map a complex business process with activity diagram.,"activityDiagram | |
| start | |
| partition Validation { | |
| :Step 0; | |
| :Step 1; | |
| :Step 2; | |
| while (Check 3?) is (yes) | |
| :Process 3; | |
| endwhile (done) | |
| if (Condition 4?) then (yes) | |
| :Action True 4; | |
| else (no) | |
| :Action False 4; | |
| endif | |
| @note right: Important step 5 | |
| :Critical action 5; | |
| } | |
| end",output/859.pintora.png | |
| Write a component diagram showing interfaces and dependencies,"componentDiagram | |
| component Backend | |
| [Frontend] | |
| () ""HTTP API"" as HTTP | |
| () ""WebSocket"" as WS | |
| interface ""Database"" as DB | |
| [Frontend] --> HTTP : uses | |
| [Frontend] --> WS : subscribes | |
| HTTP -- Backend | |
| WS -- Backend | |
| Backend --> DB",output/921.pintora.png | |
| Write a Pintora diagram: build a detailed component architecture diagram.,"componentDiagram | |
| cloud ""Azure"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| [Comp0_2] | |
| [Comp0_3] | |
| () I0 | |
| } | |
| package ""Frontend"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| () I1 | |
| } | |
| cloud ""Cloud Infrastructure"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| [Comp2_2] | |
| () I2 | |
| } | |
| package ""API Layer"" { | |
| [Comp3_0] | |
| [Comp3_1] | |
| () I3 | |
| } | |
| I0 -- [Comp0_3] | |
| [Comp3_1] -- I2 | |
| [Comp1_0] --> [Comp2_1] | |
| [Comp2_0] --> I0 | |
| [Comp0_0] -- [Comp2_2] | |
| I0 -- I1 | |
| [Comp1_1] -- [Comp3_0] | |
| I1 ..|> [Comp0_3] | |
| [Comp3_0] ..> [Comp0_3] | |
| [Comp0_2] -- I0 | |
| I1 --> [Comp3_0] | |
| [Comp2_1] --> [Comp0_1] | |
| [Comp0_0] ..|> [Comp2_2] | |
| [Comp2_1] ..|> [Comp0_3] | |
| [Comp0_0] --> [Comp0_3] | |
| [Comp2_2] ..> [Comp0_3] | |
| [Comp1_1] ..> I0",output/849.pintora.png | |
| Create a mind map for a software development project,"mindmap | |
| title: Software Development | |
| * Project | |
| ** Planning | |
| *** Requirements | |
| *** Timeline | |
| *** Budget | |
| ** Development | |
| *** Frontend | |
| *** Backend | |
| *** Database | |
| ** Testing | |
| *** Unit Tests | |
| *** Integration | |
| *** E2E Tests | |
| ** Deployment | |
| *** Staging | |
| *** Production",output/931.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 5d | |
| ""Task 1"" : 2024-01-06, 4d | |
| ""Task 2"" : 2024-01-10, 3d | |
| ""Task 3"" : 2024-01-13, 10d | |
| ""Task 4"" : 2024-01-23, 6d",output/124.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 13 elements.,"sequenceDiagram | |
| autonumber | |
| P3-->P2: msg_4 | |
| P0->>P2: msg_2 | |
| P2->>P1: msg_6 | |
| P2->>P1: msg_68 | |
| P0->>P3: msg_49 | |
| P2->P3: msg_29 | |
| P3-->P0: msg_86 | |
| P3-->>P0: msg_1 | |
| P0->P2: msg_29 | |
| P2->>P1: msg_74 | |
| P0->>P3: msg_70 | |
| P1-->>P0: msg_19 | |
| P1->P0: msg_69",output/134.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""circle"", label=""Node n8""] | |
| n9 [shape=""ellipse"", label=""Node n9""] | |
| n3 -> n5 | |
| n9 -> n3 | |
| n7 -> n5 | |
| n1 -> n5 | |
| n6 -> n3 | |
| n8 -> n2 | |
| n7 -> n5 | |
| n9 -> n3 | |
| n6 -> n0 | |
| n4 -> n2 | |
| n4 -> n7 | |
| }",output/771.pintora.png | |
| Write an Entity Relationship diagram with 8 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| bool field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| bool field_2 | |
| float field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| int field_2 | |
| string field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| float field_2 | |
| int field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| datetime field_2 | |
| bool field_3 | |
| bool field_4 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| int field_2 | |
| datetime field_3 | |
| } | |
| TABLE_7 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--|| TABLE_2 : contains | |
| TABLE_2 ||--|| TABLE_3 : owns | |
| TABLE_3 ||--|{ TABLE_4 : uses | |
| TABLE_4 }|--|| TABLE_5 : uses | |
| TABLE_5 ||--|{ TABLE_6 : owns | |
| TABLE_6 }|--|| TABLE_7 : contains",output/609.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Action 1; | |
| :Process 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| end",output/761.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n2 -> n0 | |
| n8 -> n3 | |
| n3 -> n7 | |
| n8 -> n0 | |
| n0 -> n6 | |
| n9 -> n5 | |
| n0 -> n1 | |
| n7 -> n2 | |
| }",output/619.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n10 [shape=""ellipse"", label=""Node n10""] | |
| n3 -> n4 | |
| n0 -> n10 | |
| n4 -> n5 | |
| n1 -> n4 | |
| n1 -> n10 | |
| n8 -> n10 | |
| n2 -> n6 | |
| n3 -> n6 | |
| n1 -> n4 | |
| n9 -> n1 | |
| n8 -> n2 | |
| }",output/417.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| :step_8; | |
| end",output/407.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 *-- Class2 | |
| Class2 --> Class3",output/242.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| *** Subitem 1.2 | |
| **** Detail 1.2.1 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1 | |
| *** Subitem 2.2",output/252.pintora.png | |
| Write an ER diagram for a ticketing system,"erDiagram | |
| title: Support Ticketing System | |
| TICKET { | |
| int id PK | |
| string title | |
| text description | |
| string status | |
| string priority | |
| datetime created_at | |
| } | |
| USER { | |
| int id PK | |
| string name | |
| string email | |
| string role | |
| } | |
| COMMENT { | |
| int id PK | |
| int ticket_id FK | |
| int user_id FK | |
| text content | |
| datetime posted_at | |
| } | |
| ATTACHMENT { | |
| int id PK | |
| int ticket_id FK | |
| string filename | |
| string url | |
| } | |
| USER ||--o{ TICKET : creates | |
| USER ||--o{ TICKET : ""assigned to"" | |
| TICKET ||--o{ COMMENT : has | |
| USER ||--o{ COMMENT : writes | |
| TICKET ||--o{ ATTACHMENT : contains",output/1006.pintora.png | |
| Map out a process flow using an activity diagram. Include about 7 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| :step_6; | |
| end",output/383.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P2-->>P0: msg_6 | |
| P2-->>P1: msg_84 | |
| P2->>P1: msg_11 | |
| P1-->P2: msg_44 | |
| P0-->>P2: msg_25 | |
| P0->P2: msg_13 | |
| P0-->>P1: msg_70 | |
| P2-->P1: msg_55",output/393.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| int field_2 | |
| float field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| datetime field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| string field_2 | |
| datetime field_3 | |
| string field_4 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : has | |
| TABLE_1 ||--o{ TABLE_2 : owns",output/804.pintora.png | |
| Write a Pintora diagram: build a detailed component architecture diagram.,"componentDiagram | |
| package ""Services"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| [Comp0_2] | |
| } | |
| database ""Persistence"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| () I1 | |
| } | |
| node ""Cluster"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| [Comp2_2] | |
| () I2 | |
| } | |
| [Comp2_2] ..> [Comp2_1] | |
| [Comp2_1] ..|> I1 | |
| [Comp0_1] ..> [Comp2_0] | |
| I2 --> [Comp2_1] | |
| [Comp2_0] ..|> [Comp2_2] | |
| [Comp2_1] -- [Comp0_2] | |
| [Comp0_2] --> [Comp0_1] | |
| [Comp1_1] --> [Comp0_2] | |
| I1 ..> I2 | |
| [Comp0_1] ..|> [Comp2_0] | |
| I1 --> [Comp1_1]",output/814.pintora.png | |
| Visualize a complex graph with DOT diagram.,"dotDiagram | |
| digraph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""plaintext"", bgcolor=""#e3f2fd""] | |
| subgraph cluster_0 { | |
| label=""Group A"" | |
| a0 [label=""Node a0""] | |
| a1 [label=""Node a1""] | |
| a2 [label=""Node a2""] | |
| } | |
| subgraph cluster_1 { | |
| label=""Group B"" | |
| b0 [label=""Node b0""] | |
| b1 [label=""Node b1""] | |
| } | |
| b1 -> a2 | |
| a2 -> b0 | |
| a0 -> a1 [color=""blue""] | |
| a2 -> a0 [color=""purple""] | |
| b1 -> a0 [color=""blue""] | |
| b0 -> a1 | |
| a0 -> b1 | |
| a2 -> a1 | |
| a1 -> a0 [color=""purple""] | |
| a1 -> b1 | |
| }",output/866.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates",output/299.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1",output/289.pintora.png | |
| Map out a process flow using an activity diagram. Include about 10 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| :step_8; | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| end",output/220.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 5 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| *** Subitem 0.2 | |
| **** Detail 0.2.1 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1",output/358.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 9 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 5d | |
| ""Task 1"" : 2024-01-06, 4d | |
| ""Task 2"" : 2024-01-10, 10d | |
| ""Task 3"" : 2024-01-20, 3d | |
| ""Task 4"" : 2024-01-23, 3d | |
| ""Task 5"" : 2024-01-26, 5d",output/230.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|| Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates | |
| Ent3 ||--o{ Ent4 : relates",output/348.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| bool field_2 | |
| string field_3 | |
| string field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| datetime field_2 | |
| float field_3 | |
| bool field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : owns | |
| TABLE_1 ||--o{ TABLE_2 : manages",output/475.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n5 -> n0 | |
| n1 -> n5 | |
| n0 -> n4 | |
| n3 -> n5 | |
| n4 -> n0 | |
| n5 -> n0 | |
| }",output/465.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| bool field_2 | |
| float field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| float field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| string field_2 | |
| int field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : contains | |
| TABLE_1 ||--|{ TABLE_2 : owns | |
| TABLE_2 ||--o{ TABLE_3 : has",output/713.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n10 [shape=""box"", label=""Node n10""] | |
| n2 -> n9 | |
| n2 -> n1 | |
| n4 -> n2 | |
| n5 -> n10 | |
| n6 -> n10 | |
| n9 -> n7 | |
| n3 -> n8 | |
| n9 -> n7 | |
| n2 -> n5 | |
| n2 -> n1 | |
| n9 -> n2 | |
| }",output/703.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 9 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 o-- Class2 | |
| Class2 o-- Class3",output/146.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 o-- Class2 | |
| Class2 *-- Class3",output/156.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n0 -> n2 | |
| n3 -> n0 | |
| n2 -> n4 | |
| n4 -> n3 | |
| n2 -> n1 | |
| n0 -> n4 | |
| }",output/735.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| float field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| bool field_2 | |
| string field_3 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : contains | |
| TABLE_1 ||--o{ TABLE_2 : has",output/725.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 15 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n3 -> n1 | |
| n2 -> n0 | |
| n3 -> n2 | |
| n0 -> n2 | |
| n2 -> n0 | |
| n3 -> n1 | |
| n2 -> n3 | |
| n3 -> n2 | |
| n1 -> n3 | |
| n0 -> n3 | |
| n1 -> n2 | |
| n0 -> n1 | |
| n0 -> n3 | |
| n0 -> n3 | |
| n3 -> n1 | |
| }",output/160.pintora.png | |
| Create a component diagram with frame and folder containers,"componentDiagram | |
| frame ""Application Framework"" { | |
| folder ""Core Modules"" { | |
| [Authentication] | |
| [Authorization] | |
| [Logging] | |
| } | |
| folder ""Business Logic"" { | |
| [User Management] | |
| [Order Processing] | |
| } | |
| } | |
| [User Management] --> [Authentication] | |
| [User Management] --> [Authorization] | |
| [Order Processing] --> [Logging]",output/981.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 --> Class2 | |
| Class2 o-- Class3 | |
| Class3 o-- Class4",output/170.pintora.png | |
| Create a class diagram for MVC pattern,"classDiagram | |
| title: MVC Pattern | |
| class Model { | |
| -data | |
| +getData() | |
| +setData(data) | |
| +notifyObservers() | |
| } | |
| class View { | |
| -controller | |
| +render() | |
| +getUserInput() | |
| } | |
| class Controller { | |
| -model | |
| -view | |
| +handleUserAction(action) | |
| +updateView() | |
| } | |
| Controller --> Model : updates | |
| Controller --> View : controls | |
| View --> Controller : user actions | |
| Model ..> View : notifies",output/991.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 11 elements.,"sequenceDiagram | |
| autonumber | |
| P4->>P1: msg_43 | |
| P2->>P3: msg_13 | |
| P0->P2: msg_30 | |
| P4->>P1: msg_42 | |
| P1-->P0: msg_47 | |
| P2->>P4: msg_5 | |
| P4-->>P0: msg_75 | |
| P2-->>P4: msg_22 | |
| P2-->P3: msg_30 | |
| P2-->P4: msg_78 | |
| P4->P2: msg_76",output/206.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 8 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 <|-- Class2 | |
| Class2 --> Class3",output/216.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 12 steps.,"sequenceDiagram | |
| autonumber | |
| Service_0->>Service_1: Message 823 | |
| Service_0->Service_1: Message 287 | |
| Service_1->Service_0: Message 693 | |
| loop Loop check | |
| Service_1->Service_0: Message 231 | |
| end | |
| Service_0->Service_1: Message 791 | |
| alt Condition | |
| Service_0-xService_1: Message 685 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_0->Service_1: Message 789 | |
| Service_1-xService_0: Message 882 | |
| Service_0->Service_1: Message 967 | |
| Service_0->Service_1: Message 194 | |
| Service_1-->Service_0: Message 635 | |
| Service_0-->Service_1: Message 509",output/453.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 o-- Class2 | |
| Class2 <|-- Class3 | |
| Class3 *-- Class4",output/82.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| :Process 8; | |
| end",output/443.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 7 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 <|-- Class2",output/92.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n3 -> n5 | |
| n3 -> n4 | |
| n1 -> n4 | |
| n0 -> n5 | |
| n1 -> n3 | |
| n0 -> n1 | |
| n0 -> n2 | |
| n0 -> n3 | |
| }",output/592.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| :Action 1; | |
| :Action 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Action 5; | |
| :Process 6; | |
| :Process 7; | |
| :Process 8; | |
| end",output/582.pintora.png | |
| Create a Gantt chart with custom styling,"gantt | |
| @param barHeight 25 | |
| @config({ | |
| ""gantt"": { | |
| ""barBackground"": ""#61afef"", | |
| ""sectionBackgrounds"": [""#e6f3ff"", ""#fff3e6"", null], | |
| ""sectionLabelColor"": ""#333333"" | |
| } | |
| }) | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Planning | |
| ""Kickoff"" : 2024-01-01, 1d | |
| ""Requirements"" : 2024-01-02, 5d | |
| section Development | |
| ""Sprint 1"" : 2024-01-08, 14d | |
| ""Sprint 2"" : 2024-01-22, 14d | |
| section Delivery | |
| ""Release"" : milestone, 2024-02-05, 0d",output/938.pintora.png | |
| Map a complex business process with activity diagram. Use advanced syntax features.,"activityDiagram | |
| title: Workflow | |
| start | |
| partition Processing { | |
| @note right: Important step 0 | |
| :Critical action 0; | |
| fork | |
| :Parallel Task A1; | |
| forkagain | |
| :Parallel Task B1; | |
| endfork | |
| if (Condition 2?) then (yes) | |
| :Action True 2; | |
| else (no) | |
| :Action False 2; | |
| endif | |
| @note right: Important step 3 | |
| :Critical action 3; | |
| while (Check 4?) is (yes) | |
| :Process 4; | |
| endwhile (done) | |
| :Step 5; | |
| :Step 6; | |
| } | |
| end",output/850.pintora.png | |
| Write an activity diagram with switch-case,"activityDiagram | |
| start | |
| :Get user role; | |
| switch (role?) | |
| case (admin) | |
| :Show admin dashboard; | |
| case (editor) | |
| :Show editor panel; | |
| case (viewer) | |
| :Show read-only view; | |
| endswitch | |
| :Load permissions; | |
| end",output/928.pintora.png | |
| Build a detailed component architecture diagram.,"componentDiagram | |
| title: Microservices | |
| cloud ""Azure"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| [Comp0_2] | |
| [Comp0_3] | |
| } | |
| cloud ""GCP"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| [Comp1_2] | |
| () I1 | |
| } | |
| package ""Services"" { | |
| [Comp2_0] | |
| [Comp2_1] | |
| () I2 | |
| } | |
| package ""Frontend"" { | |
| [Comp3_0] | |
| [Comp3_1] | |
| } | |
| [Comp1_1] ..> [Comp3_1] | |
| [Comp1_1] -- [Comp0_1] | |
| [Comp1_1] -- [Comp2_1] | |
| [Comp1_1] ..> [Comp2_0] | |
| [Comp0_0] -- [Comp0_2] | |
| [Comp1_0] ..> [Comp0_1] | |
| [Comp3_0] --> [Comp0_2] | |
| [Comp1_1] ..|> I2 | |
| [Comp2_0] ..> [Comp1_1] | |
| [Comp1_0] ..|> [Comp3_0] | |
| [Comp0_3] ..|> [Comp0_1] | |
| [Comp1_1] --> [Comp0_3] | |
| [Comp3_0] ..> [Comp2_1] | |
| [Comp0_0] ..> [Comp1_0] | |
| [Comp3_0] --> [Comp0_2] | |
| [Comp0_3] ..|> I1 | |
| [Comp0_1] ..> [Comp2_0] | |
| [Comp0_0] ..|> [Comp0_3] | |
| [Comp1_0] -- I1 | |
| I2 -- [Comp1_2] | |
| I1 ..> [Comp0_3] | |
| [Comp1_0] ..> [Comp0_2] | |
| I1 --> [Comp3_1] | |
| [Comp1_0] -- [Comp1_1]",output/822.pintora.png | |
| Write a Pintora diagram: model an object-oriented system with class diagram.,"classDiagram | |
| title: Factory Pattern | |
| class FactoryA { | |
| -string attr0 | |
| #boolean attr1 | |
| ~int attr2 | |
| -method0() T | |
| +{static} method1() string | |
| } | |
| class ServiceB { | |
| -int attr0 | |
| +int attr1 | |
| +method0() void | |
| #method1() string | |
| ~method2() boolean | |
| } | |
| class ManagerC { | |
| +string attr0 | |
| ~string attr1 | |
| -boolean attr2 | |
| -method0() string | |
| +method1() T | |
| } | |
| class StrategyD { | |
| ~int attr0 | |
| #string attr1 | |
| #List~T~ attr2 | |
| #method0() T | |
| #method1() void | |
| +method2() string | |
| } | |
| class HandlerE { | |
| ~int attr0 | |
| -method0() void | |
| #{static} method1() T | |
| } | |
| class FactoryF { | |
| -boolean attr0 | |
| #method0() void | |
| ~method1() void | |
| #method2() string | |
| } | |
| class HandlerG { | |
| <<enumeration>> | |
| -int attr0 | |
| #method0() string | |
| +{static} method1() string | |
| ~{static} method2() void | |
| } | |
| FactoryA <|.. ManagerC | |
| ServiceB o-- HandlerG | |
| ManagerC <|-- StrategyD | |
| StrategyD <|.. HandlerE | |
| HandlerE ..> HandlerG | |
| FactoryF --> HandlerG",output/832.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n6 -> n7 | |
| n2 -> n6 | |
| n0 -> n3 | |
| n5 -> n3 | |
| n6 -> n7 | |
| n3 -> n6 | |
| n0 -> n4 | |
| n2 -> n6 | |
| }",output/696.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| float field_2 | |
| int field_3 | |
| bool field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| int field_2 | |
| string field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| float field_2 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : manages | |
| TABLE_1 ||--o{ TABLE_2 : has | |
| TABLE_2 ||--o{ TABLE_3 : manages | |
| TABLE_3 ||--|| TABLE_4 : has",output/686.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 14 steps.,"sequenceDiagram | |
| participant Service_2 | |
| participant Service_3 | |
| Service_0-->>Service_3: Message 605 | |
| Service_0-xService_2: Message 300 | |
| loop Loop check | |
| Service_0-->>Service_2: Message 113 | |
| end | |
| Service_3->Service_1: Message 150 | |
| Service_0-->>Service_1: Message 970 | |
| @note right of Service_0: Note processing | |
| Service_0->>Service_3: Message 938 | |
| alt Condition | |
| Service_1-->Service_2: Message 277 | |
| else Other case | |
| Service_2-->>Service_1: Response | |
| end | |
| Service_3->>Service_2: Message 312 | |
| alt Condition | |
| Service_2-->Service_0: Message 505 | |
| else Other case | |
| Service_0-->>Service_2: Response | |
| end | |
| loop Loop check | |
| Service_1-->>Service_3: Message 203 | |
| end | |
| Service_0->>Service_1: Message 187 | |
| Service_0->>Service_1: Message 724 | |
| Service_1->>Service_0: Message 143 | |
| Service_2-xService_0: Message 200",output/488.pintora.png | |
| Design an Entity Relationship diagram. Include about 12 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates | |
| Ent3 }|--|| Ent4 : relates",output/59.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Action 1; | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| end",output/498.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 2d | |
| ""Task 1"" : 2024-01-03, 9d | |
| ""Task 2"" : 2024-01-12, 8d | |
| ""Task 3"" : 2024-01-20, 2d | |
| ""Task 4"" : 2024-01-22, 3d | |
| ""Task 5"" : 2024-01-25, 9d",output/49.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n10 [shape=""box"", label=""Node n10""] | |
| n5 -> n3 | |
| n6 -> n7 | |
| n4 -> n9 | |
| n10 -> n0 | |
| n5 -> n4 | |
| n6 -> n1 | |
| n5 -> n3 | |
| n5 -> n4 | |
| n9 -> n4 | |
| n4 -> n9 | |
| n8 -> n5 | |
| }",output/431.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 5 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| Service_0-->>Service_1: Message 807 | |
| Service_0-->Service_1: Message 977 | |
| Service_0-xService_1: Message 989 | |
| Service_1-xService_0: Message 360 | |
| Service_1-->Service_0: Message 362",output/549.pintora.png | |
| Write a component diagram showing a system with 5 components distributed across packages.,"componentDiagram | |
| package ""System A"" { | |
| [Comp0] | |
| [Comp1] | |
| } | |
| package ""System B"" { | |
| [Comp2] | |
| [Comp3] | |
| [Comp4] | |
| } | |
| () HTTP | |
| () DB_Conn | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3] | |
| [Comp3] --> [Comp4] | |
| [Comp0] --> HTTP | |
| [Comp4] --> DB_Conn",output/421.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Action 3; | |
| :Process 4; | |
| :Process 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| end",output/559.pintora.png | |
| Create a sequence diagram showing interaction between participants.,"sequenceDiagram | |
| autonumber | |
| P1-->P2: msg_18 | |
| P3->P2: msg_37 | |
| P3->>P2: msg_79 | |
| P0-->P1: msg_47 | |
| P0-->P2: msg_66 | |
| P0-->P2: msg_18 | |
| P3-->P0: msg_92",output/264.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 12 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 <|-- Class2 | |
| Class2 <|-- Class3",output/274.pintora.png | |
| Draft a component diagram for system architecture. Include about 7 elements.,"componentDiagram | |
| package ""System"" { | |
| [Comp0] | |
| [Comp1] | |
| [Comp2] | |
| [Comp3] | |
| [Comp4] | |
| [Comp5] | |
| } | |
| [Comp0] --> [Comp1] | |
| [Comp1] --> [Comp2] | |
| [Comp2] --> [Comp3] | |
| [Comp3] --> [Comp4] | |
| [Comp4] --> [Comp5]",output/102.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 12 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 4d | |
| ""Task 1"" : 2024-01-05, 9d | |
| ""Task 2"" : 2024-01-14, 4d | |
| ""Task 3"" : 2024-01-18, 7d | |
| ""Task 4"" : 2024-01-25, 8d",output/112.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| end",output/757.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| string field_2 | |
| datetime field_3 | |
| int field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| bool field_2 | |
| datetime field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : has | |
| TABLE_1 ||--|{ TABLE_2 : uses",output/747.pintora.png | |
| Create a Pintora sequence diagram showing a user login flow with authentication service,"sequenceDiagram | |
| title: User Login Flow | |
| participant User | |
| participant Frontend | |
| participant AuthService | |
| participant Database | |
| User->>Frontend: Enter credentials | |
| Frontend->>AuthService: POST /login | |
| AuthService->>Database: Query user | |
| Database-->>AuthService: User data | |
| alt Valid credentials | |
| AuthService-->>Frontend: JWT Token | |
| Frontend-->>User: Login successful | |
| else Invalid credentials | |
| AuthService-->>Frontend: 401 Unauthorized | |
| Frontend-->>User: Show error | |
| end",output/907.pintora.png | |
| Create an ER diagram showing inheritance relationships,"erDiagram | |
| PERSON { | |
| int id PK | |
| string name | |
| string phone | |
| } | |
| EMPLOYEE inherit PERSON | |
| CUSTOMER inherit PERSON | |
| EMPLOYEE { | |
| string department | |
| float salary | |
| date hire_date | |
| } | |
| CUSTOMER { | |
| string address | |
| int loyalty_points | |
| } | |
| EMPLOYEE ||--o{ ORDER : processes | |
| CUSTOMER ||--o{ ORDER : places",output/917.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 7 elements.,"sequenceDiagram | |
| autonumber | |
| P3->>P2: msg_60 | |
| P0->>P1: msg_4 | |
| P2-->>P3: msg_30 | |
| P1-->P3: msg_81 | |
| P3-->P2: msg_50 | |
| P3-->>P1: msg_90 | |
| P2-->>P3: msg_35",output/280.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 7 elements.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| ** Concept 2 | |
| *** Subitem 2.0 | |
| ** Feature 3 | |
| *** Subitem 3.0 | |
| *** Subitem 3.1 | |
| **** Detail 3.1.1",output/290.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| end",output/14.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 15 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n1 -> n3 | |
| n1 -> n3 | |
| n0 -> n2 | |
| n4 -> n3 | |
| n3 -> n2 | |
| n1 -> n2 | |
| n2 -> n1 | |
| n2 -> n1 | |
| n1 -> n4 | |
| n2 -> n1 | |
| n1 -> n0 | |
| n2 -> n0 | |
| n1 -> n0 | |
| n4 -> n2 | |
| n1 -> n3 | |
| }",output/239.pintora.png | |
| Map out a process flow using an activity diagram. Include about 15 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| :step_9; | |
| :step_10; | |
| :step_11; | |
| :step_12; | |
| :step_13; | |
| if (check14?) then (yes) | |
| :action_yes_14; | |
| else (no) | |
| :action_no_14; | |
| endif | |
| end",output/341.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 8 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n2 -> n1 | |
| n4 -> n2 | |
| n1 -> n4 | |
| n3 -> n2 | |
| n4 -> n2 | |
| n3 -> n0 | |
| n1 -> n2 | |
| n4 -> n2 | |
| }",output/229.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 5 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n2 -> n0 | |
| n6 -> n2 | |
| n3 -> n4 | |
| n3 -> n4 | |
| n5 -> n2 | |
| }",output/351.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n0 -> n3 | |
| n2 -> n3 | |
| n2 -> n5 | |
| n1 -> n2 | |
| n0 -> n2 | |
| n2 -> n0 | |
| n4 -> n1 | |
| }",output/514.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n3 -> n1 | |
| n3 -> n8 | |
| n3 -> n8 | |
| n0 -> n3 | |
| n0 -> n3 | |
| n4 -> n7 | |
| n3 -> n8 | |
| n4 -> n1 | |
| n7 -> n0 | |
| n0 -> n2 | |
| }",output/504.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Action 3; | |
| :Process 4; | |
| end",output/672.pintora.png | |
| Generate a DOT directed graph with 11 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""box"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n8 [shape=""diamond"", label=""Node n8""] | |
| n9 [shape=""diamond"", label=""Node n9""] | |
| n10 [shape=""diamond"", label=""Node n10""] | |
| n6 -> n2 | |
| n5 -> n0 | |
| n0 -> n10 | |
| n10 -> n4 | |
| n8 -> n0 | |
| n10 -> n5 | |
| n0 -> n9 | |
| n9 -> n5 | |
| n5 -> n10 | |
| n9 -> n1 | |
| n10 -> n0 | |
| }",output/662.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""circle"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n3 -> n1 | |
| n4 -> n1 | |
| n2 -> n0 | |
| n1 -> n0 | |
| n4 -> n6 | |
| n2 -> n1 | |
| n4 -> n3 | |
| n0 -> n6 | |
| n4 -> n5 | |
| }",output/768.pintora.png | |
| Generate a DOT directed graph with 12 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""ellipse"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""diamond"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n9 [shape=""diamond"", label=""Node n9""] | |
| n10 [shape=""diamond"", label=""Node n10""] | |
| n11 [shape=""box"", label=""Node n11""] | |
| n7 -> n2 | |
| n6 -> n8 | |
| n4 -> n6 | |
| n10 -> n5 | |
| n7 -> n3 | |
| n7 -> n1 | |
| n0 -> n8 | |
| n7 -> n9 | |
| n5 -> n0 | |
| n0 -> n5 | |
| n4 -> n9 | |
| }",output/610.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| :Process 1; | |
| :Action 2; | |
| :Action 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| :Process 6; | |
| :Process 7; | |
| :Process 8; | |
| :Process 9; | |
| end",output/778.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| :Action 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| :Process 5; | |
| fork | |
| :Parallel 1 6; | |
| forkagain | |
| :Parallel 2 6; | |
| endfork | |
| :Process 7; | |
| :Process 8; | |
| if (Check 9?) then (yes) | |
| :Handle Yes 9; | |
| else (no) | |
| :Handle No 9; | |
| endif | |
| end",output/600.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 8 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_2 | |
| participant Service_3 | |
| Service_0->Service_2: Message 557 | |
| Service_0-xService_2: Message 967 | |
| Service_2-->Service_1: Message 735 | |
| Service_1-->Service_3: Message 693 | |
| Service_2-->>Service_3: Message 798 | |
| Service_2-->Service_3: Message 188 | |
| @note right of Service_1: Note processing | |
| Service_1-xService_3: Message 113 | |
| Service_0-->Service_2: Message 375",output/576.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 7 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_1 | |
| participant Service_2 | |
| participant Service_3 | |
| loop Loop check | |
| Service_2-xService_0: Message 633 | |
| end | |
| Service_2-xService_0: Message 328 | |
| Service_2-->>Service_0: Message 476 | |
| alt Condition | |
| Service_1-xService_0: Message 351 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_0-->>Service_3: Message 112 | |
| Service_0-->Service_3: Message 975 | |
| alt Condition | |
| Service_3-xService_2: Message 841 | |
| else Other case | |
| Service_2-->>Service_3: Response | |
| end",output/566.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 8d | |
| ""Task 1"" : 2024-01-09, 3d | |
| ""Task 2"" : 2024-01-12, 7d | |
| ""Task 3"" : 2024-01-19, 6d | |
| ""Task 4"" : 2024-01-25, 6d | |
| ""Task 5"" : 2024-01-31, 5d",output/323.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| ** Idea 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1 | |
| *** Subitem 2.2",output/333.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 5 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 o-- Class2 | |
| Class2 o-- Class3 | |
| Class3 --> Class4",output/66.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 7 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 7d | |
| ""Task 1"" : 2024-01-08, 9d | |
| ""Task 2"" : 2024-01-17, 5d | |
| ""Task 3"" : 2024-01-22, 7d | |
| ""Task 4"" : 2024-01-29, 7d",output/7.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 10d | |
| ""Task 1"" : 2024-01-11, 4d | |
| ""Task 2"" : 2024-01-15, 7d",output/76.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 10 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n0 -> n4 | |
| n5 -> n1 | |
| n3 -> n5 | |
| n5 -> n0 | |
| n4 -> n0 | |
| n3 -> n4 | |
| n5 -> n2 | |
| n3 -> n0 | |
| n2 -> n1 | |
| n4 -> n3 | |
| }",output/184.pintora.png | |
| Write an activity diagram for order fulfillment,"activityDiagram | |
| title: Order Fulfillment | |
| start | |
| :Receive order; | |
| partition Validation { | |
| :Validate payment; | |
| if (Payment valid?) then (yes) | |
| :Validate inventory; | |
| else (no) | |
| :Cancel order; | |
| end | |
| endif | |
| } | |
| partition Fulfillment { | |
| :Pick items from warehouse; | |
| :Pack items; | |
| :Generate shipping label; | |
| } | |
| partition Shipping { | |
| :Hand to carrier; | |
| :Update tracking; | |
| :Send notification; | |
| } | |
| end",output/965.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 7d | |
| ""Task 1"" : 2024-01-08, 2d | |
| ""Task 2"" : 2024-01-10, 10d",output/194.pintora.png | |
| Write an ER diagram for a social media platform,"erDiagram | |
| title: Social Media Database | |
| USER { | |
| int user_id PK | |
| string username | |
| string email | |
| datetime created_at | |
| } | |
| POST { | |
| int post_id PK | |
| int user_id FK | |
| text content | |
| datetime posted_at | |
| } | |
| COMMENT { | |
| int comment_id PK | |
| int post_id FK | |
| int user_id FK | |
| text content | |
| } | |
| LIKE { | |
| int user_id PK | |
| int post_id PK | |
| datetime liked_at | |
| } | |
| FOLLOW { | |
| int follower_id PK | |
| int following_id PK | |
| } | |
| USER ||--o{ POST : creates | |
| USER ||--o{ COMMENT : writes | |
| USER ||--o{ LIKE : gives | |
| POST ||--o{ COMMENT : has | |
| POST ||--o{ LIKE : receives | |
| USER ||--o{ FOLLOW : follows",output/975.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| :Action 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Action 6; | |
| :Process 7; | |
| :Process 8; | |
| :Process 9; | |
| end",output/583.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| loop Loop check | |
| Service_0-->Service_1: Message 783 | |
| end | |
| Service_1-->Service_0: Message 953 | |
| Service_1->>Service_0: Message 573 | |
| Service_1->Service_0: Message 851 | |
| loop Loop check | |
| Service_0->Service_1: Message 525 | |
| end | |
| Service_1-->Service_0: Message 667 | |
| Service_1->Service_0: Message 484 | |
| Service_0->Service_1: Message 396 | |
| Service_0-xService_1: Message 604 | |
| Service_0-->Service_1: Message 319",output/593.pintora.png | |
| Create an activity diagram with partitions and notes,"activityDiagram | |
| start | |
| partition Initialization { | |
| :Load configuration; | |
| @note right: Read from config.yaml | |
| group #88bbf4 ""Setup"" { | |
| :Initialize database; | |
| :Setup logging; | |
| } | |
| } | |
| partition Processing { | |
| :Start main loop; | |
| @start_note left | |
| Main processing loop | |
| runs until shutdown signal | |
| @end_note | |
| } | |
| end",output/929.pintora.png | |
| Visualize a complex graph with DOT diagram. Use advanced syntax features.,"dotDiagram | |
| digraph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""box"", bgcolor=""#e3f2fd""] | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n6 -> n2 | |
| n7 -> n0 [color=""purple""] | |
| n0 -> n3 [color=""purple""] | |
| n1 -> n7 | |
| n4 -> n0 | |
| n7 -> n3 | |
| n1 -> n7 | |
| n3 -> n0 | |
| n0 -> n1 | |
| n1 -> n2 | |
| }",output/851.pintora.png | |
| Write a Gantt chart with mark dates,"gantt | |
| title Development Timeline | |
| dateFormat YYYY-MM-DDTHH | |
| axisFormat MM-DD | |
| section Phase 1 | |
| ""Planning"" : 2024-03-01, 2024-03-07 | |
| ""Design"" : 2024-03-07, 2024-03-14 | |
| markDate 2024-03-10T12 | |
| section Phase 2 | |
| ""Implementation"" : 2024-03-14, 2024-03-28 | |
| ""Review"" : 2024-03-28, 2024-04-01 | |
| markDate 2024-03-21T09",output/939.pintora.png | |
| Create an advanced sequence diagram with complex interactions.,"sequenceDiagram | |
| autonumber | |
| loop Poll | |
| ServiceE->ServiceA: Process event | |
| ServiceA-->>ServiceE: Response | |
| end | |
| ServiceC->ServiceD: Fetch data | |
| ServiceC-->ServiceF: Process event | |
| ServiceA-->>ServiceD: Process event | |
| activate ServiceC | |
| ServiceB-xServiceC: Request 4 | |
| deactivate ServiceC | |
| loop Retry | |
| ServiceC-xServiceF: Query 5 | |
| ServiceF-->>ServiceC: Response | |
| end | |
| loop Retry | |
| ServiceC-xServiceE: Fetch data | |
| ServiceE-->>ServiceC: Response | |
| end | |
| @note right of ServiceE: Computing | |
| ServiceE-->ServiceF: Query 7 | |
| ServiceC->>ServiceA: Request 8",output/841.pintora.png | |
| Write an activity diagram for exception handling,"activityDiagram | |
| start | |
| :Try block; | |
| if (Exception thrown?) then (yes) | |
| switch (Exception type?) | |
| case (IOException) | |
| :Log IO error; | |
| :Retry operation; | |
| case (SQLException) | |
| :Rollback transaction; | |
| :Log DB error; | |
| case (Other) | |
| :Log generic error; | |
| endswitch | |
| :Execute finally block; | |
| else (no) | |
| :Continue execution; | |
| :Execute finally block; | |
| endif | |
| end",output/990.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 8 elements.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| *** Subitem 0.2 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| *** Subitem 1.2 | |
| **** Detail 1.2.1 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| ** Idea 3 | |
| *** Subitem 3.0",output/171.pintora.png | |
| Write an ER diagram with dashed relationships,"erDiagram | |
| %% Dashed lines indicate non-identifying relationships | |
| EMPLOYEE { | |
| int id PK | |
| string name | |
| } | |
| PROJECT { | |
| int id PK | |
| string name | |
| } | |
| ASSIGNMENT { | |
| int employee_id PK | |
| int project_id PK | |
| date start_date | |
| } | |
| %% Solid line: identifying relationship | |
| EMPLOYEE ||--|{ ASSIGNMENT : has | |
| %% Dashed line: non-identifying relationship | |
| PROJECT }|..|{ ASSIGNMENT : includes",output/980.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| :step_5; | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| :step_8; | |
| :step_9; | |
| :step_10; | |
| :step_11; | |
| if (check12?) then (yes) | |
| :action_yes_12; | |
| else (no) | |
| :action_no_12; | |
| endif | |
| end",output/161.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| int field_2 | |
| bool field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| bool field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| datetime field_2 | |
| string field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| datetime field_2 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : manages | |
| TABLE_1 ||--|| TABLE_2 : owns | |
| TABLE_2 ||--o{ TABLE_3 : contains | |
| TABLE_3 ||--|{ TABLE_4 : has | |
| TABLE_4 ||--|| TABLE_5 : owns",output/724.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| string field_2 | |
| bool field_3 | |
| datetime field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| bool field_2 | |
| int field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| datetime field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| bool field_2 | |
| float field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| int field_1 | |
| float field_2 | |
| int field_3 | |
| bool field_4 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| float field_2 | |
| string field_3 | |
| string field_4 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--|| TABLE_2 : manages | |
| TABLE_2 ||--|| TABLE_3 : uses | |
| TABLE_3 ||--|| TABLE_4 : uses | |
| TABLE_4 ||--|| TABLE_5 : uses",output/734.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 7 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n2 -> n0 | |
| n3 -> n2 | |
| n3 -> n0 | |
| n3 -> n0 | |
| n1 -> n2 | |
| n1 -> n0 | |
| n3 -> n2 | |
| }",output/93.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| :Process 2; | |
| :Process 3; | |
| :Process 4; | |
| :Process 5; | |
| :Process 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| :Action 8; | |
| end",output/442.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|{ Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates",output/83.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""diamond"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n8 [shape=""box"", label=""Node n8""] | |
| n8 -> n2 | |
| n3 -> n2 | |
| n0 -> n2 | |
| n1 -> n0 | |
| n4 -> n5 | |
| n6 -> n2 | |
| n6 -> n3 | |
| n5 -> n1 | |
| n1 -> n0 | |
| n5 -> n1 | |
| }",output/452.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n1 -> n0 | |
| n3 -> n4 | |
| n4 -> n0 | |
| n3 -> n4 | |
| n3 -> n2 | |
| n2 -> n0 | |
| n2 -> n3 | |
| n0 -> n1 | |
| n4 -> n1 | |
| n3 -> n1 | |
| n3 -> n1 | |
| }",output/217.pintora.png | |
| Design an Entity Relationship diagram. Include about 15 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 ||--|{ Ent3 : relates | |
| Ent3 ||--|| Ent4 : relates",output/207.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 8 elements.,"sequenceDiagram | |
| autonumber | |
| P1-->P0: msg_56 | |
| P3->P2: msg_41 | |
| P3-->P2: msg_89 | |
| P2->P4: msg_31 | |
| P0->P3: msg_46 | |
| P2->>P4: msg_65 | |
| P3-->>P1: msg_36 | |
| P1->>P4: msg_72",output/275.pintora.png | |
| Map out a process flow using an activity diagram. Include about 11 elements.,"activityDiagram | |
| start | |
| :step_0; | |
| :step_1; | |
| :step_2; | |
| :step_3; | |
| if (check4?) then (yes) | |
| :action_yes_4; | |
| else (no) | |
| :action_no_4; | |
| endif | |
| if (check5?) then (yes) | |
| :action_yes_5; | |
| else (no) | |
| :action_no_5; | |
| endif | |
| :step_6; | |
| if (check7?) then (yes) | |
| :action_yes_7; | |
| else (no) | |
| :action_no_7; | |
| endif | |
| :step_8; | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| :step_10; | |
| end",output/265.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| :Process 1; | |
| :Process 2; | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| :Process 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| if (Check 9?) then (yes) | |
| :Handle Yes 9; | |
| else (no) | |
| :Handle No 9; | |
| endif | |
| end",output/558.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| bool field_2 | |
| bool field_3 | |
| float field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| string field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : manages | |
| TABLE_1 ||--o{ TABLE_2 : uses",output/420.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| int field_2 | |
| bool field_3 | |
| float field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| bool field_2 | |
| datetime field_3 | |
| datetime field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| bool field_2 | |
| string field_3 | |
| int field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| datetime field_2 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : contains | |
| TABLE_1 ||--o{ TABLE_2 : manages | |
| TABLE_2 ||--|{ TABLE_3 : owns | |
| TABLE_3 ||--o{ TABLE_4 : owns",output/548.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| datetime field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| bool field_2 | |
| bool field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| string field_1 | |
| string field_2 | |
| int field_3 | |
| int field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| bool field_3 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : manages | |
| TABLE_1 ||--|{ TABLE_2 : owns | |
| TABLE_2 ||--o{ TABLE_3 : contains | |
| TABLE_3 ||--|{ TABLE_4 : has",output/430.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| int field_2 | |
| int field_3 | |
| int field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| string field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| string field_2 | |
| string field_3 | |
| int field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| int field_2 | |
| int field_3 | |
| string field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : uses | |
| TABLE_1 ||--|{ TABLE_2 : contains | |
| TABLE_2 ||--|| TABLE_3 : has | |
| TABLE_3 ||--o{ TABLE_4 : has",output/746.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| :Process 2; | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| :Process 8; | |
| end",output/756.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| if (check0?) then (yes) | |
| :action_yes_0; | |
| else (no) | |
| :action_no_0; | |
| endif | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| if (check2?) then (yes) | |
| :action_yes_2; | |
| else (no) | |
| :action_no_2; | |
| endif | |
| :step_3; | |
| :step_4; | |
| :step_5; | |
| if (check6?) then (yes) | |
| :action_yes_6; | |
| else (no) | |
| :action_no_6; | |
| endif | |
| :step_7; | |
| :step_8; | |
| :step_9; | |
| if (check10?) then (yes) | |
| :action_yes_10; | |
| else (no) | |
| :action_no_10; | |
| endif | |
| :step_11; | |
| :step_12; | |
| :step_13; | |
| :step_14; | |
| end",output/113.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 <|-- Class2 | |
| Class2 *-- Class3 | |
| Class3 o-- Class4",output/103.pintora.png | |
| Generate a DOT directed graph with 7 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n6 -> n0 | |
| n5 -> n3 | |
| n6 -> n5 | |
| n4 -> n0 | |
| }",output/687.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| string field_2 | |
| string field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| bool field_2 | |
| bool field_3 | |
| string field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| bool field_3 | |
| bool field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| float field_2 | |
| string field_3 | |
| datetime field_4 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : contains | |
| TABLE_1 ||--|{ TABLE_2 : owns | |
| TABLE_2 }|--|| TABLE_3 : uses | |
| TABLE_3 ||--|| TABLE_4 : has | |
| TABLE_4 }|--|| TABLE_5 : owns",output/697.pintora.png | |
| Design a comprehensive Entity Relationship diagram.,"erDiagram | |
| @config({""er"": {""edgeType"": ""ortho""}}) | |
| PRODUCT { | |
| int product_id PK | |
| float phone | |
| datetime address | |
| int email | |
| int name | |
| } | |
| REVIEW { | |
| int review_id PK | |
| int phone | |
| text address | |
| float phone | |
| } | |
| INVOICE { | |
| int invoice_id PK | |
| int address | |
| string email | |
| } | |
| ORDER { | |
| int order_id PK | |
| datetime email | |
| datetime date | |
| } | |
| SHIPMENT { | |
| int shipment_id PK | |
| text quantity | |
| float address FK | |
| } | |
| PRODUCT }|..|{ REVIEW : manages | |
| REVIEW }|..|{ INVOICE : contains | |
| INVOICE ||--o{ SHIPMENT : includes | |
| ORDER }|..|{ SHIPMENT : contains",output/833.pintora.png | |
| Build a detailed component architecture diagram. Use advanced syntax features.,"componentDiagram | |
| title: Data Pipeline | |
| cloud ""Azure"" { | |
| [Comp0_0] | |
| [Comp0_1] | |
| () I0 | |
| } | |
| cloud ""Azure"" { | |
| [Comp1_0] | |
| [Comp1_1] | |
| [Comp1_2] | |
| [Comp1_3] | |
| } | |
| [Comp1_3] ..> [Comp1_1] | |
| [Comp1_1] -- [Comp1_0] | |
| [Comp1_3] ..> [Comp0_0] | |
| [Comp1_3] -- I0 | |
| [Comp1_0] --> [Comp0_0] | |
| [Comp0_0] ..> [Comp1_3] | |
| [Comp1_0] ..> [Comp0_1] | |
| [Comp1_0] ..|> [Comp1_1] | |
| I0 -- [Comp1_2] | |
| [Comp1_2] --> [Comp0_1] | |
| [Comp1_2] -- I0 | |
| [Comp1_0] ..|> [Comp0_0] | |
| [Comp1_1] ..|> I0",output/823.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 6d | |
| ""Task 2"" : 2024-01-16, 4d",output/48.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| float field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| bool field_2 | |
| int field_3 | |
| float field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| bool field_1 | |
| int field_2 | |
| bool field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : manages | |
| TABLE_1 ||--o{ TABLE_2 : manages | |
| TABLE_2 ||--o{ TABLE_3 : manages | |
| TABLE_3 }|--|| TABLE_4 : has | |
| TABLE_4 ||--o{ TABLE_5 : owns | |
| TABLE_5 }|--|| TABLE_6 : manages",output/499.pintora.png | |
| Design an Entity Relationship diagram. Include about 5 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates | |
| Ent3 ||--|{ Ent4 : relates | |
| Ent4 ||--o{ Ent5 : relates",output/58.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n6 [shape=""circle"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n5 -> n1 | |
| n2 -> n7 | |
| n0 -> n4 | |
| n7 -> n5 | |
| n0 -> n6 | |
| n4 -> n0 | |
| n6 -> n2 | |
| n4 -> n7 | |
| }",output/489.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| :Action 5; | |
| :Process 6; | |
| if (Check 7?) then (yes) | |
| :Handle Yes 7; | |
| else (no) | |
| :Handle No 7; | |
| endif | |
| if (Check 8?) then (yes) | |
| :Handle Yes 8; | |
| else (no) | |
| :Handle No 8; | |
| endif | |
| if (Check 9?) then (yes) | |
| :Handle Yes 9; | |
| else (no) | |
| :Handle No 9; | |
| endif | |
| end",output/505.pintora.png | |
| Write an Entity Relationship diagram with 7 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| float field_1 | |
| bool field_2 | |
| datetime field_3 | |
| bool field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| bool field_1 | |
| float field_2 | |
| bool field_3 | |
| datetime field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| string field_2 | |
| bool field_3 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| string field_0 | |
| int field_1 | |
| } | |
| TABLE_6 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| bool field_2 | |
| float field_3 | |
| string field_4 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : has | |
| TABLE_1 ||--|| TABLE_2 : manages | |
| TABLE_2 }|--|| TABLE_3 : contains | |
| TABLE_3 ||--|{ TABLE_4 : owns | |
| TABLE_4 ||--|| TABLE_5 : contains | |
| TABLE_5 ||--o{ TABLE_6 : contains",output/515.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n2 -> n0 | |
| n2 -> n1 | |
| n3 -> n1 | |
| n0 -> n1 | |
| n2 -> n1 | |
| }",output/350.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n5 -> n0 | |
| n2 -> n1 | |
| n2 -> n1 | |
| n2 -> n1 | |
| n2 -> n0 | |
| n5 -> n3 | |
| n1 -> n4 | |
| n0 -> n4 | |
| n4 -> n5 | |
| n0 -> n2 | |
| }",output/228.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 8 elements.,"sequenceDiagram | |
| autonumber | |
| P0-->>P3: msg_99 | |
| P3-->P1: msg_98 | |
| P1->P3: msg_82 | |
| P1-->>P2: msg_10 | |
| P0->P2: msg_85 | |
| P2->P3: msg_15 | |
| P1-->>P2: msg_10 | |
| P0->>P2: msg_90",output/340.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 }|--|| Ent1 : relates | |
| Ent1 ||--o{ Ent2 : relates",output/238.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 9 steps.,"sequenceDiagram | |
| autonumber | |
| Service_1->>Service_0: Message 356 | |
| Service_0->>Service_1: Message 459 | |
| Service_0->>Service_1: Message 990 | |
| Service_1->>Service_0: Message 232 | |
| Service_1-->Service_0: Message 475 | |
| Service_0-->Service_1: Message 184 | |
| Service_0-->>Service_1: Message 502 | |
| Service_0-->Service_1: Message 918 | |
| Service_1-->>Service_0: Message 684",output/663.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| :Process 1; | |
| :Process 2; | |
| fork | |
| :Parallel 1 3; | |
| forkagain | |
| :Parallel 2 3; | |
| endfork | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| :Process 7; | |
| :Action 8; | |
| end",output/673.pintora.png | |
| Write an ER diagram for an e-commerce database schema,"erDiagram | |
| CUSTOMER { | |
| int id PK | |
| string name | |
| string email | |
| } | |
| ORDER { | |
| int id PK | |
| int customer_id FK | |
| datetime order_date | |
| float total | |
| } | |
| PRODUCT { | |
| int id PK | |
| string name | |
| float price | |
| int stock | |
| } | |
| ORDER_ITEM { | |
| int order_id PK | |
| int product_id PK | |
| int quantity | |
| float unit_price | |
| } | |
| CUSTOMER ||--o{ ORDER : places | |
| ORDER ||--|{ ORDER_ITEM : contains | |
| PRODUCT ||--o{ ORDER_ITEM : ""included in"" ",output/916.pintora.png | |
| Schedule a project timeline with Gantt chart.,"gantt | |
| title Infrastructure Upgrade | |
| dateFormat YYYY-MM-DD | |
| section Planning | |
| ""Task Pla1"" : 2024-01-01, 13d | |
| ""Task Pla2"" : 2024-01-14, 8d | |
| section Testing | |
| ""Task Tes1"" : 2024-01-22, 13d | |
| ""Task Tes2"" : 2024-02-04, 7d | |
| ""Milestone"" : milestone, 2024-02-16, 0d | |
| section Marketing | |
| ""Task Mar1"" : 2024-02-11, 16d | |
| ""Milestone"" : milestone, 2024-03-05, 0d | |
| ""Task Mar2"" : 2024-02-27, 18d | |
| ""Task Mar3"" : 2024-03-16, 11d | |
| ""Task Mar4"" : 2024-03-27, 16d | |
| ""Task Mar5"" : 2024-04-12, 4d",output/906.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 9 elements.,"sequenceDiagram | |
| autonumber | |
| P2-->P0: msg_79 | |
| P2->>P1: msg_66 | |
| P1-->>P2: msg_72 | |
| P1-->>P2: msg_8 | |
| P1->P0: msg_91 | |
| P1->P2: msg_16 | |
| P2-->>P0: msg_76 | |
| P0->P2: msg_9 | |
| P2->>P1: msg_34",output/15.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 15 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 o-- Class1 | |
| Class1 *-- Class2 | |
| Class2 <|-- Class3 | |
| Class3 *-- Class4",output/291.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 8 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n2 -> n1 | |
| n3 -> n0 | |
| n4 -> n2 | |
| n3 -> n4 | |
| n3 -> n1 | |
| n4 -> n1 | |
| n2 -> n1 | |
| n3 -> n0 | |
| }",output/281.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 *-- Class1 | |
| Class1 --> Class2 | |
| Class2 <|-- Class3 | |
| Class3 *-- Class4",output/77.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 5 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n5 -> n2 | |
| n0 -> n1 | |
| n0 -> n2 | |
| n3 -> n1 | |
| n3 -> n2 | |
| }",output/6.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates",output/67.pintora.png | |
| Create a sequence diagram for microservice communication with message queue,"sequenceDiagram | |
| title: Async Order Processing | |
| participant [<actor> Client] | |
| participant OrderService | |
| participant [<database> MessageQueue] | |
| participant InventoryService | |
| participant NotificationService | |
| Client->>OrderService: Create order | |
| OrderService->>MessageQueue: Publish OrderCreated event | |
| OrderService-->>Client: 202 Accepted | |
| par Process asynchronously | |
| MessageQueue->>InventoryService: OrderCreated | |
| InventoryService->>InventoryService: Reserve items | |
| InventoryService->>MessageQueue: ItemsReserved | |
| and | |
| MessageQueue->>NotificationService: OrderCreated | |
| NotificationService->>NotificationService: Send confirmation | |
| end",output/974.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n0 -> n5 | |
| n0 -> n1 | |
| n0 -> n1 | |
| n4 -> n2 | |
| n5 -> n3 | |
| n4 -> n0 | |
| n3 -> n5 | |
| n0 -> n5 | |
| n2 -> n0 | |
| n5 -> n4 | |
| n3 -> n2 | |
| n5 -> n3 | |
| n0 -> n1 | |
| n1 -> n0 | |
| }",output/195.pintora.png | |
| Create an activity diagram for a code review process,"activityDiagram | |
| title: Code Review Process | |
| start | |
| :Create pull request; | |
| :Assign reviewers; | |
| fork | |
| :Review code quality; | |
| forkagain | |
| :Run automated tests; | |
| forkagain | |
| :Check coding standards; | |
| endfork | |
| if (All checks pass?) then (yes) | |
| if (Approved by reviewers?) then (yes) | |
| :Merge to main branch; | |
| :Deploy to staging; | |
| else (no) | |
| :Request changes; | |
| :Update code; | |
| endif | |
| else (no) | |
| :Fix failing checks; | |
| endif | |
| end",output/964.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 <|-- Class1 | |
| Class1 --> Class2",output/185.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""ellipse"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""ellipse"", label=""Node n7""] | |
| n2 -> n3 | |
| n4 -> n1 | |
| n6 -> n0 | |
| n5 -> n7 | |
| n3 -> n5 | |
| n2 -> n1 | |
| n5 -> n0 | |
| n2 -> n0 | |
| n7 -> n0 | |
| n5 -> n4 | |
| }",output/601.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| float field_2 | |
| float field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| datetime field_2 | |
| datetime field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| datetime field_2 | |
| float field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| string field_2 | |
| int field_3 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| bool field_2 | |
| float field_3 | |
| int field_4 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : manages | |
| TABLE_1 ||--|| TABLE_2 : contains | |
| TABLE_2 ||--|| TABLE_3 : contains | |
| TABLE_3 ||--|{ TABLE_4 : has | |
| TABLE_4 ||--|{ TABLE_5 : has",output/779.pintora.png | |
| Generate a DOT directed graph with 8 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""box"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""box"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n5 [shape=""ellipse"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""box"", label=""Node n7""] | |
| n2 -> n1 | |
| n6 -> n0 | |
| n4 -> n2 | |
| n1 -> n2 | |
| n0 -> n6 | |
| n0 -> n3 | |
| n1 -> n2 | |
| n2 -> n6 | |
| }",output/611.pintora.png | |
| Write an Entity Relationship diagram with 6 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| string field_2 | |
| datetime field_3 | |
| string field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| int field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| datetime field_2 | |
| bool field_3 | |
| string field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| bool field_0 | |
| datetime field_1 | |
| string field_2 | |
| } | |
| TABLE_5 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| datetime field_2 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : uses | |
| TABLE_1 ||--|| TABLE_2 : has | |
| TABLE_2 ||--|{ TABLE_3 : contains | |
| TABLE_3 ||--o{ TABLE_4 : uses | |
| TABLE_4 }|--|| TABLE_5 : owns",output/769.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 6 elements.,"mindmap | |
| * Root Topic | |
| ** Feature 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| *** Subitem 1.2 | |
| **** Detail 1.2.1 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1 | |
| *** Subitem 2.2",output/332.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 }|--|| Ent2 : relates | |
| Ent2 ||--o{ Ent3 : relates | |
| Ent3 ||--|| Ent4 : relates | |
| Ent4 ||--o{ Ent5 : relates",output/322.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| bool field_2 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| string field_0 | |
| float field_1 | |
| string field_2 | |
| bool field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| bool field_2 | |
| bool field_3 | |
| datetime field_4 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : uses | |
| TABLE_1 ||--o{ TABLE_2 : uses",output/567.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 8 steps.,"sequenceDiagram | |
| participant Service_2 | |
| participant Service_3 | |
| participant Service_4 | |
| loop Loop check | |
| Service_3-->>Service_1: Message 584 | |
| end | |
| Service_3->Service_0: Message 359 | |
| Service_0-->Service_1: Message 392 | |
| Service_1->>Service_0: Message 342 | |
| Service_2-->Service_0: Message 904 | |
| loop Loop check | |
| Service_2-xService_4: Message 885 | |
| end | |
| Service_2->Service_0: Message 507 | |
| Service_2-->Service_4: Message 198",output/577.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--|{ Ent3 : relates | |
| Ent3 ||--o{ Ent4 : relates",output/314.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 15 elements.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| ** Task 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1 | |
| ** Task 3 | |
| *** Subitem 3.0 | |
| **** Detail 3.0.1 | |
| *** Subitem 3.1 | |
| *** Subitem 3.2 | |
| **** Detail 3.2.1",output/304.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| datetime field_2 | |
| int field_3 | |
| float field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| int field_2 | |
| float field_3 | |
| datetime field_4 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| float field_2 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : manages | |
| TABLE_1 ||--o{ TABLE_2 : uses | |
| TABLE_2 ||--|{ TABLE_3 : owns",output/541.pintora.png | |
| Write an Entity Relationship diagram with 3 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| string field_2 | |
| bool field_3 | |
| int field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| int field_2 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--|| TABLE_2 : manages",output/439.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 14 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_2 | |
| Service_1-->>Service_0: Message 619 | |
| alt Condition | |
| Service_1-->Service_0: Message 517 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_0-->Service_2: Message 577 | |
| Service_0-->Service_2: Message 969 | |
| Service_0->>Service_1: Message 979 | |
| Service_1-->Service_2: Message 905 | |
| Service_1-->Service_2: Message 348 | |
| loop Loop check | |
| Service_0->>Service_1: Message 884 | |
| end | |
| loop Loop check | |
| Service_2-->>Service_1: Message 785 | |
| end | |
| Service_0->>Service_1: Message 122 | |
| Service_0->Service_1: Message 715 | |
| alt Condition | |
| Service_1-->>Service_0: Message 676 | |
| else Other case | |
| Service_0-->>Service_1: Response | |
| end | |
| Service_1->>Service_2: Message 675 | |
| Service_2-->>Service_0: Message 818",output/551.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| int field_2 | |
| datetime field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| datetime field_0 | |
| int field_1 | |
| string field_2 | |
| string field_3 | |
| int field_4 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| int field_0 | |
| datetime field_1 | |
| datetime field_2 | |
| string field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| float field_0 | |
| int field_1 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| int field_0 | |
| bool field_1 | |
| datetime field_2 | |
| int field_3 | |
| } | |
| TABLE_0 ||--o{ TABLE_1 : uses | |
| TABLE_1 ||--|{ TABLE_2 : manages | |
| TABLE_2 ||--|| TABLE_3 : owns | |
| TABLE_3 ||--|{ TABLE_4 : uses",output/429.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| fork | |
| :Parallel 1 1; | |
| forkagain | |
| :Parallel 2 1; | |
| endfork | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| :Action 4; | |
| end",output/627.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| datetime field_2 | |
| string field_3 | |
| bool field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| float field_1 | |
| float field_2 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| datetime field_0 | |
| float field_1 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| float field_2 | |
| } | |
| TABLE_0 ||--|| TABLE_1 : manages | |
| TABLE_1 ||--|| TABLE_2 : owns | |
| TABLE_2 ||--o{ TABLE_3 : manages",output/637.pintora.png | |
| Design a comprehensive Entity Relationship diagram. Include nested structures.,"erDiagram | |
| title: Inventory System | |
| PAYMENT { | |
| int payment_id PK | |
| datetime quantity | |
| datetime description | |
| int email | |
| float price | |
| text phone | |
| } | |
| PRODUCT { | |
| int product_id PK | |
| float phone | |
| datetime price | |
| bool email | |
| int name FK | |
| } | |
| INVOICE { | |
| int invoice_id PK | |
| text email | |
| float quantity FK | |
| int date | |
| } | |
| CUSTOMER { | |
| int customer_id PK | |
| float description | |
| datetime name FK | |
| float address | |
| string quantity | |
| } | |
| INVENTORY { | |
| int inventory_id PK | |
| text quantity FK | |
| float quantity | |
| float status | |
| } | |
| PAYMENT }|--|| CUSTOMER : includes | |
| PRODUCT }|--|| INVOICE : contains | |
| INVOICE ||--|| INVENTORY : owns | |
| CUSTOMER ||--|{ INVENTORY : belongs to",output/893.pintora.png | |
| Model an object-oriented system with class diagram.,"classDiagram | |
| class FactoryA { | |
| <<interface>> | |
| #string attr0 | |
| #int attr1 | |
| -List~T~ attr2 | |
| ~method0() string | |
| -method1() boolean | |
| } | |
| class RepositoryB { | |
| -boolean attr0 | |
| -method0() T | |
| -method1() boolean | |
| } | |
| class RepositoryC { | |
| #boolean attr0 | |
| +{static} method0() string | |
| } | |
| class FactoryD { | |
| <<abstract>> | |
| +int attr0 | |
| #boolean attr1 | |
| +{static} method0() void | |
| -method1() string | |
| } | |
| class ControllerE { | |
| +List~T~ attr0 | |
| -List~T~ attr1 | |
| +string attr2 | |
| ~method0() string | |
| ~{static} method1() string | |
| ~method2() void | |
| } | |
| class HandlerF { | |
| +boolean attr0 | |
| ~method0() void | |
| } | |
| class StrategyG { | |
| +int attr0 | |
| +int attr1 | |
| #boolean attr2 | |
| -List~T~ attr3 | |
| -method0() string | |
| -method1() T | |
| } | |
| FactoryA o-- HandlerF | |
| RepositoryB o-- HandlerF | |
| RepositoryC <|.. StrategyG | |
| FactoryD o-- ControllerE | |
| ControllerE ..> StrategyG | |
| HandlerF --> StrategyG",output/883.pintora.png | |
| Create a sequence diagram with @param styling,"sequenceDiagram | |
| @param loopLineColor #79caf1 | |
| @param actorBackground #61afef | |
| @param actorTextColor #ffffff | |
| @param messageFontFamily Consolas | |
| @param dividerTextColor #61afef | |
| User->>API: Request | |
| loop Retry | |
| API-->>API: Process | |
| end | |
| == Section == | |
| API-->>User: Response",output/952.pintora.png | |
| Create a DOT diagram with different node shapes,"dotDiagram | |
| digraph Shapes { | |
| bgcolor=""#f5f5f5"" | |
| start [shape=""ellipse"", label=""Start""] | |
| decision [shape=""diamond"", label=""Decision?""] | |
| process1 [shape=""box"", label=""Process A""] | |
| process2 [shape=""box"", label=""Process B""] | |
| end_node [shape=""circle"", label=""End""] | |
| note [shape=""plaintext"", label=""This is a note""] | |
| start -> decision | |
| decision -> process1 [label=""yes""] | |
| decision -> process2 [label=""no""] | |
| process1 -> end_node | |
| process2 -> end_node | |
| }",output/942.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 6d | |
| ""Task 1"" : 2024-01-07, 3d | |
| ""Task 2"" : 2024-01-10, 6d",output/51.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 11 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| Service_1-->>Service_0: Message 623 | |
| Service_1-->Service_0: Message 895 | |
| Service_0->Service_1: Message 414 | |
| alt Condition | |
| Service_0-xService_1: Message 755 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_1->Service_0: Message 685 | |
| Service_1->>Service_0: Message 793 | |
| Service_1-->>Service_0: Message 324 | |
| Service_0-->Service_1: Message 964 | |
| Service_0->>Service_1: Message 795 | |
| Service_1->>Service_0: Message 684 | |
| Service_1-->>Service_0: Message 886",output/480.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 13 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 8d | |
| ""Task 2"" : 2024-01-18, 9d | |
| ""Task 3"" : 2024-01-27, 2d",output/41.pintora.png | |
| Write an Entity Relationship diagram with 4 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| float field_1 | |
| datetime field_2 | |
| string field_3 | |
| string field_4 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| string field_1 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| float field_0 | |
| bool field_1 | |
| bool field_2 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| datetime field_0 | |
| datetime field_1 | |
| float field_2 | |
| datetime field_3 | |
| datetime field_4 | |
| } | |
| TABLE_0 ||--|{ TABLE_1 : uses | |
| TABLE_1 }|--|| TABLE_2 : has | |
| TABLE_2 ||--|| TABLE_3 : owns",output/490.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 7 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n3 -> n0 | |
| n2 -> n0 | |
| n2 -> n4 | |
| n0 -> n1 | |
| n4 -> n2 | |
| n1 -> n2 | |
| n3 -> n0 | |
| }",output/33.pintora.png | |
| Model an object-oriented system with a class diagram. Include about 7 elements.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class4 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 *-- Class2 | |
| Class2 *-- Class3 | |
| Class3 --> Class4",output/23.pintora.png | |
| Write an activity diagram with custom styling,"activityDiagram | |
| @param actionBackground #61afef | |
| @param textColor #ffffff | |
| @param noteTextColor #333333 | |
| @param edgeColor #143C9A | |
| @param edgeType curved | |
| start | |
| :First action; | |
| -> proceed to next; | |
| :Second action; | |
| if (condition?) then (yes) | |
| :Handle yes case; | |
| else (no) | |
| :Handle no case; | |
| endif | |
| end",output/930.pintora.png | |
| Create a detailed hierarchical mind map.,"mindmap | |
| * Learning Path | |
| ** Topic A | |
| *** Subtopic A.1 | |
| *** Subtopic A.2 | |
| **** Detail A.2.1 | |
| **** Detail A.2.2 | |
| **** Detail A.2.3 | |
| *** Subtopic A.3 | |
| *** Subtopic A.4 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| **** Detail B.1.1 | |
| *** Subtopic B.2 | |
| *** Subtopic B.3 | |
| **** Detail B.3.1 | |
| **** Detail B.3.2 | |
| **** Detail B.3.3 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| *** Subtopic C.2 | |
| *** Subtopic C.3 | |
| *** Subtopic C.4 | |
| ** Topic D | |
| *** Subtopic D.1 | |
| **** Detail D.1.1 | |
| **** Detail D.1.2 | |
| *** Subtopic D.2 | |
| *** Subtopic D.3 | |
| **** Detail D.3.1 | |
| **** Detail D.3.2 | |
| **** Detail D.3.3 | |
| *** Subtopic D.4",output/848.pintora.png | |
| Create a component diagram for a microservices architecture,"componentDiagram | |
| title: Microservices Architecture | |
| package ""API Gateway"" { | |
| [Gateway] | |
| () REST | |
| } | |
| package ""Services"" { | |
| [User Service] | |
| [Order Service] | |
| [Payment Service] | |
| } | |
| database ""Databases"" { | |
| [UserDB] | |
| [OrderDB] | |
| } | |
| [Gateway] --> REST | |
| REST --> [User Service] | |
| REST --> [Order Service] | |
| [Order Service] --> [Payment Service] | |
| [User Service] --> [UserDB] | |
| [Order Service] --> [OrderDB]",output/920.pintora.png | |
| Design a comprehensive Entity Relationship diagram. Use advanced syntax features.,"erDiagram | |
| @config({""er"": {""edgeType"": ""ortho""}}) | |
| SHIPMENT { | |
| int shipment_id PK | |
| text email | |
| int address | |
| text phone | |
| string quantity | |
| float price | |
| } | |
| INVOICE { | |
| int invoice_id PK | |
| string phone | |
| text date | |
| string status | |
| } | |
| CUSTOMER { | |
| int customer_id PK | |
| float address | |
| bool quantity FK | |
| datetime email | |
| } | |
| INVENTORY { | |
| int inventory_id PK | |
| bool phone | |
| float price | |
| } | |
| SHIPMENT }o--o{ CUSTOMER : references | |
| INVOICE ||--|{ INVENTORY : processes | |
| CUSTOMER }o--o{ INVENTORY : references",output/858.pintora.png | |
| Write an Entity Relationship diagram with 5 tables and random relationships.,"erDiagram | |
| TABLE_0 { | |
| int id PK | |
| float field_0 | |
| datetime field_1 | |
| string field_2 | |
| bool field_3 | |
| } | |
| TABLE_1 { | |
| int id PK | |
| bool field_0 | |
| bool field_1 | |
| int field_2 | |
| datetime field_3 | |
| } | |
| TABLE_2 { | |
| int id PK | |
| string field_0 | |
| string field_1 | |
| int field_2 | |
| string field_3 | |
| } | |
| TABLE_3 { | |
| int id PK | |
| int field_0 | |
| string field_1 | |
| datetime field_2 | |
| float field_3 | |
| bool field_4 | |
| } | |
| TABLE_4 { | |
| int id PK | |
| datetime field_0 | |
| string field_1 | |
| } | |
| TABLE_0 }|--|| TABLE_1 : owns | |
| TABLE_1 ||--|{ TABLE_2 : has | |
| TABLE_2 ||--o{ TABLE_3 : manages | |
| TABLE_3 ||--o{ TABLE_4 : owns",output/784.pintora.png | |
| Generate a DOT directed graph with 10 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""ellipse"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""diamond"", label=""Node n4""] | |
| n5 [shape=""box"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n9 [shape=""circle"", label=""Node n9""] | |
| n6 -> n5 | |
| n7 -> n3 | |
| n2 -> n6 | |
| n5 -> n6 | |
| n6 -> n4 | |
| n2 -> n9 | |
| n1 -> n9 | |
| n5 -> n9 | |
| n8 -> n3 | |
| n6 -> n1 | |
| }",output/794.pintora.png | |
| Create a component diagram for event-driven architecture,"componentDiagram | |
| title: Event-Driven Architecture | |
| rectangle ""Event Producers"" { | |
| [Web App] | |
| [Mobile App] | |
| [IoT Devices] | |
| } | |
| rectangle ""Event Bus"" { | |
| [Apache Kafka] | |
| () ""Topics"" | |
| } | |
| rectangle ""Event Consumers"" { | |
| [Analytics Service] | |
| [Notification Service] | |
| [Audit Service] | |
| } | |
| [Web App] --> ""Topics"" | |
| [Mobile App] --> ""Topics"" | |
| [IoT Devices] --> ""Topics"" | |
| ""Topics"" -- [Apache Kafka] | |
| [Apache Kafka] --> [Analytics Service] | |
| [Apache Kafka] --> [Notification Service] | |
| [Apache Kafka] --> [Audit Service]",output/989.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 11 elements.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| *** Subitem 1.2 | |
| ** Feature 2 | |
| *** Subitem 2.0 | |
| *** Subitem 2.1 | |
| *** Subitem 2.2",output/168.pintora.png | |
| Create a Gantt chart showing parallel workstreams,"gantt | |
| title Parallel Development Streams | |
| dateFormat YYYY-MM-DD | |
| axisFormat %b %d | |
| section Stream A - Backend | |
| ""API Design"" : a1, 2024-06-01, 5d | |
| ""API Development"" : a2, after a1, 10d | |
| ""API Testing"" : after a2, 5d | |
| section Stream B - Frontend | |
| ""UI Design"" : b1, 2024-06-01, 7d | |
| ""UI Development"" : b2, after b1, 12d | |
| ""UI Testing"" : after b2, 5d | |
| section Integration | |
| ""Integration Testing"" : 2024-06-25, 7d | |
| ""UAT"" : 2024-07-02, 5d | |
| ""Go Live"" : milestone, 2024-07-07, 0d",output/999.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 6d | |
| ""Task 1"" : 2024-01-07, 4d | |
| ""Task 2"" : 2024-01-11, 8d | |
| ""Task 3"" : 2024-01-19, 7d",output/178.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| if (Check 0?) then (yes) | |
| :Handle Yes 0; | |
| else (no) | |
| :Handle No 0; | |
| endif | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| :Process 3; | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| :Process 7; | |
| :Process 8; | |
| end",output/645.pintora.png | |
| Generate a DOT directed graph with 6 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""circle"", label=""Node n1""] | |
| n2 [shape=""circle"", label=""Node n2""] | |
| n3 [shape=""ellipse"", label=""Node n3""] | |
| n4 [shape=""ellipse"", label=""Node n4""] | |
| n5 [shape=""circle"", label=""Node n5""] | |
| n2 -> n4 | |
| n2 -> n1 | |
| n4 -> n2 | |
| n1 -> n2 | |
| n0 -> n4 | |
| n0 -> n1 | |
| n2 -> n1 | |
| }",output/655.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 5 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_1 | |
| participant Service_2 | |
| participant Service_3 | |
| Service_1-->Service_2: Message 476 | |
| alt Condition | |
| Service_4-->>Service_2: Message 662 | |
| else Other case | |
| Service_2-->>Service_4: Response | |
| end | |
| loop Loop check | |
| Service_1->>Service_2: Message 371 | |
| end | |
| Service_4-xService_1: Message 243 | |
| Service_4->>Service_3: Message 927",output/523.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 11 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_3 | |
| Service_3-xService_1: Message 140 | |
| loop Loop check | |
| Service_1->>Service_0: Message 517 | |
| end | |
| Service_0->>Service_2: Message 314 | |
| Service_2-->>Service_0: Message 254 | |
| Service_1-->Service_0: Message 161 | |
| Service_3->Service_2: Message 771 | |
| Service_1->>Service_3: Message 171 | |
| Service_0-->>Service_2: Message 237 | |
| Service_3-xService_2: Message 598 | |
| alt Condition | |
| Service_3-->>Service_2: Message 808 | |
| else Other case | |
| Service_2-->>Service_3: Response | |
| end | |
| Service_0->Service_1: Message 414",output/533.pintora.png | |
| Map out a process flow using an activity diagram.,"activityDiagram | |
| start | |
| :step_0; | |
| if (check1?) then (yes) | |
| :action_yes_1; | |
| else (no) | |
| :action_no_1; | |
| endif | |
| :step_2; | |
| if (check3?) then (yes) | |
| :action_yes_3; | |
| else (no) | |
| :action_no_3; | |
| endif | |
| :step_4; | |
| :step_5; | |
| :step_6; | |
| :step_7; | |
| if (check8?) then (yes) | |
| :action_yes_8; | |
| else (no) | |
| :action_no_8; | |
| endif | |
| if (check9?) then (yes) | |
| :action_yes_9; | |
| else (no) | |
| :action_no_9; | |
| endif | |
| :step_10; | |
| end",output/376.pintora.png | |
| Model an object-oriented system with a class diagram.,"classDiagram | |
| class Class0 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class1 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class2 { | |
| +attribute1 | |
| +method1() | |
| } | |
| class Class3 { | |
| +attribute1 | |
| +method1() | |
| } | |
| Class0 --> Class1 | |
| Class1 *-- Class2 | |
| Class2 <|-- Class3",output/366.pintora.png | |
| Design an Entity Relationship diagram.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent5 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--o{ Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates | |
| Ent3 ||--|| Ent4 : relates | |
| Ent4 ||--|| Ent5 : relates",output/392.pintora.png | |
| Design an Entity Relationship diagram. Include about 6 elements.,"erDiagram | |
| Ent0 { | |
| int id PK | |
| string name | |
| } | |
| Ent1 { | |
| int id PK | |
| string name | |
| } | |
| Ent2 { | |
| int id PK | |
| string name | |
| } | |
| Ent3 { | |
| int id PK | |
| string name | |
| } | |
| Ent4 { | |
| int id PK | |
| string name | |
| } | |
| Ent0 ||--|| Ent1 : relates | |
| Ent1 ||--|{ Ent2 : relates | |
| Ent2 ||--|| Ent3 : relates | |
| Ent3 ||--|| Ent4 : relates",output/382.pintora.png | |
| Schedule a project timeline with Gantt chart. Include nested structures.,"gantt | |
| title Product Launch | |
| dateFormat YYYY-MM-DD | |
| section Development | |
| ""Task Dev1"" : 2024-04-01, 5d | |
| ""Task Dev2"" : 2024-04-06, 19d | |
| ""Task Dev3"" : 2024-04-25, 18d | |
| ""Task Dev4"" : 2024-05-13, 21d | |
| ""Task Dev5"" : 2024-06-03, 18d | |
| section Deployment | |
| ""Task Dep1"" : 2024-06-21, 16d | |
| ""Task Dep2"" : 2024-07-07, 5d | |
| ""Task Dep3"" : 2024-07-12, 11d | |
| section Marketing | |
| ""Task Mar1"" : 2024-07-23, 16d | |
| ""Task Mar2"" : 2024-08-08, 17d | |
| ""Task Mar3"" : 2024-08-25, 11d | |
| ""Task Mar4"" : 2024-09-05, 20d | |
| ""Task Mar5"" : 2024-09-25, 6d | |
| section Testing | |
| ""Task Tes1"" : 2024-10-01, 7d | |
| ""Task Tes2"" : 2024-10-08, 5d | |
| ""Task Tes3"" : 2024-10-13, 7d | |
| ""Task Tes4"" : 2024-10-20, 8d | |
| ""Task Tes5"" : 2024-10-28, 11d | |
| ""Milestone"" : milestone, 2024-11-14, 0d",output/815.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""diamond"", label=""Node n0""] | |
| n1 [shape=""box"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n3 -> n1 | |
| n4 -> n2 | |
| n2 -> n4 | |
| n3 -> n4 | |
| }",output/805.pintora.png | |
| Generate a DOT directed graph with 9 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""box"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""box"", label=""Node n4""] | |
| n5 [shape=""diamond"", label=""Node n5""] | |
| n6 [shape=""ellipse"", label=""Node n6""] | |
| n7 [shape=""circle"", label=""Node n7""] | |
| n8 [shape=""ellipse"", label=""Node n8""] | |
| n1 -> n7 | |
| n8 -> n2 | |
| n3 -> n7 | |
| n7 -> n4 | |
| n1 -> n7 | |
| n0 -> n5 | |
| n1 -> n4 | |
| n2 -> n5 | |
| n5 -> n1 | |
| }",output/618.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 6 steps.,"sequenceDiagram | |
| participant Service_0 | |
| participant Service_1 | |
| participant Service_2 | |
| participant Service_3 | |
| Service_0-xService_1: Message 275 | |
| Service_1->Service_0: Message 512 | |
| Service_3->>Service_1: Message 443 | |
| alt Condition | |
| Service_3->Service_2: Message 526 | |
| else Other case | |
| Service_2-->>Service_3: Response | |
| end | |
| Service_1->Service_3: Message 759 | |
| Service_3-->Service_2: Message 616",output/760.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_2 | |
| participant Service_3 | |
| Service_0-xService_2: Message 888 | |
| alt Condition | |
| Service_0-xService_1: Message 207 | |
| else Other case | |
| Service_1-->>Service_0: Response | |
| end | |
| Service_3->Service_0: Message 276 | |
| Service_2->>Service_1: Message 520 | |
| Service_1-->Service_3: Message 701 | |
| Service_0-xService_2: Message 744 | |
| alt Condition | |
| Service_1->Service_3: Message 426 | |
| else Other case | |
| Service_3-->>Service_1: Response | |
| end | |
| Service_3->>Service_2: Message 384 | |
| Service_3-xService_0: Message 547 | |
| loop Loop check | |
| Service_0-xService_2: Message 613 | |
| end",output/608.pintora.png | |
| Create a sequence diagram with random interaction patterns involving 10 steps.,"sequenceDiagram | |
| autonumber | |
| participant Service_0 | |
| participant Service_1 | |
| participant Service_3 | |
| participant Service_4 | |
| Service_1-xService_4: Message 775 | |
| Service_0->Service_3: Message 593 | |
| Service_0-xService_3: Message 210 | |
| Service_3-xService_1: Message 369 | |
| Service_2->Service_3: Message 990 | |
| Service_2->>Service_1: Message 633 | |
| loop Loop check | |
| Service_1-->>Service_0: Message 993 | |
| end | |
| Service_2-->>Service_4: Message 108 | |
| loop Loop check | |
| Service_2-->>Service_1: Message 555 | |
| end | |
| alt Condition | |
| Service_0-->>Service_4: Message 577 | |
| else Other case | |
| Service_4-->>Service_0: Response | |
| end",output/770.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 5 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 9d | |
| ""Task 1"" : 2024-01-10, 9d | |
| ""Task 2"" : 2024-01-19, 2d | |
| ""Task 3"" : 2024-01-21, 3d | |
| ""Task 4"" : 2024-01-24, 10d | |
| ""Task 5"" : 2024-02-03, 9d",output/135.pintora.png | |
| Brainstorm a topic hierarchy with a mind map. Include about 12 elements.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| ** Feature 1 | |
| *** Subitem 1.0 | |
| ** Task 2 | |
| *** Subitem 2.0",output/125.pintora.png | |
| Schedule tasks using a Gantt chart. Include about 12 elements.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 5d | |
| ""Task 1"" : 2024-01-06, 9d | |
| ""Task 2"" : 2024-01-15, 8d | |
| ""Task 3"" : 2024-01-23, 10d | |
| ""Task 4"" : 2024-02-02, 7d",output/253.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 10d | |
| ""Task 1"" : 2024-01-11, 10d | |
| ""Task 2"" : 2024-01-21, 3d | |
| ""Task 3"" : 2024-01-24, 3d | |
| ""Task 4"" : 2024-01-27, 5d | |
| ""Task 5"" : 2024-02-01, 4d",output/243.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 7 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n0 -> n4 | |
| n2 -> n1 | |
| n4 -> n0 | |
| n4 -> n5 | |
| n4 -> n0 | |
| n2 -> n1 | |
| n2 -> n5 | |
| }",output/406.pintora.png | |
| Create a flow activity diagram with approximately 10 logical steps including conditions.,"activityDiagram | |
| start | |
| fork | |
| :Parallel 1 0; | |
| forkagain | |
| :Parallel 2 0; | |
| endfork | |
| if (Check 1?) then (yes) | |
| :Handle Yes 1; | |
| else (no) | |
| :Handle No 1; | |
| endif | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| if (Check 6?) then (yes) | |
| :Handle Yes 6; | |
| else (no) | |
| :Handle No 6; | |
| endif | |
| :Action 7; | |
| fork | |
| :Parallel 1 8; | |
| forkagain | |
| :Parallel 2 8; | |
| endfork | |
| fork | |
| :Parallel 1 9; | |
| forkagain | |
| :Parallel 2 9; | |
| endfork | |
| end",output/416.pintora.png | |
| Create a flow activity diagram with approximately 7 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| fork | |
| :Parallel 1 2; | |
| forkagain | |
| :Parallel 2 2; | |
| endfork | |
| :Action 3; | |
| :Process 4; | |
| if (Check 5?) then (yes) | |
| :Handle Yes 5; | |
| else (no) | |
| :Handle No 5; | |
| endif | |
| :Process 6; | |
| end",output/464.pintora.png | |
| Generate a DOT directed graph with 5 nodes and random connections.,"dotDiagram | |
| digraph G { | |
| bgcolor=""white"" | |
| n0 [shape=""circle"", label=""Node n0""] | |
| n1 [shape=""diamond"", label=""Node n1""] | |
| n2 [shape=""diamond"", label=""Node n2""] | |
| n3 [shape=""diamond"", label=""Node n3""] | |
| n4 [shape=""circle"", label=""Node n4""] | |
| n2 -> n0 | |
| n1 -> n4 | |
| n0 -> n1 | |
| n3 -> n4 | |
| n1 -> n2 | |
| }",output/474.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| **** Detail 0.0.1 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| **** Detail 0.2.1 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| *** Subitem 1.1 | |
| **** Detail 1.1.1 | |
| ** Idea 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1 | |
| *** Subitem 2.2 | |
| **** Detail 2.2.1 | |
| ** Task 3 | |
| *** Subitem 3.0 | |
| **** Detail 3.0.1",output/349.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Concept 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| **** Detail 0.1.1 | |
| *** Subitem 0.2 | |
| **** Detail 0.2.1 | |
| ** Concept 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| ** Idea 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| *** Subitem 2.1 | |
| **** Detail 2.1.1 | |
| *** Subitem 2.2 | |
| ** Task 3 | |
| *** Subitem 3.0 | |
| **** Detail 3.0.1",output/231.pintora.png | |
| Visualize a graph structure using DOT syntax. Include about 10 elements.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n6 [label=""Node n6""] | |
| n7 [label=""Node n7""] | |
| n7 -> n0 | |
| n3 -> n0 | |
| n2 -> n1 | |
| n3 -> n1 | |
| n1 -> n2 | |
| n2 -> n0 | |
| n4 -> n5 | |
| n5 -> n2 | |
| n5 -> n1 | |
| n0 -> n4 | |
| }",output/359.pintora.png | |
| Create a sequence diagram showing interaction between participants. Include about 6 elements.,"sequenceDiagram | |
| autonumber | |
| P3->P4: msg_92 | |
| P2->P0: msg_73 | |
| P4-->>P1: msg_35 | |
| P4->>P1: msg_82 | |
| P2-->>P0: msg_80 | |
| P3-->>P2: msg_19",output/221.pintora.png | |
| Schedule tasks using a Gantt chart.,"gantt | |
| title Project Schedule | |
| dateFormat YYYY-MM-DD | |
| section Phase 1 | |
| ""Task 0"" : 2024-01-01, 2d | |
| ""Task 1"" : 2024-01-03, 3d | |
| ""Task 2"" : 2024-01-06, 7d | |
| ""Task 3"" : 2024-01-13, 7d | |
| ""Task 4"" : 2024-01-20, 6d",output/157.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Task 0 | |
| *** Subitem 0.0 | |
| *** Subitem 0.1 | |
| *** Subitem 0.2 | |
| ** Idea 1 | |
| *** Subitem 1.0 | |
| **** Detail 1.0.1 | |
| *** Subitem 1.1 | |
| *** Subitem 1.2",output/147.pintora.png | |
| Create a flow activity diagram with approximately 9 logical steps including conditions.,"activityDiagram | |
| start | |
| :Process 0; | |
| :Process 1; | |
| if (Check 2?) then (yes) | |
| :Handle Yes 2; | |
| else (no) | |
| :Handle No 2; | |
| endif | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| if (Check 4?) then (yes) | |
| :Handle Yes 4; | |
| else (no) | |
| :Handle No 4; | |
| endif | |
| :Process 5; | |
| :Process 6; | |
| :Process 7; | |
| :Process 8; | |
| end",output/702.pintora.png | |
| Create a flow activity diagram with approximately 5 logical steps including conditions.,"activityDiagram | |
| start | |
| :Action 0; | |
| :Process 1; | |
| :Process 2; | |
| if (Check 3?) then (yes) | |
| :Handle Yes 3; | |
| else (no) | |
| :Handle No 3; | |
| endif | |
| fork | |
| :Parallel 1 4; | |
| forkagain | |
| :Parallel 2 4; | |
| endfork | |
| end",output/712.pintora.png | |
| Write a Pintora diagram: visualize a complex graph with dot diagram.,"dotDiagram | |
| digraph G { | |
| bgcolor=""#f5f5f5"" | |
| node [shape=""circle"", bgcolor=""#e3f2fd""] | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n4 [label=""Node n4""] | |
| n5 [label=""Node n5""] | |
| n1 -> n0 | |
| n4 -> n1 | |
| n1 -> n4 | |
| n2 -> n5 | |
| n4 -> n3 [color=""green""] | |
| n0 -> n2 [color=""green""] | |
| n2 -> n3 | |
| n2 -> n5 | |
| n3 -> n4 | |
| n2 -> n0 | |
| }",output/877.pintora.png | |
| Write a Pintora diagram: create a detailed hierarchical mind map.,"mindmap | |
| @param layoutDirection TB | |
| * System Architecture | |
| ** Topic A | |
| *** Subtopic A.1 | |
| **** Detail A.1.1 | |
| *** Subtopic A.2 | |
| **** Detail A.2.1 | |
| **** Detail A.2.2 | |
| **** Detail A.2.3 | |
| *** Subtopic A.3 | |
| ** Topic B | |
| *** Subtopic B.1 | |
| *** Subtopic B.2 | |
| **** Detail B.2.1 | |
| *** Subtopic B.3 | |
| **** Detail B.3.1 | |
| **** Detail B.3.2 | |
| *** Subtopic B.4 | |
| ** Topic C | |
| *** Subtopic C.1 | |
| *** Subtopic C.2 | |
| *** Subtopic C.3 | |
| **** Detail C.3.1 | |
| **** Detail C.3.2 | |
| **** Detail C.3.3 | |
| *** Subtopic C.4 | |
| **** Detail C.4.1 | |
| **** Detail C.4.2 | |
| ** Topic D | |
| *** Subtopic D.1 | |
| *** Subtopic D.2",output/867.pintora.png | |
| Brainstorm a topic hierarchy with a mind map.,"mindmap | |
| * Root Topic | |
| ** Idea 0 | |
| *** Subitem 0.0 | |
| ** Task 1 | |
| *** Subitem 1.0 | |
| ** Task 2 | |
| *** Subitem 2.0 | |
| **** Detail 2.0.1 | |
| ** Idea 3 | |
| *** Subitem 3.0 | |
| *** Subitem 3.1",output/288.pintora.png | |
| Visualize a graph structure using DOT syntax.,"dotDiagram | |
| digraph G { | |
| n0 [label=""Node n0""] | |
| n1 [label=""Node n1""] | |
| n2 [label=""Node n2""] | |
| n3 [label=""Node n3""] | |
| n2 -> n1 | |
| n3 -> n2 | |
| n0 -> n2 | |
| n1 -> n0 | |
| n2 -> n1 | |
| n1 -> n2 | |
| n0 -> n1 | |
| n2 -> n1 | |
| n1 -> n0 | |
| n3 -> n1 | |
| n0 -> n2 | |
| n2 -> n1 | |
| }",output/298.pintora.png | |