{"id":99,"date":"2026-05-26T08:05:44","date_gmt":"2026-05-26T08:05:44","guid":{"rendered":"https:\/\/www.vpascode.com\/pl\/docs\/uncategorized\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/"},"modified":"2026-07-29T08:33:53","modified_gmt":"2026-07-29T08:33:53","slug":"mermaid-js-gantt-chart-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/","title":{"rendered":"Mermaid.js Gantt Chart Syntax Guide"},"content":{"rendered":"<h2>What is a Gantt Chart?<\/h2>\n<p>A <strong>Gantt Chart<\/strong> is a project management visualization tool used to map project schedules, task durations, and critical path milestones along a horizontal timeline. By representing work packages as bars and structural dependencies as sequential flows, it allows teams to track progress, identify potential bottlenecks, and communicate deadlines effectively.<\/p>\n<p>With <strong>Mermaid.js<\/strong>, you define your project schedule using a declarative, text-based syntax. The engine automatically calculates relative bar offsets, handles date-based grid axis scaling, and renders completion percentages, allowing you to generate professional project roadmaps directly inside your documentation.<\/p>\n<h2>Core Syntax Guide: Elements and Constructs<\/h2>\n<p>To design a valid, fully runnable project schedule in Mermaid, you must master the timeline configuration, task declarations, section grouping, and milestone markers.<\/p>\n<h3>1. Initializing the Gantt Timeline<\/h3>\n<p>You initialize a Gantt canvas on line one using the <code>gantt<\/code> keyword. Every Gantt chart requires a title, a date format definition, and a specific start date to anchor the timeline grid.<\/p>\n<pre class=\"lang-mermaid\"><code>gantt\r\n    title Project Alpha Schedule\r\n    dateFormat YYYY-MM-DD\r\n    axisFormat %Y-%m-%d\r\n    excludes weekends<\/code><\/pre>\n<h3>2. Defining Tasks and Durations<\/h3>\n<p>Tasks are defined by their status (active, done, or crit), a display label, an internal ID, and a time duration. You can specify a duration using days (<code>d<\/code>), hours (<code>h<\/code>), or specific start\/end dates.<\/p>\n<ul>\n<li><code>done<\/code>: Completed work package.<\/li>\n<li><code>active<\/code>: Current, in-progress work.<\/li>\n<li><code>crit<\/code>: Critical path task (renders in a distinct highlight color).<\/li>\n<\/ul>\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNotjMEKwjAQRO+C\/zAfEKEGtNCzIN7EP1iabbvQbjBZC\/69C3GYwzDw3kxqdjzAU3k0yYrnSqqic3sfKia04iZ1zDuXL4aUlQMS13NA7OL11Hl9X1JDXvz+SOGN1XAnW7i4DQO5fm9gDKDJuPwlffoB5+QpUw==\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-mermaid\"><code data-language=\"mermaid\" class=\"language-mermaid\">gantt\r\n    section Planning\r\n    Initial Discovery :done, des1, 2026-06-01, 5d\r\n    Requirement Gathering :active, des2, after des1, 7d<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNotjMEKwjAQRO+C\/zAfEKEGtNCzIN7EP1iabbvQbjBZC\/69C3GYwzDw3kxqdjzAU3k0yYrnSqqic3sfKia04iZ1zDuXL4aUlQMS13NA7OL11Hl9X1JDXvz+SOGN1XAnW7i4DQO5fm9gDKDJuPwlffoB5+QpUw==\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<p id=\"GiAAgrQ\"><img fetchpriority=\"high\" decoding=\"async\" width=\"584\" height=\"148\" class=\"alignnone size-full wp-image-644 \" src=\"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a1904945fb53.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a1904945fb53.png 584w, https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a1904945fb53-300x76.png 300w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/p>\n<h3>3. Implementing Milestones and Dependencies<\/h3>\n<p>Milestones are zero-duration points that mark significant project achievements. Dependencies are established using the task ID, ensuring that the visual bars align correctly when a predecessor finishes.<\/p>\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNpLT8wrKeHlUgCC4tTkksz8PIWg1JzUxOJUiKBTakmigk9iaV5yhoJVbmZOanFJfl6qjkKuoY6CkYGRma6Bua6hqY6CQQpEvVtmXmKOQqCjglVyUWaJjkJhIlBhYlpJahFYi6FBCgBpyiAG\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-mermaid\"><code data-language=\"mermaid\" class=\"language-mermaid\">gantt\r\n    section Release\r\n    Beta Launch :milestone, m1, 2026-07-15, 0d\r\n    Final QA :crit, qa1, after m1, 10d<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNpLT8wrKeHlUgCC4tTkksz8PIWg1JzUxOJUiKBTakmigk9iaV5yhoJVbmZOanFJfl6qjkKuoY6CkYGRma6Bua6hqY6CQQpEvVtmXmKOQqCjglVyUWaJjkJhIlBhYlpJahFYi6FBCgBpyiAG\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<p id=\"ZRwkzSW\"><img decoding=\"async\" width=\"584\" height=\"148\" class=\"alignnone size-full wp-image-645 \" src=\"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a19049872949.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a19049872949.png 584w, https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a19049872949-300x76.png 300w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/p>\n<h2>Best Practices for Project Schedules<\/h2>\n<ul>\n<li><strong>Use Descriptive Section Names:<\/strong> Use the <code>section<\/code> keyword to group your tasks into logical project phases (e.g., Development, Testing, Deployment). This creates a vertically segmented grid that is much easier to read than a single long list.<\/li>\n<li><strong>Leverage the 'after&#8217; Keyword:<\/strong> Instead of manually calculating dates, use the <code>after [task_id]<\/code> syntax. This ensures that if the project start date shifts, your entire timeline updates automatically without manual editing.<\/li>\n<li><strong>Exclude Non-Working Days:<\/strong> If your project follows a standard business week, include the <code>excludes weekends<\/code> directive. This keeps your timeline realistic and prevents unrealistic &#8222;weekend&#8221; work predictions.<\/li>\n<\/ul>\n<h2>Real-World Mermaid Gantt Chart Examples<\/h2>\n<h3>Example 1: Software Infrastructure Migration Roadmap<\/h3>\n<p>This functional blueprint models a multi-stage cloud migration project, utilizing sections to divide architecture planning from implementation and testing.<\/p>\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNptj0FLxDAQhe8L+x\/msrcG2sqK9FYsimBBVi8eh2Zag21Skonu\/ntnm9qDOCSQzMv7XmZAy7zfgRQbHgnuRxc1PNneY2AfO46eoDWDRzbOwsmhnnBODo1MD85PyPAupdpWNU2S8GzCKh0mddCpS+dujJoCfBN9ktVhv0tCoG7B1777MExLalLSfxoKZrByrbSzlAEWGZR5eatyWXIu8jXhlbroDV+gjtowVCjcr6uhlN0z+cV61H+DtwlTu0FGePNoQy8WqDphZjAVG0RwxXHNrOcZTqQ0zaO7yONpy7oa7v7JGimwzBFS\/8U7HZP06NSz\/FcYv28k9WbDCTjXP30jgVc=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-mermaid\"><code data-language=\"mermaid\" class=\"language-mermaid\">gantt\r\n    title Cloud Infrastructure Migration Roadmap\r\n    dateFormat YYYY-MM-DD\r\n    axisFormat %m-%d\r\n    excludes weekends\r\n\r\n    section Architecture\r\n    Cloud Design   :done, a1, 2026-06-01, 10d\r\n    Security Audit :active, a2, after a1, 5d\r\n\r\n    section Migration\r\n    Data Transfer  :crit, m1, after a2, 15d\r\n    App Re-deploy  :m2, after m1, 8d\r\n\r\n    section Milestones\r\n    Production Go-Live :milestone, m3, after m2, 0d<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNptj0FLxDAQhe8L+x\/msrcG2sqK9FYsimBBVi8eh2Zag21Skonu\/ntnm9qDOCSQzMv7XmZAy7zfgRQbHgnuRxc1PNneY2AfO46eoDWDRzbOwsmhnnBODo1MD85PyPAupdpWNU2S8GzCKh0mddCpS+dujJoCfBN9ktVhv0tCoG7B1777MExLalLSfxoKZrByrbSzlAEWGZR5eatyWXIu8jXhlbroDV+gjtowVCjcr6uhlN0z+cV61H+DtwlTu0FGePNoQy8WqDphZjAVG0RwxXHNrOcZTqQ0zaO7yONpy7oa7v7JGimwzBFS\/8U7HZP06NSz\/FcYv28k9WbDCTjXP30jgVc=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<p id=\"ZfqGmuG\"><img decoding=\"async\" width=\"584\" height=\"220\" class=\"alignnone size-full wp-image-646 \" src=\"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a19049caf4ef.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a19049caf4ef.png 584w, https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a19049caf4ef-300x113.png 300w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/p>\n<p><strong>Syntax Breakdown:<\/strong> This chart clearly separates planning, execution, and project milestones. By tagging the `Data Transfer` task as <code>crit<\/code>, it receives a distinct highlight, drawing the viewer&#8217;s attention to the most high-risk phase of the migration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is a Gantt Chart? A Gantt Chart is a project management visualization tool used to map project schedules, task durations, and critical path milestones along a horizontal timeline. By representing work packages as bars and structural dependencies as sequential&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":48,"menu_order":7,"template":"","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"ld_collection":[14],"class_list":["post-99","ld_docs","type-ld_docs","status-publish","hentry","ld_collection-vpascode-docs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mermaid Gantt Chart Syntax | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Track project schedules and task milestones with Mermaid Gantt charts in VPasCode, an intuitive diagram-as-code tool.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mermaid Gantt Chart Syntax | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Track project schedules and task milestones with Mermaid Gantt charts in VPasCode, an intuitive diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-29T08:33:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a1904945fb53.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minuty\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-gantt-chart-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-gantt-chart-syntax-guide\\\/\",\"name\":\"Mermaid Gantt Chart Syntax | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-gantt-chart-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-gantt-chart-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2026\\\/05\\\/img_6a1904945fb53.png\",\"datePublished\":\"2026-05-26T08:05:44+00:00\",\"dateModified\":\"2026-07-29T08:33:53+00:00\",\"description\":\"Track project schedules and task milestones with Mermaid Gantt charts in VPasCode, an intuitive diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-gantt-chart-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-gantt-chart-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-gantt-chart-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2026\\\/05\\\/img_6a1904945fb53.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2026\\\/05\\\/img_6a1904945fb53.png\",\"width\":584,\"height\":148},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-gantt-chart-syntax-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mermaid.js Playbook\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Mermaid.js Gantt Chart Syntax Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mermaid Gantt Chart Syntax | VPasCode Text to Diagram Guide","description":"Track project schedules and task milestones with Mermaid Gantt charts in VPasCode, an intuitive diagram-as-code tool.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/","og_locale":"pl_PL","og_type":"article","og_title":"Mermaid Gantt Chart Syntax | VPasCode Text to Diagram Guide","og_description":"Track project schedules and task milestones with Mermaid Gantt charts in VPasCode, an intuitive diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/","og_site_name":"VPasCode","article_modified_time":"2026-07-29T08:33:53+00:00","og_image":[{"url":"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a1904945fb53.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Szacowany czas czytania":"3 minuty"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/","url":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/","name":"Mermaid Gantt Chart Syntax | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/pl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a1904945fb53.png","datePublished":"2026-05-26T08:05:44+00:00","dateModified":"2026-07-29T08:33:53+00:00","description":"Track project schedules and task milestones with Mermaid Gantt charts in VPasCode, an intuitive diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a1904945fb53.png","contentUrl":"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/05\/img_6a1904945fb53.png","width":584,"height":148},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-gantt-chart-syntax-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/pl\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/pl\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"Mermaid.js Playbook","item":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-playbook\/"},{"@type":"ListItem","position":4,"name":"Mermaid.js Gantt Chart Syntax Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/pl\/#website","url":"https:\/\/www.vpascode.com\/pl\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/pl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/pl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/pl\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/pl\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/www.vpascode.com\/pl\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/pl\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/ld_docs\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/users\/4"}],"up":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/ld_docs\/48"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/ld_collection?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}