{"id":97,"date":"2026-05-26T08:05:44","date_gmt":"2026-05-26T08:05:44","guid":{"rendered":"https:\/\/www.vpascode.com\/tw\/docs\/uncategorized\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/"},"modified":"2026-07-29T08:33:44","modified_gmt":"2026-07-29T08:33:44","slug":"mermaid-js-mind-map-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/","title":{"rendered":"Mermaid.js Mind Map Syntax Guide"},"content":{"rendered":"<h2>What is a Mind Map?<\/h2>\n<p>A <strong>Mind Map<\/strong> is a hierarchical tree-based visualization used to capture, organize, and structure complex information flows, brainstormed ideas, or project taxonomies. Unlike flowcharts that dictate linear procedural steps, mind maps represent connections between a central core concept and its various sub-nodes, making them ideal for high-level roadmap planning, feature breakdown structures, or knowledge management.<\/p>\n<p>With <strong>Mermaid.js<\/strong>, you define your hierarchical structure using standard Markdown list indentation. The engine automatically handles node positioning, calculates tree growth, and applies distinct node shapes based on the hierarchy level, allowing you to visualize hundreds of interconnected nodes without manual pixel alignment.<\/p>\n<h2>Core Syntax Guide: Elements and Constructs<\/h2>\n<p>Designing a valid, production-grade Mind Map in Mermaid requires mastering root node definition, indentation-based level nesting, and visual decorative tokens.<\/p>\n<h3>1. Initializing the Mind Map Root<\/h3>\n<p>You initialize a mind map canvas on line one using the <code>mindmap<\/code> keyword. The structure is built by defining a root node (the center of your map) and then nesting sub-nodes beneath it using standard space-based indentation:<\/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:eNrLzcxLyU0s4OVSUCjKzy\/R0HBOzSspSsxRcM4vSgUSecmpBSWamiB5BQWf1LLUHAVDBb\/8lFSICEzMSCG4NEk3DygOAPN8F8Y=\" \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\">mindmap\r\n  root((Central Core Concept))\r\n    Level 1 Node\r\n      Level 2 Sub-node<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNrLzcxLyU0s4OVSUCjKzy\/R0HBOzSspSsxRcM4vSgUSecmpBSWamiB5BQWf1LLUHAVDBb\/8lFSICEzMSCG4NEk3DygOAPN8F8Y=\" \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=\"nmAUiIy\"><img fetchpriority=\"high\" decoding=\"async\" width=\"203\" height=\"365\" class=\"alignnone size-full wp-image-640 \" src=\"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045930f31.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045930f31.png 203w, https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045930f31-167x300.png 167w\" sizes=\"(max-width: 203px) 100vw, 203px\" \/><\/p>\n<h3>2. Controlling Node Geometry<\/h3>\n<p>Just like in Flowcharts, you can inject visual context by enclosing your text in specific bracket tokens. This is highly recommended for differentiating between primary categories, secondary tasks, and actionable items:<\/p>\n<ul>\n<li><code>(Text)<\/code> \u2014 Rounded node (Default).<\/li>\n<li><code>((Text))<\/code> \u2014 Double-rounded node (Usually reserved for the root).<\/li>\n<li><code>[Text]<\/code> \u2014 Square node.<\/li>\n<li><code>)Text(<\/code> \u2014 Convex\/Asymmetric node.<\/li>\n<li><code>{Text}<\/code> \u2014 Hexagonal\/Bracket node.<\/li>\n<\/ul>\n<h3>3. Integrating Icons and External Formatting<\/h3>\n<p>You can enhance node legibility by adding visual icons directly inside the text string using the <code>::icon(...)<\/code> syntax. This allows you to quickly distinguish between different types of nodes (e.g., people, software, hardware, or external APIs) at a glance:<\/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:eNrLzcxLyU0s4OVSUCjKzy\/R0AiuLC5JzVVwLErOyCxJTS4pLUrV1ARJKyhohHoq+CRWphZB+VZWmcn5eRppiQppibopqcXZJfkFUCkFhejw1CQFx4KCWKhel8SSRDy6gbJJicWpCO0BRZm5iUWVCi5OsQBNGC5E\" \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\">mindmap\r\n  root((System Architecture))\r\n    (UI Layer)\r\n    ::icon(fa fa-desktop)\r\n      [Web App]\r\n    (Data Layer)\r\n    ::icon(fa fa-database)\r\n      [Primary DB]<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNrLzcxLyU0s4OVSUCjKzy\/R0AiuLC5JzVVwLErOyCxJTS4pLUrV1ARJKyhohHoq+CRWphZB+VZWmcn5eRppiQppibopqcXZJfkFUCkFhejw1CQFx4KCWKhel8SSRDy6gbJJicWpCO0BRZm5iUWVCi5OsQBNGC5E\" \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=\"ICQbYlC\"><img decoding=\"async\" width=\"183\" height=\"593\" class=\"alignnone size-full wp-image-641 \" src=\"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045d42bc3.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045d42bc3.png 183w, https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045d42bc3-93x300.png 93w\" sizes=\"(max-width: 183px) 100vw, 183px\" \/><\/p>\n<h2>Best Practices for Clear Hierarchy Layouts<\/h2>\n<ul>\n<li><strong>Keep Node Text Brief:<\/strong> Mind maps should be used for rapid scanning. Keep your node labels to three words or less so the text does not stretch the tree branches beyond the screen width.<\/li>\n<li><strong>Use Consistent Geometry:<\/strong> Maintain a strict logic for shapes across your entire tree (e.g., use Square nodes for code components, Hexagonal nodes for API endpoints, and Rounded nodes for physical infrastructure). This consistency makes the map much easier to process.<\/li>\n<li><strong>Limit Nesting Depth:<\/strong> Try to keep your map nested no deeper than four or five levels. If a branch requires deeper nesting, consider breaking it out into its own dedicated mind map to keep the overall canvas size manageable.<\/li>\n<\/ul>\n<h2>Real-World Mermaid.js Mind Map Examples &amp; Boilerplates<\/h2>\n<h3>Example 1: Software Development Lifecycle (SDLC) Taxonomy<\/h3>\n<p>This functional blueprint organizes the standard SDLC phases into a categorized tree, using icons to visually highlight the nature of each task grouping.<\/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:eNp10E1rwzAMBuD7YP9BR\/cwdu+tJAwCG2T9OI0e1ERNxRzJteVB\/\/2Ski0ddEe\/Mo9e1LO0PYbHB4Coas5tytcC6hMmSovFGAO42qMISze9l0tuVNwR4YhPhukzTQOAjzWdM0fqSSztf9MXwsQH9myXKXQlfZHXMH68xzba0qyuYnNio8ZypFmt+uCvm9BY5Qd+zzjuuYcecjebO2GDLaXbnpUYdfHK\/RkNbYPXy79lveZ2lovquSih5kCehW74Nx12ahwuuf8GTkJqnQ==\" \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\">mindmap\r\n  root((SDLC Phases))\r\n    (Planning)\r\n    ::icon(fa fa-tasks)\r\n      [Requirements]\r\n      [Feasibility]\r\n    (Development)\r\n    ::icon(fa fa-code)\r\n      [Architecture]\r\n      [Implementation]\r\n    (Quality)\r\n    ::icon(fa fa-bug)\r\n      [Unit Tests]\r\n      [Integration Tests]\r\n    (Deployment)\r\n    ::icon(fa fa-cloud)\r\n      [CI\/CD Pipelines]\r\n      [Monitoring]<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNp10E1rwzAMBuD7YP9BR\/cwdu+tJAwCG2T9OI0e1ERNxRzJteVB\/\/2Ski0ddEe\/Mo9e1LO0PYbHB4Coas5tytcC6hMmSovFGAO42qMISze9l0tuVNwR4YhPhukzTQOAjzWdM0fqSSztf9MXwsQH9myXKXQlfZHXMH68xzba0qyuYnNio8ZypFmt+uCvm9BY5Qd+zzjuuYcecjebO2GDLaXbnpUYdfHK\/RkNbYPXy79lveZ2lovquSih5kCehW74Nx12ahwuuf8GTkJqnQ==\" \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=\"izbfwXQ\"><img decoding=\"async\" width=\"729\" height=\"482\" class=\"alignnone size-full wp-image-642 \" src=\"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a190462044fb.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a190462044fb.png 729w, https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a190462044fb-300x198.png 300w\" sizes=\"(max-width: 729px) 100vw, 729px\" \/><\/p>\n<p><strong>Syntax Breakdown:<\/strong> By using the <code>root<\/code> node in the center and indentation for levels, the engine generates branches symmetrically. The <code>::icon(fa fa-...)<\/code> syntax injects FontAwesome-compatible glyphs, turning abstract phases into visually distinct, scannable nodes.<\/p>\n<h3>Example 2: Enterprise Microservice Feature Breakdown<\/h3>\n<p>This advanced blueprint breaks down an e-commerce platform into technical feature sets, using geometric shapes to distinguish between infrastructure modules and customer-facing interfaces.<\/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:eNpNj0EKwjAQRfeCd5hluvAQpbooKEaLuJAupsnUBppMmaQFb28EsW7fn\/c\/412wHqftBkCYk1KHXcXekxgCPWLqWXxRfGIAdYskUIdE0qOhLwV4nLhzI0E5Te2P3amDPcahYxT7xaohWVxuPuKLZPXLOQ1Q6nq1z2Lz1IpUHXrBmGQ2aZZ1WiktzqO8oBp5tqCFF5fV4neRy65kXYQKzUDtH9Yc01OouRzzTzFhMNS+AZ3eTCs=\" \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\">mindmap\r\n  root((E-Commerce Platform))\r\n    (User Interface)\r\n      [Mobile App]\r\n      [Web Dashboard]\r\n    (Service Layer)\r\n      [Auth API]\r\n      [Order API]\r\n    (Infrastructure)\r\n      ((Primary Cloud Provider))\r\n        [Redis Cache]\r\n        [PostgreSQL Instance]<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#mermaid:eNpNj0EKwjAQRfeCd5hluvAQpbooKEaLuJAupsnUBppMmaQFb28EsW7fn\/c\/412wHqftBkCYk1KHXcXekxgCPWLqWXxRfGIAdYskUIdE0qOhLwV4nLhzI0E5Te2P3amDPcahYxT7xaohWVxuPuKLZPXLOQ1Q6nq1z2Lz1IpUHXrBmGQ2aZZ1WiktzqO8oBp5tqCFF5fV4neRy65kXYQKzUDtH9Yc01OouRzzTzFhMNS+AZ3eTCs=\" \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=\"PFigxKF\"><img loading=\"lazy\" decoding=\"async\" width=\"863\" height=\"763\" class=\"alignnone size-full wp-image-643 \" src=\"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a190465dafc5.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a190465dafc5.png 863w, https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a190465dafc5-300x265.png 300w, https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a190465dafc5-768x679.png 768w\" sizes=\"(max-width: 863px) 100vw, 863px\" \/><\/p>\n<p><strong>Syntax Breakdown:<\/strong> This map explicitly uses different shapes to denote logical system components. This clear visual hierarchy allows stakeholders to distinguish between high-level services and underlying data foundations instantly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is a Mind Map? A Mind Map is a hier&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":48,"menu_order":6,"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-97","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 Mind Map Syntax | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Organize brainstorming ideas into tree structures using Mermaid mind maps in VPasCode, a free 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\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mermaid Mind Map Syntax | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Organize brainstorming ideas into tree structures using Mermaid mind maps in VPasCode, a free diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-29T08:33:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045930f31.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-mind-map-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-mind-map-syntax-guide\\\/\",\"name\":\"Mermaid Mind Map Syntax | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-mind-map-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-mind-map-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/05\\\/img_6a19045930f31.png\",\"datePublished\":\"2026-05-26T08:05:44+00:00\",\"dateModified\":\"2026-07-29T08:33:44+00:00\",\"description\":\"Organize brainstorming ideas into tree structures using Mermaid mind maps in VPasCode, a free diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-mind-map-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-mind-map-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-mind-map-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/05\\\/img_6a19045930f31.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/05\\\/img_6a19045930f31.png\",\"width\":203,\"height\":365},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/mermaid-js-mind-map-syntax-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mermaid.js Playbook\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-playbook\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Mermaid.js Mind Map Syntax Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mermaid Mind Map Syntax | VPasCode Text to Diagram Guide","description":"Organize brainstorming ideas into tree structures using Mermaid mind maps in VPasCode, a free 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\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/","og_locale":"zh_TW","og_type":"article","og_title":"Mermaid Mind Map Syntax | VPasCode Text to Diagram Guide","og_description":"Organize brainstorming ideas into tree structures using Mermaid mind maps in VPasCode, a free diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/","og_site_name":"VPasCode","article_modified_time":"2026-07-29T08:33:44+00:00","og_image":[{"url":"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045930f31.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u9810\u4f30\u95b1\u8b80\u6642\u9593":"4 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/","url":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/","name":"Mermaid Mind Map Syntax | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/tw\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045930f31.png","datePublished":"2026-05-26T08:05:44+00:00","dateModified":"2026-07-29T08:33:44+00:00","description":"Organize brainstorming ideas into tree structures using Mermaid mind maps in VPasCode, a free diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045930f31.png","contentUrl":"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/05\/img_6a19045930f31.png","width":203,"height":365},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/mermaid-js-mind-map-syntax-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/tw\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/tw\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"Mermaid.js Playbook","item":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-playbook\/"},{"@type":"ListItem","position":4,"name":"Mermaid.js Mind Map Syntax Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/tw\/#website","url":"https:\/\/www.vpascode.com\/tw\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/tw\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/tw\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/tw\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/tw\/","logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.vpascode.com\/tw\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/tw\/wp-content\/uploads\/sites\/2\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/tw\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/tw\/wp-json\/wp\/v2\/ld_docs\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/tw\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/tw\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/tw\/wp-json\/wp\/v2\/users\/4"}],"up":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/tw\/wp-json\/wp\/v2\/ld_docs\/48"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/tw\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/tw\/wp-json\/wp\/v2\/ld_collection?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}