prompt stringlengths 12 151 | code stringlengths 78 2.2k | type stringclasses 9
values |
|---|---|---|
flowchart voor het bakken van een cake in een vorm | flowchart TD
A[Vorm invetten] --> B[Beslag maken]
B --> C[Beslag in de vorm gieten]
C --> D[Een uur bakken]
D --> E{Prikker komt schoon uit?}
E -->|Ja| F[Cake uit de vorm halen]
E -->|Nee| D | flowchart |
Maak een mindmap over de gezonde werking van de lever | mindmap
root((Lever))
Taken
Gifstoffen afbreken
Gal aanmaken
Suiker opslaan
Ligging
Rechts onder de ribben
Ziektes
Hepatitis
Leververvetting
Bescherming
Matig met alcohol
Vaccinatie | mindmap |
mindmap about home brewing beer | mindmap
root((Home Brewing))
Ingredients
Malt
Hops
Yeast
Equipment
Fermenter
Airlock
Bottles
Process
Mashing
Boiling
Fermenting
Bottling | mindmap |
sequence diagram of a web client chatting over a WebSocket: upgrade, subscribe to room, broadcast, ping | sequenceDiagram
participant Client as Web Client
participant Server as WebSocket Server
Client->>Server: GET /chat (Upgrade: websocket)
activate Server
Server-->>Client: 101 Switching Protocols
deactivate Server
Client->>Server: WS Frame: Subscribe to room
Server-->>Client: WS Frame: S... | sequence |
printing flowchart: open document, check if printer is ready, send to printer, collect printout | classDiagram
class TelemetrySource {
<<interface>>
+collectReading() Reading
}
class AlertNotifier {
<<interface>>
+sendAlert(Alert alert) void
}
class Device {
+String deviceId
+String name
-String location
+activate() void
+de... | class |
restaurant class diagram with menu, order, table, staff and ingredient | classDiagram
class Menu {
+String menuId
+String name
}
class Order {
+String orderId
+String status
}
class Table {
+int tableNumber
+int seats
}
class Staff {
+String staffId
+String name
}
class Ingredient {
+... | class |
notification flowchart with validation, user preferences and delivery channel selection | graph TD
Start([Start: New Notification]) --> ValidateNotification{Valid notification data?}
ValidateNotification -->|No| End1([End: Reject notification])
ValidateNotification -->|Yes| CheckUserPreferences
CheckUserPreferences[Check user preferences] --> SelectChannel{Select delivery channel}
Select... | flowchart |
maak een klassendiagram voor een clubapp met wedstrijden en opstellingen | classDiagram
class Wedstrijd {
+Date aftrap
+String tegenstander
+Boolean thuis
}
class Opstelling {
+String formatie
+vastleggen() void
}
class Speler {
+String naam
+String positie
}
class Trainer {
+String naam
}
Weds... | class |
pie chart of programming language popularity: JavaScript 64, Python 14, Java 8, C# 6 | pie showData
title Programming Language Popularity by Developer Usage
"JavaScript" : 64
"Python" : 14
"Java" : 8
"C#" : 6
"C++" : 4
"PHP" : 3
"Go" : 1 | pie |
pie chart van materialen voor de dakkapel in procenten | pie title Materialen dakkapel
"Hout" : 35
"Isolatie" : 20
"Glas" : 25
"Dakbedekking" : 15
"Schroeven en afwerking" : 5 | pie |
inventory update flowchart with user authorization, product barcode scan and retry counter | graph TD
Start([Start Inventory Update]) --> CheckAuth{User Authorized?}
CheckAuth -->|No| Unauthorized([Access Denied])
CheckAuth -->|Yes| ScanItem[Scan Product Barcode]
ScanItem --> ValidateProduct{Product Exists?}
ValidateProduct -->|No| ErrorLog[Log Invalid Product]
ErrorLog --> RetryCounter... | flowchart |
pie chart of website traffic sources: organic search 65, direct 12, paid search 9, social 7 | pie showData
title Website Traffic Sources
"Organic Search" : 65
"Direct" : 12
"Paid Search" : 9
"Social Media" : 7
"Referral" : 4
"Email" : 2
"Other" : 1 | pie |
bank data model: customers, accounts, transactions, branches | erDiagram
CUSTOMER {
string customer_id PK
string branch_id FK
string full_name
string email_address
}
BANK_ACCOUNT {
string account_id PK
string customer_id FK
string account_type
decimal balance
}
ACCOUNT_TRANSACTION {
string ... | er |
draw a flowchart: tijdens een bezoek aan de huisartsenpost | flowchart LR
A[Telefoon naar de huisartsenpost] --> B[Triage door assistent]
B --> C[Consult of visite]
C --> D[Recept meegeven] | flowchart |
project management class diagram with Project, Task, Milestone, Team, Sprint | classDiagram
class Project {
+String projectId
+String name
+Date startDate
+Date endDate
+addTask() void
}
class Task {
+String taskId
+String title
-String status
+complete() void
}
class Milestone {
+Date dueDate
... | class |
mind map of finance: assets, liabilities, equity, income with sub-items | mindmap
root((Finance))
Assets[Assets]
Cash and Equivalents
Accounts Receivable
Property and Equipment
Liabilities((Liabilities))
Accounts Payable
Loans Payable
Accrued Expenses
Equity)cloud(
Owner Contributions
Retained Earnings
Treasury Shares
In... | mindmap |
gantt chart of an academic research project from research question to ethics approval, data collection and analysis | gantt
title Academic Research Project
dateFormat YYYY-MM-DD
Define research question :done, t1, 2024-01-01, 5d
Literature search :done, t2, after t1, 10d
Literature synthesis :active, t3, after t2, 7d
Experiment design :t4, after t3, 6d
Ethics approval ... | gantt |
toestandsdiagram van een e-reader batterij | stateDiagram-v2
[*] --> Vol
Vol --> Gebruik : lezen
Gebruik --> Laag : onder 20 procent
Laag --> Leeg : onder 5 procent
Laag --> Laden : kabel aangesloten
Leeg --> Laden : kabel aangesloten
Laden --> Vol : 100 procent | state |
klassendiagram voor een scoutinggroep met speltakken en leiders | classDiagram
class Scoutinggroep {
+String naam
+String clubhuis
}
class Speltak {
+String naam
+String leeftijdsgroep
}
class Scout {
+String naam
+Date lidSinds
}
class Leider {
+String naam
+kampOrganiseren() void
}
S... | class |
flowchart: backup and restore tool where you select backup, restore or schedule, with a storage space check | graph TD
Start([Start Backup/Restore Process]) --> SelectOperation{Select Operation Type?}
SelectOperation -->|Backup| CheckBackupSource
SelectOperation -->|Restore| SelectBackupFile
SelectOperation -->|Schedule| ScheduleBackup([Schedule Backup Job])
CheckBackupSource[Check Data Source Availabi... | flowchart |
steps in a game of chess for checking the king | flowchart TD
A[Opponent attacks king] --> B[Announce check]
B --> C{Can the king escape?}
C -->|Yes| D[Move king or block]
C -->|No| E[Checkmate and game over] | flowchart |
gantt chart for a clinical trial timeline: site setup, screening, enrollment, dosing | gantt
title Clinical Trial Timeline
dateFormat YYYY-MM-DD
section Recruitment
Site Setup :done, site1, 2024-01-01, 10d
Participant Screening :crit, rec1, after site1, 14d
Enrollment Complete :milestone, rec2, after rec1, 0d
section Dosing
Baseline Assessment :dose1, ... | gantt |
flowchart that flattens nested arrays using an outer and inner loop into a result array | graph TD
Start([Start]) --> Init[Initialize result array\nand outer index i = 0]
Init --> OuterCheck{i < outerArray\n.length?}
OuterCheck -->|No| ReturnResult([Return result array])
OuterCheck -->|Yes| GetInner[Get innerArray =\nouterArray at i]
GetInner --> InitJ[Initialize inner index j = 0]
I... | flowchart |
content moderation flowchart where AI scores risk, high risk is blocked and flagged items go to a human moderator | graph TD
Start[User submits new content for review] --> AIScan[AI scans for prohibited text or images]
AIScan --> AIDecision{AI assigns a risk score to content}
AIDecision -->|Low Risk| PublishContent[Content is live and visible to public]
AIDecision -->|High Risk| PermanentBlock[Content is permane... | flowchart |
state diagram of a device connection: offline, connecting, online, error, maintenance | stateDiagram-v2
[*] --> Offline
Offline --> Connecting : power_on
Offline --> [*] : decommissioned
Connecting --> Online : connection_established
Connecting --> Error : connection_timeout
Online --> Error : connection_lost
Online --> Offline : power_off
Error --> Connecting : auto_retry
... | state |
content review flowchart: automated AI scan for policy violations, publish or send for review | graph TD
Start[User submits content for platform review] --> AutoScan[Automated AI scans for policy violations]
AutoScan --> ScanResult{AI categorizes the submitted content}
ScanResult -->|Content deemed safe| PublishLive[Content is approved and published live]
ScanResult -->|Content flagged f... | flowchart |
single sign-on flow between two services and an identity provider with session store | sequenceDiagram
participant User
participant Browser
participant ServiceA
participant ServiceB
participant IdentityProvider
participant SessionStore
User->>Browser: Access ServiceA
Browser->>ServiceA: GET /dashboard
activate ServiceA
ServiceA->>SessionStore: Check session token
... | sequence |
mindmap about caves | mindmap
root((Caves))
Formation
Limestone
Water erosion
Lava tubes
Features
Stalactites
Stalagmites
Underground lakes
Life
Bats
Blind fish
Cave spiders | mindmap |
payment process flowchart: cart validation, pick card, PayPal or bank transfer, verify payment, retry up to 3 times | graph TD
Start([Start Payment Process]) --> ValidateCart{Cart Valid?}
ValidateCart -->|No| ErrorEnd([End: Show Error])
ValidateCart -->|Yes| SelectPayment[Select Payment Method]
SelectPayment --> PaymentType{Payment Type?}
PaymentType -->|Credit Card| ProcessCard[Process Card Payment]
PaymentTyp... | flowchart |
login flowchart: valid credentials grant access, else denied | graph TD
Start --> A[Receive login]
A --> B{Valid credentials?}
B -->|Yes| C[Access granted]
B -->|No| D[Access denied]
C --> End
D --> End | flowchart |
pie chart: share of hours a market stall spends on each task | pie title Market stall hours per week
"Selling" : 24
"Shopping" : 8
"Setting up" : 6
"Bookkeeping" : 4 | pie |
mindmap about home Wi-Fi networks | mindmap
root((Home Wi-Fi))
Equipment
Router
Mesh nodes
Modem
Speed
Bandwidth
Signal strength
Security
Password
Encryption
Guest network | mindmap |
gantt chart for a security penetration test and remediation, with planning and assessment phases | gantt
title Security Penetration Test and Remediation Timeline
dateFormat YYYY-MM-DD
excludes weekends
section Planning
Define test scope and objectives :done, scope_definition, 2026-07-13, 3d
Prepare threat model and test scenarios :done, threat_model, after scope_definition, 4d
Penetratio... | gantt |
flowchart for making pie crust from scratch | flowchart TD
A[Cut cold butter into flour] --> B[Add ice water slowly]
B --> C[Form a disc]
C --> D[Chill for an hour]
D --> E[Roll out the dough]
E --> F[Line the pie dish] | flowchart |
coupon code flowchart: format check, database lookup, error messages and retry limit | graph TD
Start([Start: User Enters Coupon]) --> ValidateFormat{Valid Format?}
ValidateFormat -->|No| DisplayFormatError[Display Format Error Message]
ValidateFormat -->|Yes| CheckExists{Coupon Exists in Database?}
DisplayFormatError --> RetryCounter{Attempts < 3?}
CheckExists -->|No| DisplayNotFound... | flowchart |
gantt chart for a sprint working through a product backlog: planning, design and development | gantt
title Product Backlog Sprint Execution
dateFormat YYYY-MM-DD
excludes weekends
section Planning
Sprint backlog selection :done, backlogSelection, 2026-07-13, 1d
Story refinement :done, storyRefinement, after backlogSelection, 2d
Sprint planning milestone :milestone, sprintPlanning, af... | gantt |
subscription state diagram: trial, active, past due, cancelled, with payment recovery | stateDiagram-v2
state "Trial Subscription" as Trial
state "Active Subscription" as Active
state "Past Due Subscription" as PastDue
state "Cancelled Subscription" as Cancelled
state "Payment Recovery" as PaymentRecovery {
[*] --> RetryPending : payment failure detected
RetryPending --... | state |
mindmap over een sterrenrestaurant | mindmap
root((Fijne keuken))
Menu
amuse
tussengerecht
dessert
Personeel
chef
sommelier
gastheer
Sfeer
tafel
servies
rust
Prijs
reserveren
menukaart
... | mindmap |
taartdiagram van de talen die in Zwitserland worden gesproken | pie title Landstalen van Zwitserland
"Duits" : 62
"Frans" : 23
"Italiaans" : 8
"Overig" : 7 | pie |
class diagram of an IoT platform with gateways, devices and alerts | classDiagram
class IoTPlatform {
+String platformId
-String name
+registerGateway(Gateway gateway) void
+getActiveAlerts() List~Alert~
}
class Gateway {
+String gatewayId
+String location
-boolean online
+connect() boolean
+collectData(... | class |
diagram: lid worden van de tennisclub | flowchart TD
A[Proefles volgen] --> B{Bevalt het?}
B -->|Ja| C[Inschrijfformulier invullen]
B -->|Nee| D[Andere sport zoeken]
C --> E[Contributie betalen] | flowchart |
draw a mindmap about travel in India | mindmap
root((India))
Cities
Delhi
Jaipur
Mumbai
Landmarks
Taj Mahal
Amber Fort
Gateway of India
Transport
Trains
Rickshaws
Domestic flights
Food
Curry
... | mindmap |
payment processing states: initiated, processing, authorized, review, declined, captured, refunded | stateDiagram-v2
[*] --> Initiated : payment submitted
Initiated --> Processing : validation passed
Processing --> Authorized : authorization approved
Processing --> Review : manual review required
Review --> Processing : review completed
Processing --> Declined : authorization rejected
Decli... | state |
mindmap about preparing for a marathon | mindmap
root((Marathon Preparation))
Training plan
Base miles
Long run
Taper
Nutrition
Carb loading
Gels
Hydration
Race day
Pacing
Warm-up
Mental strategy | mindmap |
mindmap about the periodic table basics | mindmap
root((Periodic table))
Layout
Periods
Groups
Blocks
Families
Alkali metals
Noble gases
Halogens
Information
Atomic number
Symbol
Mass | mindmap |
mindmap over klusjes in en om het huis | mindmap
root((Klusjes))
Schilderen
verf
kwasten
afplakken
Ophangen
boormachine
schroeven
waterpas
Tuin
gras maaien
snoeien
onkruid wieden
Reparaties
lekkende kraan
... | mindmap |
photography mindmap with composition, lighting, equipment, post-processing | mindmap
root((Photography))
[Composition]
(Lighting)
((Equipment))
)Post-Processing( | mindmap |
config update flowchart: authorization, validation, retries and database, security or network settings | graph TD
Start([Start Config Update]) --> AuthCheck{User Authorized?}
AuthCheck -->|No| Unauthorized([Access Denied])
AuthCheck -->|Yes| ValidateConfig[Validate Configuration Input]
ValidateConfig --> InputCheck{Input Valid?}
InputCheck -->|No| RetryCounter{Retry < 3?}
RetryCounter -->|Yes| Vali... | flowchart |
teken een mindmap over de spijsvertering | mindmap
root((Spijsvertering))
Mond
Kauwen
Speeksel
Maag
Maagzuur
Eiwitten afbreken
Darmen
Dunne darm
Dikke darm
Hulporganen
Lever
Alvleesklier
Galblaas | mindmap |
sequence diagram of a cache-aside read with Redis cache miss and database lookup | sequenceDiagram
participant Client
participant AppServer as Application Server
participant Cache as Redis Cache
participant Database as Database
Client->>AppServer: GET /profile/123
activate AppServer
AppServer->>Cache: GET profile:123
activate Cache
Cache-->>AppServer: Cache Miss
... | sequence |
mindmap over het organiseren van een buurtbarbecue | mindmap
root((Buurtbarbecue))
Voorbereiding
Datum prikken
Buren uitnodigen
Vergunning regelen
Benodigdheden
Barbecues
Tafels
Drank
Servies
Taakverdeling
Inkopen
Opbouw
Afwa... | mindmap |
sequence diagram of e-commerce checkout: storefront, cart, inventory, payment gateway, order service | sequenceDiagram
participant Customer
participant Storefront
participant CartService
participant InventoryService
participant PaymentGateway
participant OrderService
Customer->>Storefront: Click checkout
activate Storefront
Storefront->>CartService: Retrieve active cart
activate ... | sequence |
what to do if you receive a suspicious bank text message | flowchart TD
A[Receive the message] --> B{Does it ask for your PIN?}
B -->|Yes| C[Do not reply]
B -->|No| D[Check with your bank]
C --> E[Report it to the bank] | flowchart |
sequence diagram of a load balancer using health checks to take a failed web server offline | sequenceDiagram
participant Client
participant LoadBalancer
participant WebServer1
participant WebServer2
LoadBalancer->>WebServer1: GET /health
WebServer1-->>LoadBalancer: 200 OK
LoadBalancer->>WebServer2: GET /health
WebServer2-->>LoadBalancer: 503 Service Unavailable
opt We... | sequence |
flowchart: een e-ticket voor de trein kopen in de app | flowchart TD
A[App openen] --> B[Reis plannen]
B --> C[Klasse kiezen]
C --> D[Betalen]
D --> E[Ticket verschijnt in de app] | flowchart |
entity relationship diagram for a survey with questions and answers | erDiagram
SURVEY ||--|{ QUESTION : contains
QUESTION ||--o{ ANSWER : receives
RESPONDENT ||--o{ ANSWER : gives
SURVEY {
int id
string title
}
QUESTION {
int id
string text
}
ANSWER {
int id
string value
}
RESPONDENT {
int id... | er |
sequence diagram of an order transaction through a web client, API, database and audit service, with an ops team alert on failure | sequenceDiagram
participant "Web Client" as Client
participant "Application API" as API
participant "Transaction Database" as DB
participant "Audit Service" as Audit
participant "Operations Team" as Operations
Client->>API: Submit order transaction
activate API
API->>DB: BEGIN transacti... | sequence |
stroomdiagram: een voetbalwedstrijd vanaf aftrap | flowchart TD
A[Aftrap] --> B[Eerste helft]
B --> C[Rust]
C --> D[Tweede helft]
D --> E{Gelijkspel?}
E -->|Ja| F[Verlenging]
E -->|Nee| G[Einde wedstrijd] | flowchart |
class diagram for pharmacy prescriptions: patient, prescription, drug, pharmacist | classDiagram
class Patient {
+String patientId
+String name
+Date dateOfBirth
}
class Prescription {
+String prescriptionId
+Date issuedDate
+String dosageInstructions
+renew() void
}
class Drug {
+String drugCode
+String name
... | class |
er diagram sportclub | erDiagram
CLUB ||--o{ TEAM : heeft
TEAM ||--o{ SPELER : bestaat_uit
TEAM ||--o{ WEDSTRIJD : speelt
SPELER {
int id
string naam
date geboortedatum
}
WEDSTRIJD {
int id
date datum
string uitslag
} | er |
ER diagram for a restaurant: menus, items, ingredients and purchase orders | erDiagram
MENU {
string menu_id PK
string menu_name
date effective_date
}
MENU_ITEM {
string item_id PK
string menu_id FK
string item_name
decimal price
}
INGREDIENT {
string ingredient_id PK
string item_id FK
string ing... | er |
refund request flowchart: validate, check refund period, determine refund method | graph TD
Start([Refund Request Received]) --> ValidateRequest{Request Valid?}
ValidateRequest -->|No| RejectRefund[Reject and Notify Customer]
ValidateRequest -->|Yes| CheckEligibility{Within Refund Period?}
CheckEligibility -->|No| RejectRefund
CheckEligibility -->|Yes| DetermineMethod{Refund Metho... | flowchart |
IoT class diagram: abstract Device, Sensor, TemperatureSensor, MotionSensor | classDiagram
class Device {
<<abstract>>
#String deviceId
+String manufacturer
+String firmwareVersion
+connect() void
+disconnect() void
}
class Sensor {
#String measurementUnit
+readValue() float
+calibrate() void
}
class Temp... | class |
sequence diagram: een gast reserveert een tafel voor een feest in een grand café | sequenceDiagram
participant G as Gast
participant E as Eventmanager
participant K as Keuken
G->>E: Vraagt naar zaal voor 30 personen
E-->>G: Stuurt offerte met borrelhapjes
G->>E: Accepteert de offerte
E->>K: Geeft aantal personen door
K-->>E: Bevestigt de planning
E-->>G: Bevestigt ... | sequence |
stroomdiagram: voorraad aanvullen in het magazijn | flowchart TD
A[Voorraad tellen] --> B{Onder de minimumvoorraad?}
B -->|Ja| C[Bestelling doen bij de leverancier]
B -->|Nee| D[Niets doen]
C --> E[Goederen ontvangen] | flowchart |
3D Secure payment sequence diagram with merchant, gateway, 3DS server, issuer ACS and bank | sequenceDiagram
participant Customer
participant Merchant
participant PaymentGateway
participant ThreeDSServer
participant IssuerACS
participant Bank
Customer->>Merchant: Submit order and card details
activate Merchant
Merchant->>PaymentGateway: Create payment request
activate P... | sequence |
form flowchart: fill in fields, submit if all full, otherwise show error | graph TD
A[Start] --> B[Fill in fields]
B --> C{Are fields full?}
C -->|Yes| D[Submit form]
C -->|No| E[Show error]
D --> F[End]
E --> F[End] | flowchart |
maak een flowchart voor een yogales | flowchart TD
A[Mat uitrollen] --> B[Ademhalingsoefening]
B --> C[Houdingen doen]
C --> D[Ontspanning] | flowchart |
mindmap over de organisatie van een sportdag | mindmap
root((Sportdag))
Onderdelen
Estafette
Touwtrekken
Voetbaltoernooi
Planning
Tijdschema
Groepsindeling
Materiaal
Pionnen
Ballen
Fluitjes
Veiligheid
EHBO-post
... | mindmap |
class diagram for a pharmacy: Pharmacy, Prescription and PrescriptionItem | classDiagram
class Pharmacy {
+String name
+String address
+issuePrescription() void
}
class Prescription {
+String prescriptionId
+Date issueDate
-int refillsAllowed
+validate() bool
}
class PrescriptionItem {
+String dosage
+i... | class |
stroomdiagram vrijwilliger worden bij het repair café | flowchart TD
A[Kennismaking] --> B[Vaardigheden bespreken]
B --> C[Meedraaien met ervaren vrijwilliger]
C --> D[Zelfstandig repareren] | flowchart |
hotel class diagram with Hotel, Room, Reservation, Guest, Invoice and Payment | classDiagram
class Hotel {
+String hotelId
+String name
-String address
+findAvailableRooms(Date checkIn, Date checkOut) List~Room~
}
class Room {
+String roomNumber
+String roomType
-decimal nightlyRate
+boolean isAvailable(Date checkIn, Date ... | class |
gantt chart of launching a small candle business | gantt
title Candle shop launch
dateFormat YYYY-MM-DD
section Product
Test wax recipes :t1, 2026-01-12, 14d
Order jars :after t1, 7d
section Brand
Design labels :after t2, 7d
Take photos :after t3, 3d
section Sales
Open online page :after t4, 2d
First market stall :after t5, 1... | gantt |
gantt chart for Mobile App v2.0 development with design and engineering sections and task dependencies | gantt
title Mobile App v2.0 Development with Dependencies
dateFormat YYYY-MM-DD
excludes weekends
section Product Design
Requirements refinement :done, requirements, 2026-07-13, 5d
User experience wireframes :done, wireframes, after requirements, 7d
Visual design system ... | gantt |
token bucket rate limiter sequence diagram with parallel refill and check | sequenceDiagram
participant Client
participant Gateway as API Gateway
participant Bucket as Token Bucket
Client->>Gateway: GET /api/resource
activate Gateway
Gateway->>Bucket: tryConsume(clientId)
activate Bucket
par Refill
Bucket->>Bucket: addTokensFromElapsed()
and Check
... | sequence |
sequence diagram of circuit breaker with retry handler and fallback when the service is down | sequenceDiagram
participant Client
participant CircuitBreaker
participant RetryHandler
participant Service
participant Fallback
Client->>CircuitBreaker: Request /process
activate CircuitBreaker
alt Circuit Open
CircuitBreaker-->>Client: Fail Fast (Circuit Open)
else Circuit... | sequence |
mind map of software testing: unit, integration, system, acceptance testing | mindmap
root((Software Testing))
Unit Testing
[Function Isolation]
((Mock Dependencies))
Test Doubles
Integration Testing
(API Contracts)
[Database Connectivity]
((Service Interaction))
System Testing
End-to-End Flows
[Environment Validation]
((Regress... | mindmap |
timeline of the history of photography | timeline
title Photography history
1826 : First surviving photograph
1839 : Daguerreotype announced
1888 : Kodak makes film cameras simple
1975 : First digital camera built
2000 : First camera phone | timeline |
upload flowchart: identify image, document or video, check size limit, virus scan | graph TD
Start[User selects local file to upload] --> TypeCheck{Identify the uploaded file extension}
TypeCheck -->|Image File| SizeCheck{Validate file size against server limit}
TypeCheck -->|Document File| SizeCheck
TypeCheck -->|Video File| SizeCheck
TypeCheck -->|Unsupported| RejectFile[Ale... | flowchart |
mindmap on cybersecurity for everyday users | mindmap
root((Cybersecurity basics))
Threats
Phishing
Malware
Scams
Protection
Strong passwords
Updates
Backups
Habits
Careful clicking
Two factor login | mindmap |
mindmap festivals in spain | mindmap
root((Spanish festivals))
Fire and food
Las Fallas
La Tomatina
Religious
Semana Santa
Feria de Abril
Running
San Fermin | mindmap |
flowchart for personalized product recommendations with purchase history, ranking and category display | graph TD
Start([Start: User visits site]) --> CheckUserProfile{User logged in?}
CheckUserProfile -->|Yes| GetUserHistory[Retrieve purchase history]
CheckUserProfile -->|No| GetBrowsingData[Collect browsing session data]
GetUserHistory --> AnalyzePreferences[Analyze user preferences]
GetBrowsingData ... | flowchart |
sequence diagram: customer submits an order, order service reserves items with the inventory service | sequenceDiagram
participant Customer
participant OrderService
participant InventoryService
Customer->>OrderService: Submit Order
activate OrderService
OrderService->>InventoryService: Reserve Items
activate InventoryService
alt items are available
InventoryService-->>OrderServic... | sequence |
database connection pool flowchart: acquire, create a new connection, wait, stale connection removal, timeout | graph TD
Start[Start: Request DB Connection] --> CheckPool{Connection Available in Pool?}
CheckPool -->|Yes| AcquireConnection[Acquire Connection from Pool]
CheckPool -->|No| CheckMaxConnections{Max Pool Size Reached?}
CheckMaxConnections -->|No| CreateNewConnection[Create New Database Connection]
C... | flowchart |
2D array search flowchart returning the row and column of a target value, or -1,-1 | classDiagram
class Person {
+String firstName
+String lastName
+Date dateOfBirth
+getFullName() String
}
class Patient {
+String patientId
-String medicalHistory
+String insuranceNumber
+admit() void
+discharge() void
}
class Do... | class |
gRPC bidirectional chat stream sequence diagram: mobile client, API gateway, streaming service, conversation database, metrics | sequenceDiagram
participant Client as Mobile Client
participant Gateway as API Gateway
participant Service as Streaming Service
participant Database as Conversation Database
participant Metrics as Metrics Collector
Client->>Gateway: Open gRPC bidirectional stream
activate Gateway
Gatewa... | sequence |
flowchart: receive form, validate input, send confirmation or request correction, store data | graph TD
Start --> A[Receive form]
A --> B{Valid input?}
B -->|Yes| C[Send confirmation]
B -->|No| D[Request correction]
C --> E[Store data]
D --> E
E --> End | flowchart |
class diagram for an RPG with interfaces for playable, equippable, quest giver and skill user, and a Player class | classDiagram
class IPlayable {
<<interface>>
+move() void
+attack() void
}
class IEquippable {
<<interface>>
+equip() void
+unequip() void
}
class IQuestGiver {
<<interface>>
+offerQuest() Quest
+rewardPlayer() void
}
cl... | class |
flowchart over de kringloopwinkel spullen brengen | flowchart TD
A[Spullen over] --> B{Zijn ze nog heel?}
B -->|Ja| C[Naar de kringloopwinkel]
B -->|Nee| D[Naar het afvalbrengstation] | flowchart |
search flowchart: validate query, choose keyword, phrase or fuzzy matching, and retry if no hits | graph TD
Start[User inputs the search query string] --> ValidateQuery{Is search query valid and non-empty?}
ValidateQuery -->|No| ErrorExit[Terminate with invalid input error]
ValidateQuery -->|Yes| RouteQuery{Select the specific search algorithm}
RouteQuery -->|Keyword| ProcessKeyword[Execute stan... | flowchart |
mind map for a youtube channel | mindmap
root((YouTube channel))
Niche
Gaming
Cooking
Tech reviews
Production
Script
Filming
Thumbnail
Growth
SEO
Consistency
Community | mindmap |
Rabin-Karp pattern search flowchart: hash the pattern, hash first window, slide and compare | sequenceDiagram
participant Client
participant AuthAPI as Authentication API
participant UserDB as User Database
participant TokenStore as Refresh Token Store
participant ResourceAPI as Resource API
Client->>AuthAPI: POST /login with email and password
activate AuthAPI
AuthAPI->>UserDB:... | sequence |
sequence diagram of a browser redirected to an identity provider for login, with valid and invalid credentials | sequenceDiagram
participant Browser
participant AppService as App Service
participant IdentityProvider as Identity Provider
Browser->>AppService: GET /dashboard
activate AppService
AppService-->>Browser: 302 Redirect to Identity Provider
deactivate AppService
Browser->>IdentityProvider... | sequence |
ER diagram for events: events, venues, organizers and tickets | erDiagram
EVENT {
string event_id PK
string organizer_id FK
string venue_id FK
string event_name
date event_date
}
VENUE {
string venue_id PK
string venue_name
string address
int capacity
}
ORGANIZER {
string organizer_i... | er |
flowchart of form handling: validate, save data and send confirmation or show error | graph TD
Start --> A[Receive Form]
A --> B{Is Form Valid?}
B -->|Yes| C[Save Data]
B -->|No| D[Show Error]
C --> E[Send Confirmation]
E --> End | flowchart |
gantt chart for annual marketing campaign planning | gantt
title Annual Marketing Campaign Planning
dateFormat YYYY-MM-DD
Campaign objectives and audience research :done, objectives_research, 2026-01-05, 7d
Market and competitor analysis :done, competitor_analysis, after objectives_research, 6d
Annual campaign budget proposal :budget_proposal, after ... | gantt |
ER diagram for a university with students, courses, enrollments and professors | erDiagram
STUDENT {
string student_id PK
string full_name
string email
date enrollment_date
}
COURSE {
string course_id PK
string course_code
string title
int credits
string department_id FK
string professor_id FK
}
ENRO... | er |
tijd voor nieuwe kleren? flowchart | flowchart TD
A[Kast open] --> B{Past alles nog?}
B -->|Nee| C[Sorteren]
B -->|Ja| D{Zijn er gaten?}
D -->|Ja| C
D -->|Nee| E[Niets kopen]
C --> F{Nog draagbaar?}
F -->|Ja| G[Naar kringloop]
F -->|Nee| H[Naar de kledingcontainer]
G --> I[Nieuwe kleding kopen]
H --> I | flowchart |
sequence diagram of a circuit breaker with retries after 500 errors, then returning 503 | sequenceDiagram
participant Client as API Client
participant CB as Circuit Breaker
participant Service as Backend Service
Client->>CB: GET /products
activate CB
loop Retry Loop (3 Attempts)
CB->>Service: GET /products
activate Service
Service-->>CB: 500 Internal Error
... | sequence |
state diagram of a device connection: offline, connecting, online, error and maintenance | stateDiagram-v2
[*] --> Offline : Power On
Offline --> Connecting : Initialize Connection
Offline --> Maintenance : Service Button Pressed
Connecting --> Online : Connection Succeeded
Connecting --> Error : Connection Timeout
Online --> Offline : Disconnect Command
Online --> Error : Keepali... | state |
Mermaid Text-to-Code — English and Dutch
5,746 prompt-to-Mermaid examples from the local MiniMind Mermaid training collection.
Each row has prompt, code, and type. The original JSONL is preserved byte-for-byte. This snapshot has one training split and no dedicated validation split.
The local assembly pipeline combines generated examples with prompts written for existing diagrams, filters using recorded Mermaid parsing/conversion checks, excludes topics near a separate evaluation set, and deduplicates prompts. These checks were performed by the source pipeline; this upload validates JSON structure and preserves its output.
Provenance and licensing
Some diagrams derive from the locally stored Dangit collection. Its MIT copyright and license are retained in LICENSE-upstream. The publisher’s original contributions and compilation are now licensed under Apache 2.0. MIT-covered source diagrams retain their MIT terms and attribution in LICENSE-upstream. See the licensing section below.
Loading
from datasets import load_dataset
ds = load_dataset("Lucasgitguy-co/mermaid-text-en-nl")
Uploaded from a local snapshot on 2026-11-01. This original collection overlaps the derived Lucasgitguy-co/mermaid-diagram-text-images dataset and should not be used as an independent evaluation set for that dataset.
License and attribution
The publisher’s original contributions and compilation are licensed under Apache 2.0, provided in LICENSE. Third-party Dangit material remains under MIT; its full notice is preserved in LICENSE-upstream. This license grant covers only rights held by the publisher and does not replace third-party terms.
Repository guide
Related dataset: Mermaid Diagrams — Text and Image Training Data. These collections overlap; keep evaluation examples separate.
- Downloads last month
- -