mermaid-syntax / syntax_title_samples.jsonl
gabrielLarsSabadin's picture
Upload folder using huggingface_hub
818e113 verified
{"task": "TITLE", "input": {"diagram": "-example\n C4Context\n title System Context diagram for Internet Banking System\n Enterprise_Boundary(b0, \"BankBoundary0\") {\n Person(customerA, \"Banking Customer A\", \"A customer of the bank, with personal bank accounts.\")\n Person(customerB, \"Banking Customer B\")\n Person_Ext(customerC, \"Banking Customer C\", \"desc\")\n\n Person(customerD, \"Banking Customer D\", \"A customer of the bank, <br/> with personal bank accounts.\")\n\n System(SystemAA, \"Internet Banking System\", \"Allows customers to view information about their bank accounts, and make payments.\")\n\n Enterprise_Boundary(b1, \"BankBoundary\") {\n\n SystemDb_Ext(SystemE, \"Mainframe Banking System\", \"Stores all of the core banking information about customers, accounts, transactions, etc.\")\n\n System_Boundary(b2, \"BankBoundary2\") {\n System(SystemA, \"Banking System A\")\n System(SystemB, \"Banking System B\", \"A system of the bank, with personal bank accounts. next line.\")\n }\n\n System_Ext(SystemC, \"E-mail system\", \"The internal Microsoft Exchange e-mail system.\")\n SystemDb(SystemD, \"Banking System D Database\", \"A system of the bank, with personal bank accounts.\")\n\n Boundary(b3, \"BankBoundary3\", \"boundary\") {\n SystemQueue(SystemF, \"Banking System F Queue\", \"A system of the bank.\")\n SystemQueue_Ext(SystemG, \"Banking System G Queue\", \"A system of the bank, with personal bank accounts.\")\n }\n }\n }\n\n BiRel(customerA, SystemAA, \"Uses\")\n BiRel(SystemAA, SystemE, \"Uses\")\n Rel(SystemAA, SystemC, \"Sends e-mails\", \"SMTP\")\n Rel(SystemC, customerA, \"Sends e-mails to\")\n\n UpdateElementStyle(customerA, $fontColor=\"red\", $bgColor=\"grey\", $borderColor=\"red\")\n UpdateRelStyle(customerA, SystemAA, $textColor=\"blue\", $lineColor=\"blue\", $offsetX=\"5\")\n UpdateRelStyle(SystemAA, SystemE, $textColor=\"blue\", $lineColor=\"blue\", $offsetY=\"-10\")\n UpdateRelStyle(SystemAA, SystemC, $textColor=\"blue\", $lineColor=\"blue\", $offsetY=\"-40\", $offsetX=\"-50\")\n UpdateRelStyle(SystemC, customerA, $textColor=\"red\", $lineColor=\"red\", $offsetX=\"-50\", $offsetY=\"20\")\n\n UpdateLayoutConfig($c4ShapeInRow=\"3\", $c4BoundaryInRow=\"1\")", "diagram_type": "unknown"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Mermaid Diagram", "summary": "A Mermaid diagram."}}
{"task": "TITLE", "input": {"diagram": "-example\n C4Container\n title Container diagram for Internet Banking System\n\n System_Ext(email_system, \"E-Mail System\", \"The internal Microsoft Exchange system\", $tags=\"v1.0\")\n Person(customer, Customer, \"A customer of the bank, with personal bank accounts\", $tags=\"v1.0\")\n\n Container_Boundary(c1, \"Internet Banking\") {\n Container(spa, \"Single-Page App\", \"JavaScript, Angular\", \"Provides all the Internet banking functionality to cutomers via their web browser\")\n Container_Ext(mobile_app, \"Mobile App\", \"C#, Xamarin\", \"Provides a limited subset of the Internet banking functionality to customers via their mobile device\")\n Container(web_app, \"Web Application\", \"Java, Spring MVC\", \"Delivers the static content and the Internet banking SPA\")\n ContainerDb(database, \"Database\", \"SQL Database\", \"Stores user registration information, hashed auth credentials, access logs, etc.\")\n ContainerDb_Ext(backend_api, \"API Application\", \"Java, Docker Container\", \"Provides Internet banking functionality via API\")\n\n }\n\n System_Ext(banking_system, \"Mainframe Banking System\", \"Stores all of the core banking information about customers, accounts, transactions, etc.\")\n\n Rel(customer, web_app, \"Uses\", \"HTTPS\")\n UpdateRelStyle(customer, web_app, $offsetY=\"60\", $offsetX=\"90\")\n Rel(customer, spa, \"Uses\", \"HTTPS\")\n UpdateRelStyle(customer, spa, $offsetY=\"-40\")\n Rel(customer, mobile_app, \"Uses\")\n UpdateRelStyle(customer, mobile_app, $offsetY=\"-30\")\n\n Rel(web_app, spa, \"Delivers\")\n UpdateRelStyle(web_app, spa, $offsetX=\"130\")\n Rel(spa, backend_api, \"Uses\", \"async, JSON/HTTPS\")\n Rel(mobile_app, backend_api, \"Uses\", \"async, JSON/HTTPS\")\n Rel_Back(database, backend_api, \"Reads from and writes to\", \"sync, JDBC\")\n\n Rel(email_system, customer, \"Sends e-mails to\")\n UpdateRelStyle(email_system, customer, $offsetX=\"-45\")\n Rel(backend_api, email_system, \"Sends e-mails using\", \"sync, SMTP\")\n UpdateRelStyle(backend_api, email_system, $offsetY=\"-60\")\n Rel(backend_api, banking_system, \"Uses\", \"sync/async, XML/HTTPS\")\n UpdateRelStyle(backend_api, banking_system, $offsetY=\"-50\", $offsetX=\"-140\")", "diagram_type": "unknown"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Mermaid Diagram", "summary": "A Mermaid diagram."}}
{"task": "TITLE", "input": {"diagram": "-example\n C4Component\n title Component diagram for Internet Banking System - API Application\n\n Container(spa, \"Single Page Application\", \"javascript and angular\", \"Provides all the internet banking functionality to customers via their web browser.\")\n Container(ma, \"Mobile App\", \"Xamarin\", \"Provides a limited subset to the internet banking functionality to customers via their mobile mobile device.\")\n ContainerDb(db, \"Database\", \"Relational Database Schema\", \"Stores user registration information, hashed authentication credentials, access logs, etc.\")\n System_Ext(mbs, \"Mainframe Banking System\", \"Stores all of the core banking information about customers, accounts, transactions, etc.\")\n\n Container_Boundary(api, \"API Application\") {\n Component(sign, \"Sign In Controller\", \"MVC Rest Controller\", \"Allows users to sign in to the internet banking system\")\n Component(accounts, \"Accounts Summary Controller\", \"MVC Rest Controller\", \"Provides customers with a summary of their bank accounts\")\n Component(security, \"Security Component\", \"Spring Bean\", \"Provides functionality related to singing in, changing passwords, etc.\")\n Component(mbsfacade, \"Mainframe Banking System Facade\", \"Spring Bean\", \"A facade onto the mainframe banking system.\")\n\n Rel(sign, security, \"Uses\")\n Rel(accounts, mbsfacade, \"Uses\")\n Rel(security, db, \"Read & write to\", \"JDBC\")\n Rel(mbsfacade, mbs, \"Uses\", \"XML/HTTPS\")\n }\n\n Rel_Back(spa, sign, \"Uses\", \"JSON/HTTPS\")\n Rel(spa, accounts, \"Uses\", \"JSON/HTTPS\")\n\n Rel(ma, sign, \"Uses\", \"JSON/HTTPS\")\n Rel(ma, accounts, \"Uses\", \"JSON/HTTPS\")\n\n UpdateRelStyle(spa, sign, $offsetY=\"-40\")\n UpdateRelStyle(spa, accounts, $offsetX=\"40\", $offsetY=\"40\")\n\n UpdateRelStyle(ma, sign, $offsetX=\"-90\", $offsetY=\"40\")\n UpdateRelStyle(ma, accounts, $offsetY=\"-40\")\n\n UpdateRelStyle(sign, security, $offsetX=\"-160\", $offsetY=\"10\")\n UpdateRelStyle(accounts, mbsfacade, $offsetX=\"140\", $offsetY=\"10\")\n UpdateRelStyle(security, db, $offsetY=\"-40\")\n UpdateRelStyle(mbsfacade, mbs, $offsetY=\"-40\")", "diagram_type": "unknown"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Mermaid Diagram", "summary": "A Mermaid diagram."}}
{"task": "TITLE", "input": {"diagram": "C4Context\n title System Context diagram for Internet Banking System\n Enterprise_Boundary(b0, \"BankBoundary0\") {\n Person(customerA, \"Banking Customer A\", \"A customer of the bank, with personal bank accounts.\")\n Person(customerB, \"Banking Customer B\")\n Person_Ext(customerC, \"Banking Customer C\", \"desc\")\n\n Person(customerD, \"Banking Customer D\", \"A customer of the bank, <br/> with personal bank accounts.\")\n\n System(SystemAA, \"Internet Banking System\", \"Allows customers to view information about their bank accounts, and make payments.\")\n\n Enterprise_Boundary(b1, \"BankBoundary\") {\n\n SystemDb_Ext(SystemE, \"Mainframe Banking System\", \"Stores all of the core banking information about customers, accounts, transactions, etc.\")\n\n System_Boundary(b2, \"BankBoundary2\") {\n System(SystemA, \"Banking System A\")\n System(SystemB, \"Banking System B\", \"A system of the bank, with personal bank accounts. next line.\")\n }\n\n System_Ext(SystemC, \"E-mail system\", \"The internal Microsoft Exchange e-mail system.\")\n SystemDb(SystemD, \"Banking System D Database\", \"A system of the bank, with personal bank accounts.\")\n\n Boundary(b3, \"BankBoundary3\", \"boundary\") {\n SystemQueue(SystemF, \"Banking System F Queue\", \"A system of the bank.\")\n SystemQueue_Ext(SystemG, \"Banking System G Queue\", \"A system of the bank, with personal bank accounts.\")\n }\n }\n }\n\n BiRel(customerA, SystemAA, \"Uses\")\n BiRel(SystemAA, SystemE, \"Uses\")\n Rel(SystemAA, SystemC, \"Sends e-mails\", \"SMTP\")\n Rel(SystemC, customerA, \"Sends e-mails to\")\n\n UpdateElementStyle(customerA, $fontColor=\"red\", $bgColor=\"grey\", $borderColor=\"red\")\n UpdateRelStyle(customerA, SystemAA, $textColor=\"blue\", $lineColor=\"blue\", $offsetX=\"5\")\n UpdateRelStyle(SystemAA, SystemE, $textColor=\"blue\", $lineColor=\"blue\", $offsetY=\"-10\")\n UpdateRelStyle(SystemAA, SystemC, $textColor=\"blue\", $lineColor=\"blue\", $offsetY=\"-40\", $offsetX=\"-50\")\n UpdateRelStyle(SystemC, customerA, $textColor=\"red\", $lineColor=\"red\", $offsetX=\"-50\", $offsetY=\"20\")\n\n UpdateLayoutConfig($c4ShapeInRow=\"3\", $c4BoundaryInRow=\"1\")", "diagram_type": "c4Context"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "C4 Diagram", "summary": "A Mermaid diagram."}}
{"task": "TITLE", "input": {"diagram": "C4Container\n title Container diagram for Internet Banking System\n\n System_Ext(email_system, \"E-Mail System\", \"The internal Microsoft Exchange system\", $tags=\"v1.0\")\n Person(customer, Customer, \"A customer of the bank, with personal bank accounts\", $tags=\"v1.0\")\n\n Container_Boundary(c1, \"Internet Banking\") {\n Container(spa, \"Single-Page App\", \"JavaScript, Angular\", \"Provides all the Internet banking functionality to cutomers via their web browser\")\n Container_Ext(mobile_app, \"Mobile App\", \"C#, Xamarin\", \"Provides a limited subset of the Internet banking functionality to customers via their mobile device\")\n Container(web_app, \"Web Application\", \"Java, Spring MVC\", \"Delivers the static content and the Internet banking SPA\")\n ContainerDb(database, \"Database\", \"SQL Database\", \"Stores user registration information, hashed auth credentials, access logs, etc.\")\n ContainerDb_Ext(backend_api, \"API Application\", \"Java, Docker Container\", \"Provides Internet banking functionality via API\")\n\n }\n\n System_Ext(banking_system, \"Mainframe Banking System\", \"Stores all of the core banking information about customers, accounts, transactions, etc.\")\n\n Rel(customer, web_app, \"Uses\", \"HTTPS\")\n UpdateRelStyle(customer, web_app, $offsetY=\"60\", $offsetX=\"90\")\n Rel(customer, spa, \"Uses\", \"HTTPS\")\n UpdateRelStyle(customer, spa, $offsetY=\"-40\")\n Rel(customer, mobile_app, \"Uses\")\n UpdateRelStyle(customer, mobile_app, $offsetY=\"-30\")\n\n Rel(web_app, spa, \"Delivers\")\n UpdateRelStyle(web_app, spa, $offsetX=\"130\")\n Rel(spa, backend_api, \"Uses\", \"async, JSON/HTTPS\")\n Rel(mobile_app, backend_api, \"Uses\", \"async, JSON/HTTPS\")\n Rel_Back(database, backend_api, \"Reads from and writes to\", \"sync, JDBC\")\n\n Rel(email_system, customer, \"Sends e-mails to\")\n UpdateRelStyle(email_system, customer, $offsetX=\"-45\")\n Rel(backend_api, email_system, \"Sends e-mails using\", \"sync, SMTP\")\n UpdateRelStyle(backend_api, email_system, $offsetY=\"-60\")\n Rel(backend_api, banking_system, \"Uses\", \"sync/async, XML/HTTPS\")\n UpdateRelStyle(backend_api, banking_system, $offsetY=\"-50\", $offsetX=\"-140\")", "diagram_type": "c4Container"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "C4 Diagram", "summary": "A Mermaid diagram."}}
{"task": "TITLE", "input": {"diagram": "C4Component\n title Component diagram for Internet Banking System - API Application\n\n Container(spa, \"Single Page Application\", \"javascript and angular\", \"Provides all the internet banking functionality to customers via their web browser.\")\n Container(ma, \"Mobile App\", \"Xamarin\", \"Provides a limited subset to the internet banking functionality to customers via their mobile mobile device.\")\n ContainerDb(db, \"Database\", \"Relational Database Schema\", \"Stores user registration information, hashed authentication credentials, access logs, etc.\")\n System_Ext(mbs, \"Mainframe Banking System\", \"Stores all of the core banking information about customers, accounts, transactions, etc.\")\n\n Container_Boundary(api, \"API Application\") {\n Component(sign, \"Sign In Controller\", \"MVC Rest Controller\", \"Allows users to sign in to the internet banking system\")\n Component(accounts, \"Accounts Summary Controller\", \"MVC Rest Controller\", \"Provides customers with a summary of their bank accounts\")\n Component(security, \"Security Component\", \"Spring Bean\", \"Provides functionality related to singing in, changing passwords, etc.\")\n Component(mbsfacade, \"Mainframe Banking System Facade\", \"Spring Bean\", \"A facade onto the mainframe banking system.\")\n\n Rel(sign, security, \"Uses\")\n Rel(accounts, mbsfacade, \"Uses\")\n Rel(security, db, \"Read & write to\", \"JDBC\")\n Rel(mbsfacade, mbs, \"Uses\", \"XML/HTTPS\")\n }\n\n Rel_Back(spa, sign, \"Uses\", \"JSON/HTTPS\")\n Rel(spa, accounts, \"Uses\", \"JSON/HTTPS\")\n\n Rel(ma, sign, \"Uses\", \"JSON/HTTPS\")\n Rel(ma, accounts, \"Uses\", \"JSON/HTTPS\")\n\n UpdateRelStyle(spa, sign, $offsetY=\"-40\")\n UpdateRelStyle(spa, accounts, $offsetX=\"40\", $offsetY=\"40\")\n\n UpdateRelStyle(ma, sign, $offsetX=\"-90\", $offsetY=\"40\")\n UpdateRelStyle(ma, accounts, $offsetY=\"-40\")\n\n UpdateRelStyle(sign, security, $offsetX=\"-160\", $offsetY=\"10\")\n UpdateRelStyle(accounts, mbsfacade, $offsetX=\"140\", $offsetY=\"10\")\n UpdateRelStyle(security, db, $offsetY=\"-40\")\n UpdateRelStyle(mbsfacade, mbs, $offsetY=\"-40\")", "diagram_type": "c4Component"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "C4 Diagram", "summary": "A Mermaid diagram."}}
{"task": "TITLE", "input": {"diagram": "C4Dynamic\n title Dynamic diagram for Internet Banking System - API Application\n\n ContainerDb(c4, \"Database\", \"Relational Database Schema\", \"Stores user registration information, hashed authentication credentials, access logs, etc.\")\n Container(c1, \"Single-Page Application\", \"JavaScript and Angular\", \"Provides all of the Internet banking functionality to customers via their web browser.\")\n Container_Boundary(b, \"API Application\") {\n Component(c3, \"Security Component\", \"Spring Bean\", \"Provides functionality Related to signing in, changing passwords, etc.\")\n Component(c2, \"Sign In Controller\", \"Spring MVC Rest Controller\", \"Allows users to sign in to the Internet Banking System.\")\n }\n Rel(c1, c2, \"Submits credentials to\", \"JSON/HTTPS\")\n Rel(c2, c3, \"Calls isAuthenticated() on\")\n Rel(c3, c4, \"select * from users where username = ?\", \"JDBC\")\n\n UpdateRelStyle(c1, c2, $textColor=\"red\", $offsetY=\"-40\")\n UpdateRelStyle(c2, c3, $textColor=\"red\", $offsetX=\"-40\", $offsetY=\"60\")\n UpdateRelStyle(c3, c4, $textColor=\"red\", $offsetY=\"-40\", $offsetX=\"10\")", "diagram_type": "c4Dynamic"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "C4 Diagram", "summary": "A Mermaid diagram."}}
{"task": "TITLE", "input": {"diagram": "classDiagram\n class Animal\n Vehicle <|-- Car", "diagram_type": "classDiagram"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Class Diagram", "summary": "A class diagram defining entities and their members."}}
{"task": "TITLE", "input": {"diagram": "classDiagram\n class Animal[\"Animal with a label\"]\n class Car[\"Car with *! symbols\"]\n Animal --> Car", "diagram_type": "classDiagram"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Class Diagram", "summary": "A class diagram defining entities and their members."}}
{"task": "TITLE", "input": {"diagram": "classDiagram\n class `Animal Class!`\n class `Car Class`\n `Animal Class!` --> `Car Class`", "diagram_type": "classDiagram"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Class Diagram", "summary": "A class diagram defining entities and their members."}}
{"task": "TITLE", "input": {"diagram": "erDiagram\n CUSTOMER ||--o{ ORDER : places\n CUSTOMER {\n string name\n string custNumber\n string sector\n }\n ORDER ||--|{ LINE-ITEM : contains\n ORDER {\n int orderNumber\n string deliveryAddress\n }\n LINE-ITEM {\n string productCode\n int quantity\n float pricePerUnit\n }", "diagram_type": "erDiagram"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "ER Diagram", "summary": "An entity-relationship diagram showing relationships between entities."}}
{"task": "TITLE", "input": {"diagram": "erDiagram\n CAR ||--o{ NAMED-DRIVER : allows\n PERSON ||--o{ NAMED-DRIVER : is", "diagram_type": "erDiagram"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "ER Diagram", "summary": "An entity-relationship diagram showing relationships between entities."}}
{"task": "TITLE", "input": {"diagram": "erDiagram\n CAR ||--o{ NAMED-DRIVER : allows\n CAR {\n string registrationNumber\n string make\n string model\n }\n PERSON ||--o{ NAMED-DRIVER : is\n PERSON {\n string firstName\n string lastName\n int age\n }", "diagram_type": "erDiagram"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "ER Diagram", "summary": "An entity-relationship diagram showing relationships between entities."}}
{"task": "TITLE", "input": {"diagram": "pie title NETFLIX\n \"Time spent looking for movie\" : 90\n \"Time spent watching it\" : 10", "diagram_type": "pie"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Pie Chart", "summary": "A pie chart with labeled slices."}}
{"task": "TITLE", "input": {"diagram": "pie title What Voldemort doesn't have?\n \"FRIENDS\" : 2\n \"FAMILY\" : 3\n \"NOSE\" : 45", "diagram_type": "pie"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Pie Chart", "summary": "A pie chart with labeled slices."}}
{"task": "TITLE", "input": {"diagram": "pie title Pets adopted by volunteers\n \"Dogs\" : 386\n \"Cats\" : 85\n \"Rats\" : 15", "diagram_type": "pie"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Pie Chart", "summary": "A pie chart with labeled slices."}}
{"task": "TITLE", "input": {"diagram": "sequenceDiagram\n Alice ->> Bob: Hello Bob, how are you?\n Bob-->>John: How about you John?\n Bob--x Alice: I am good thanks!\n Bob-x John: I am good thanks!\n Note right of John: Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.\n\n Bob-->Alice: Checking with John...\n Alice->John: Yes... John, how are you?", "diagram_type": "sequenceDiagram"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Sequence Diagram", "summary": "A sequence diagram showing message exchanges between participants."}}
{"task": "TITLE", "input": {"diagram": "sequenceDiagram\n loop Daily query\n Alice->>Bob: Hello Bob, how are you?\n alt is sick\n Bob->>Alice: Not so good :(\n else is well\n Bob->>Alice: Feeling fresh like a daisy\n end\n\n opt Extra response\n Bob->>Alice: Thanks for asking\n end\n end", "diagram_type": "sequenceDiagram"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Sequence Diagram", "summary": "A sequence diagram showing message exchanges between participants."}}
{"task": "TITLE", "input": {"diagram": "sequenceDiagram\n participant Alice\n participant Bob\n Alice->>John: Hello John, how are you?\n loop Healthcheck\n John->>John: Fight against hypochondria\n end\n Note right of John: Rational thoughts<br/>prevail...\n John-->>Alice: Great!\n John->>Bob: How about you?\n Bob-->>John: Jolly good!", "diagram_type": "sequenceDiagram"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Sequence Diagram", "summary": "A sequence diagram showing message exchanges between participants."}}
{"task": "TITLE", "input": {"diagram": "graph LR\n A[Square Rect] -- Link text --> B((Circle))\n A --> C(Round Rect)\n B --> D{Rhombus}\n C --> D", "diagram_type": "graph"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Flowchart", "summary": "A flowchart illustrating the main steps in a process."}}
{"task": "TITLE", "input": {"diagram": "graph TB\n sq[Square shape] --> ci((Circle shape))\n\n subgraph A\n od>Odd shape]-- Two line<br/>edge comment --> ro\n di{Diamond with <br/> line break} -.-> ro(Rounded<br>square<br>shape)\n di==>ro2(Rounded square shape)\n end\n\n %% Notice that no text in shape are added here instead that is appended further down\n e --> od3>Really long text with linebreak<br>in an Odd shape]\n\n %% Comments after double percent signs\n e((Inner / circle<br>and some odd <br>special characters)) --> f(,.?!+-*ز)\n\n cyr[Cyrillic]-->cyr2((Circle shape Начало));\n\n classDef green fill:#9f6,stroke:#333,stroke-width:2px;\n classDef orange fill:#f96,stroke:#333,stroke-width:4px;\n class sq,e green\n class di orange", "diagram_type": "graph"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Flowchart", "summary": "A flowchart illustrating the main steps in a process."}}
{"task": "TITLE", "input": {"diagram": "gitGraph:\n commit \"Ashish\"\n branch newbranch\n checkout newbranch\n commit id:\"1111\"\n commit tag:\"test\"\n checkout main\n commit type: HIGHLIGHT\n commit\n merge newbranch\n commit\n branch b2\n commit", "diagram_type": "gitGraph"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Git Graph", "summary": "A git graph visualizing branches and commits."}}
{"task": "TITLE", "input": {"diagram": "gitGraph\n commit\n commit\n commit", "diagram_type": "gitGraph"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Git Graph", "summary": "A git graph visualizing branches and commits."}}
{"task": "TITLE", "input": {"diagram": "gitGraph\n commit id: \"Alpha\"\n commit id: \"Beta\"\n commit id: \"Gamma\"", "diagram_type": "gitGraph"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Git Graph", "summary": "A git graph visualizing branches and commits."}}
{"task": "TITLE", "input": {"diagram": "flowchart LR\n id[\"This ❤ Unicode\"]", "diagram_type": "flowchart"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Flowchart", "summary": "A flowchart illustrating the main steps in a process."}}
{"task": "TITLE", "input": {"diagram": "flowchart TD\n Start --> Stop", "diagram_type": "flowchart"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Flowchart", "summary": "A flowchart illustrating the main steps in a process."}}
{"task": "TITLE", "input": {"diagram": "flowchart LR\n Start --> Stop", "diagram_type": "flowchart"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Flowchart", "summary": "A flowchart illustrating the main steps in a process."}}
{"task": "TITLE", "input": {"diagram": "gantt\n title A Gantt Diagram\n dateFormat YYYY-MM-DD\n section Section\n A task :a1, 2014-01-01, 30d\n Another task :after a1, 20d\n section Another\n Task in Another :2014-01-12, 12d\n another task :24d", "diagram_type": "gantt"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Project Plan", "summary": "A Gantt chart with sections and tasks over time."}}
{"task": "TITLE", "input": {"diagram": "gantt\n dateFormat YYYY-MM-DD\n title Adding GANTT diagram functionality to mermaid\n excludes weekends\n %% (`excludes` accepts specific dates in YYYY-MM-DD format, days of the week (\"sunday\") or \"weekends\", but not the word \"weekdays\".)\n\n section A section\n Completed task :done, des1, 2014-01-06,2014-01-08\n Active task :active, des2, 2014-01-09, 3d\n Future task : des3, after des2, 5d\n Future task2 : des4, after des3, 5d\n\n section Critical tasks\n Completed task in the critical line :crit, done, 2014-01-06,24h\n Implement parser and jison :crit, done, after des1, 2d\n Create tests for parser :crit, active, 3d\n Future task in critical line :crit, 5d\n Create tests for renderer :2d\n Add to mermaid :1d\n Functionality added :milestone, 2014-01-25, 0d\n\n section Documentation\n Describe gantt syntax :active, a1, after des1, 3d\n Add gantt diagram to demo page :after a1 , 20h\n Add another diagram to demo page :doc1, after a1 , 48h\n\n section Last section\n Describe gantt syntax :after doc1, 3d\n Add gantt diagram to demo page :20h\n Add another diagram to demo page :48h", "diagram_type": "gantt"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Project Plan", "summary": "A Gantt chart with sections and tasks over time."}}
{"task": "TITLE", "input": {"diagram": "gantt\n apple :a, 2017-07-20, 1w\n banana :crit, b, 2017-07-23, 1d\n cherry :active, c, after b a, 1d", "diagram_type": "gantt"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Project Plan", "summary": "A Gantt chart with sections and tasks over time."}}
{"task": "TITLE", "input": {"diagram": "mindmap\n root((mindmap))\n Origins\n Long history\n ::icon(fa fa-book)\n Popularisation\n British popular psychology author Tony Buzan\n Research\n On effectiveness<br/>and features\n On Automatic creation\n Uses\n Creative techniques\n Strategic planning\n Argument mapping\n Tools\n Pen and paper\n Mermaid", "diagram_type": "mindmap"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Mindmap", "summary": "A mindmap diagram with nested ideas."}}
{"task": "TITLE", "input": {"diagram": "mindmap\nRoot\n A\n B\n C", "diagram_type": "mindmap"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Mindmap", "summary": "A mindmap diagram with nested ideas."}}
{"task": "TITLE", "input": {"diagram": "mindmap\n id[I am a square]", "diagram_type": "mindmap"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Mindmap", "summary": "A mindmap diagram with nested ideas."}}
{"task": "TITLE", "input": {"diagram": "quadrantChart\n title Reach and engagement of campaigns\n x-axis Low Reach --> High Reach\n y-axis Low Engagement --> High Engagement\n quadrant-1 We should expand\n quadrant-2 Need to promote\n quadrant-3 Re-evaluate\n quadrant-4 May be improved\n Campaign A: [0.3, 0.6]\n Campaign B: [0.45, 0.23]\n Campaign C: [0.57, 0.69]\n Campaign D: [0.78, 0.34]\n Campaign E: [0.40, 0.34]\n Campaign F: [0.35, 0.78]", "diagram_type": "quadrantChart"}, "result": {"compiler_errors": [], "patch": [], "repaired_diagram": null, "diagram_content": null, "title": "Quadrant Chart", "summary": "A quadrant chart positioning items in four quadrants."}}