{"id":2274,"date":"2026-05-26T08:05:44","date_gmt":"2026-05-26T08:05:44","guid":{"rendered":"https:\/\/www.vpascode.com\/tw\/docs\/uncategorized\/mermaid-js-mind-map-syntax-guide\/"},"modified":"2026-05-26T08:05:44","modified_gmt":"2026-05-26T08:05:44","slug":"mermaid-js-mind-map-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-mind-map-syntax-guide\/","title":{"rendered":"Mermaid.js \u601d\u7dad\u5c0e\u5716\u8a9e\u6cd5\u6307\u5357"},"content":{"rendered":"<h2>\u4ec0\u9ebc\u662f\u601d\u7dad\u5c0e\u5716\uff1f<\/h2>\n<p>\u4e00\u500b <strong>\u601d\u7dad\u5c0e\u5716<\/strong>\u662f\u4e00\u7a2e\u4ee5\u5c64\u7d1a\u6a39\u72c0\u7d50\u69cb\u5448\u73fe\u7684\u8996\u89ba\u5316\u5de5\u5177\uff0c\u7528\u65bc\u6355\u6349\u3001\u7d44\u7e54\u548c\u7d50\u69cb\u5316\u8907\u96dc\u7684\u8cc7\u8a0a\u6d41\u3001\u8166\u529b\u6fc0\u76ea\u7684\u60f3\u6cd5\u6216\u5c08\u6848\u5206\u985e\u3002\u8207\u898f\u5b9a\u7dda\u6027\u7a0b\u5e8f\u6b65\u9a5f\u7684\u6d41\u7a0b\u5716\u4e0d\u540c\uff0c\u601d\u7dad\u5c0e\u5716\u80fd\u5448\u73fe\u4e2d\u5fc3\u6838\u5fc3\u6982\u5ff5\u8207\u5176\u5404\u500b\u5b50\u7bc0\u9ede\u4e4b\u9593\u7684\u9023\u7d50\uff0c\u4f7f\u5176\u975e\u5e38\u9069\u5408\u7528\u65bc\u9ad8\u968e\u8def\u5f91\u898f\u5283\u3001\u529f\u80fd\u5206\u89e3\u7d50\u69cb\u6216\u77e5\u8b58\u7ba1\u7406\u3002<\/p>\n<p>\u4f7f\u7528 <strong>Mermaid.js<\/strong>\uff0c\u60a8\u53ef\u4f7f\u7528\u6a19\u6e96\u7684 Markdown \u5217\u8868\u7e2e\u6392\u4f86\u5b9a\u7fa9\u5c64\u7d1a\u7d50\u69cb\u3002\u5f15\u64ce\u6703\u81ea\u52d5\u8655\u7406\u7bc0\u9ede\u5b9a\u4f4d\u3001\u8a08\u7b97\u6a39\u72c0\u6210\u9577\uff0c\u4e26\u6839\u64da\u5c64\u7d1a\u6c34\u5e73\u5957\u7528\u4e0d\u540c\u7684\u7bc0\u9ede\u5f62\u72c0\uff0c\u8b93\u60a8\u80fd\u8996\u89ba\u5316\u6578\u767e\u500b\u76f8\u4e92\u9023\u7d50\u7684\u7bc0\u9ede\uff0c\u800c\u7121\u9700\u624b\u52d5\u5c0d\u9f4a\u50cf\u7d20\u3002<\/p>\n<h2>\u6838\u5fc3\u8a9e\u6cd5\u6307\u5357\uff1a\u5143\u7d20\u8207\u69cb\u9020<\/h2>\n<p>\u5728 Mermaid \u4e2d\u8a2d\u8a08\u4e00\u500b\u6709\u6548\u4e14\u53ef\u6295\u5165\u751f\u7522\u4f7f\u7528\u7684\u601d\u7dad\u5c0e\u5716\uff0c\u9700\u8981\u638c\u63e1\u6839\u7bc0\u9ede\u5b9a\u7fa9\u3001\u57fa\u65bc\u7e2e\u6392\u7684\u5c64\u7d1a\u5d4c\u5957\uff0c\u4ee5\u53ca\u8996\u89ba\u88dd\u98fe\u7b26\u865f\u7684\u4f7f\u7528\u3002<\/p>\n<h3>1. \u521d\u59cb\u5316\u601d\u7dad\u5c0e\u5716\u7684\u6839\u7bc0\u9ede<\/h3>\n<p>\u60a8\u53ef\u5728\u7b2c\u4e00\u884c\u4f7f\u7528 <code>mindmap<\/code>\u95dc\u9375\u5b57\u4f86\u521d\u59cb\u5316\u601d\u7dad\u5c0e\u5716\u756b\u5e03\u3002\u7d50\u69cb\u662f\u900f\u904e\u5b9a\u7fa9\u4e00\u500b\u6839\u7bc0\u9ede\uff08\u60a8\u5730\u5716\u7684\u4e2d\u5fc3\uff09\u4e26\u4f7f\u7528\u6a19\u6e96\u7684\u7a7a\u683c\u7e2e\u6392\uff0c\u5728\u5176\u4e0b\u65b9\u5d4c\u5957\u5b50\u7bc0\u9ede\u4f86\u5efa\u7acb\uff1a<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Mermaid<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNrLzcxLyU0s4OVSUCjKzy\/R0HBOzSspSsxRcM4vSgUSecmpBSWamiB5BQWf1LLUHAVDBb\/8lFSICEzMSCG4NEk3DygOAPN8F8Y=\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><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><br \/>\n<span>\u5728 VPasCode \u4e2d\u7de8\u8f2f Mermaid<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\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\/editor\/#mermaid:eNrLzcxLyU0s4OVSUCjKzy\/R0Hi2YMfT\/c3PljU93b9VUxMkrqDwfM2aJzsanm5c8nx9w8vd8yCCEOFdPUDhp2snQGQAkXUn6A==\" \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 class=\"language-mermaid\" data-language=\"mermaid\" class=\"language-mermaid\">mindmap\r\n  root((\u6838\u5fc3\u6982\u5ff5))\r\n    \u7b2c\u4e00\u5c64\u7bc0\u9ede\r\n      \u7b2c\u4e8c\u5c64\u5b50\u7bc0\u9ede<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNrLzcxLyU0s4OVSUCjKzy\/R0Hi2YMfT\/c3PljU93b9VUxMkrqDwfM2aJzsanm5c8nx9w8vd8yCCEOFdPUDhp2snQGQAkXUn6A==\" \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><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNrLzcxLyU0s4OVSUCjKzy\/R0HBOzSspSsxRcM4vSgUSecmpBSWamiB5BQWf1LLUHAVDBb\/8lFSICEzMSCG4NEk3DygOAPN8F8Y=\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><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><br \/>\n<span>\u5728 VPasCode \u4e2d\u7de8\u8f2f Mermaid<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"nmAUiIy\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-640\" decoding=\"async\" fetchpriority=\"high\" height=\"365\" sizes=\"(max-width: 203px) 100vw, 203px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19045930f31.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19045930f31.png 203w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19045930f31-167x300.png 167w\" width=\"203\"\/><\/p>\n<h3>2. \u63a7\u5236\u7bc0\u9ede\u5e7e\u4f55\u5f62\u72c0<\/h3>\n<p>\u8207\u6d41\u7a0b\u5716\u985e\u4f3c\uff0c\u60a8\u53ef\u900f\u904e\u5c07\u6587\u5b57\u5305\u8986\u5728\u7279\u5b9a\u7684\u62ec\u865f\u7b26\u865f\u4e2d\uff0c\u4f86\u6ce8\u5165\u8996\u89ba\u8a9e\u5883\u3002\u9019\u5c0d\u65bc\u5340\u5206\u4e3b\u8981\u985e\u5225\u3001\u6b21\u8981\u4efb\u52d9\u8207\u53ef\u57f7\u884c\u9805\u76ee\u975e\u5e38\u63a8\u85a6\uff1a<\/p>\n<ul>\n<li><code>(\u6587\u5b57)<\/code> \u2014 \u5713\u89d2\u7bc0\u9ede\uff08\u9810\u8a2d\uff09\u3002<\/li>\n<li><code>((\u6587\u5b57))<\/code> \u2014 \u96d9\u5713\u89d2\u7bc0\u9ede\uff08\u901a\u5e38\u4fdd\u7559\u7d66\u6839\u7bc0\u9ede\uff09\u3002<\/li>\n<li><code>[\u6587\u5b57]<\/code> \u2014 \u65b9\u5f62\u7bc0\u9ede\u3002<\/li>\n<li><code>)\u6587\u5b57(<\/code> \u2014 \u51f8\u5f62\/\u975e\u5c0d\u7a31\u7bc0\u9ede\u3002<\/li>\n<li><code>{\u6587\u5b57}<\/code> \u2014 \u516d\u89d2\u5f62\/\u62ec\u865f\u7bc0\u9ede\u3002<\/li>\n<\/ul>\n<h3>3. \u96c6\u6210\u5716\u793a\u8207\u5916\u90e8\u683c\u5f0f\u5316<\/h3>\n<p>\u60a8\u53ef\u4ee5\u900f\u904e\u4f7f\u7528\u300c\u300d\u8a9e\u6cd5\uff0c\u76f4\u63a5\u5728\u6587\u5b57\u5b57\u4e32\u4e2d\u52a0\u5165\u8996\u89ba\u5716\u793a\uff0c\u4ee5\u589e\u5f37\u7bc0\u9ede\u7684\u53ef\u8b80\u6027<code>::icon(...)<\/code>\u8a9e\u6cd5\u3002\u9019\u8b93\u60a8\u80fd\u4e00\u773c\u5feb\u901f\u5340\u5206\u4e0d\u540c\u985e\u578b\u7684\u7bc0\u9ede\uff08\u4f8b\u5982\uff1a\u4eba\u54e1\u3001\u8edf\u9ad4\u3001\u786c\u9ad4\u6216\u5916\u90e8 API\uff09\uff1a<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Mermaid<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNrLzcxLyU0s4OVSUCjKzy\/R0AiuLC5JzVVwLErOyCxJTS4pLUrV1ARJKyhohHoq+CRWphZB+VZWmcn5eRppiQppibopqcXZJfkFUCkFhejw1CQFx4KCWKhel8SSRDy6gbJJicWpCO0BRZm5iUWVCi5OsQBNGC5E\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><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><br \/>\n<span>\u5728 VPasCode \u4e2d\u7de8\u8f2f Mermaid<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\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\/editor\/#mermaid:eNp71jD3+ba1Tzf0PZ0zjZdLQaEoP79EQ+P55t3Pt258Nm\/bs+XdmpogcQUFjVBPhacbl0B5VlaZyfl5GmmJCmmJuimpxdkl+QVQKQWF6PDUJIVn7Z3Pp6x4vqL76Z7+WKgRLza3P5s2E5cpiSWJSYnFqQhjnuzY\/WJZI1TTrtWxAGzYRwc=\" \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 class=\"language-mermaid\" data-language=\"mermaid\" class=\"language-mermaid\">\u601d\u7dad\u5c0e\u5716\r\n  root((\u7cfb\u7d71\u67b6\u69cb))\r\n    (UI \u5c64)\r\n    ::icon(fa fa-desktop)\r\n      [Web \u61c9\u7528\u7a0b\u5f0f]\r\n    (\u8cc7\u6599\u5c64)\r\n    ::icon(fa fa-database)\r\n      [\u4e3b\u8981\u8cc7\u6599\u5eab]<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNp71jD3+ba1Tzf0PZ0zjZdLQaEoP79EQ+P55t3Pt258Nm\/bs+XdmpogcQUFjVBPhacbl0B5VlaZyfl5GmmJCmmJuimpxdkl+QVQKQWF6PDUJIVn7Z3Pp6x4vqL76Z7+WKgRLza3P5s2E5cpiSWJSYnFqQhjnuzY\/WJZI1TTrtWxAGzYRwc=\" \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><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNrLzcxLyU0s4OVSUCjKzy\/R0AiuLC5JzVVwLErOyCxJTS4pLUrV1ARJKyhohHoq+CRWphZB+VZWmcn5eRppiQppibopqcXZJfkFUCkFhejw1CQFx4KCWKhel8SSRDy6gbJJicWpCO0BRZm5iUWVCi5OsQBNGC5E\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><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><br \/>\n<span>\u5728 VPasCode \u4e2d\u7de8\u8f2f Mermaid<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"ICQbYlC\"><img alt=\"\" class=\"alignnone size-full wp-image-641\" decoding=\"async\" height=\"593\" sizes=\"(max-width: 183px) 100vw, 183px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19045d42bc3.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19045d42bc3.png 183w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19045d42bc3-93x300.png 93w\" width=\"183\"\/><\/p>\n<h2>\u6e05\u6670\u5c64\u7d1a\u5e03\u5c40\u7684\u6700\u4f73\u5be6\u52d9<\/h2>\n<ul>\n<li><strong>\u4fdd\u6301\u7bc0\u9ede\u6587\u5b57\u7c21\u6f54\uff1a<\/strong>\u601d\u7dad\u5c0e\u5716\u61c9\u7528\u65bc\u5feb\u901f\u700f\u89bd\u3002\u8acb\u5c07\u7bc0\u9ede\u6a19\u7c64\u4fdd\u6301\u5728\u4e09\u500b\u8a5e\u6216\u66f4\u5c11\uff0c\u4ee5\u907f\u514d\u6587\u5b57\u5ef6\u4f38\u8d85\u51fa\u87a2\u5e55\u5bec\u5ea6\u3002<\/li>\n<li><strong>\u4f7f\u7528\u4e00\u81f4\u7684\u5e7e\u4f55\u5f62\u72c0\uff1a<\/strong>\u5728\u6574\u500b\u6a39\u72c0\u7d50\u69cb\u4e2d\u7dad\u6301\u56b4\u683c\u7684\u5f62\u72c0\u908f\u8f2f\uff08\u4f8b\u5982\uff1a\u4f7f\u7528\u65b9\u5f62\u7bc0\u9ede\u4ee3\u8868\u7a0b\u5f0f\u7d44\u4ef6\uff0c\u516d\u89d2\u5f62\u7bc0\u9ede\u4ee3\u8868 API \u7aef\u9ede\uff0c\u5713\u89d2\u7bc0\u9ede\u4ee3\u8868\u5be6\u9ad4\u57fa\u790e\u8a2d\u65bd\uff09\u3002\u9019\u7a2e\u4e00\u81f4\u6027\u8b93\u5730\u5716\u66f4\u5bb9\u6613\u7406\u89e3\u3002<\/li>\n<li><strong>\u9650\u5236\u5d4c\u5957\u6df1\u5ea6\uff1a<\/strong>\u76e1\u91cf\u5c07\u5730\u5716\u7684\u5d4c\u5957\u6df1\u5ea6\u63a7\u5236\u5728\u56db\u5230\u4e94\u5c64\u4ee5\u5167\u3002\u82e5\u67d0\u5206\u652f\u9700\u8981\u66f4\u6df1\u7684\u5d4c\u5957\uff0c\u5efa\u8b70\u5c07\u5176\u62c6\u5206\u70ba\u7368\u7acb\u7684\u5c08\u7528\u601d\u7dad\u5c0e\u5716\uff0c\u4ee5\u7dad\u6301\u6574\u9ad4\u756b\u5e03\u5927\u5c0f\u7684\u53ef\u7ba1\u7406\u6027\u3002<\/li>\n<\/ul>\n<h2>\u771f\u5be6\u4e16\u754c\u4e2d\u7684 Mermaid.js \u601d\u7dad\u5c0e\u5716\u7bc4\u4f8b\u8207\u7bc4\u672c<\/h2>\n<h3>\u7bc4\u4f8b 1\uff1a\u8edf\u9ad4\u958b\u767c\u751f\u547d\u9031\u671f\uff08SDLC\uff09\u5206\u985e<\/h3>\n<p>\u6b64\u529f\u80fd\u85cd\u5716\u5c07\u6a19\u6e96\u7684 SDLC \u968e\u6bb5\u7d44\u7e54\u6210\u5206\u985e\u6a39\u72c0\u7d50\u69cb\uff0c\u4e26\u4f7f\u7528\u5716\u793a\u4f86\u8996\u89ba\u5316\u5f37\u8abf\u6bcf\u500b\u4efb\u52d9\u7fa4\u7d44\u7684\u6027\u8cea\u3002<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Mermaid<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNp10E1rwzAMBuD7YP9BR\/cwdu+tJAwCG2T9OI0e1ERNxRzJteVB\/\/2Ski0ddEe\/Mo9e1LO0PYbHB4Coas5tytcC6hMmSovFGAO42qMISze9l0tuVNwR4YhPhukzTQOAjzWdM0fqSSztf9MXwsQH9myXKXQlfZHXMH68xzba0qyuYnNio8ZypFmt+uCvm9BY5Qd+zzjuuYcecjebO2GDLaXbnpUYdfHK\/RkNbYPXy79lveZ2lovquSih5kCehW74Nx12ahwuuf8GTkJqnQ==\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><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><br \/>\n<span>\u5728 VPasCode \u4e2d\u7de8\u8f2f Mermaid<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\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\/editor\/#mermaid:eNp71jD3+ba1Tzf0PZ0zjZdLQaEoP79EQyPYxcdZ4eWsvmfrtmpqgoQVFDReLOt\/2tUM5VlZZSbn52mkJSqkJeqWJBZnF0MlFBSiX85peLaxKRbOf9q\/\/sXCnmcNy6FCGi+ndT+fuQebScn5KakIg57N2\/ZseTeSQeuXPdk7B2bK08mNLzavwmZKUmk6wpCn09Y9bW1+tmPNi5XLEEY9m7rl6YQOFFGNl80rnu\/dhNVZOfmlKQgjnT31nV0Unq9b+LJxMsLI57MXP+tbHgsAFKN61Q==\" \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 class=\"language-mermaid\" data-language=\"mermaid\" class=\"language-mermaid\">\u601d\u7dad\u5c0e\u5716\r\n  root((SDLC \u968e\u6bb5))\r\n    (\u898f\u5283)\r\n    ::icon(fa fa-tasks)\r\n      [\u9700\u6c42]\r\n      [\u53ef\u884c\u6027]\r\n    (\u958b\u767c)\r\n    ::icon(fa fa-code)\r\n      [\u67b6\u69cb]\r\n      [\u5be6\u4f5c]\r\n    (\u54c1\u8cea)\r\n    ::icon(fa fa-bug)\r\n      [\u55ae\u5143\u6e2c\u8a66]\r\n      [\u6574\u5408\u6e2c\u8a66]\r\n    (\u90e8\u7f72)\r\n    ::icon(fa fa-cloud)\r\n      [CI\/CD \u7ba1\u9053]\r\n      [\u76e3\u63a7]<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNp71jD3+ba1Tzf0PZ0zjZdLQaEoP79EQyPYxcdZ4eWsvmfrtmpqgoQVFDReLOt\/2tUM5VlZZSbn52mkJSqkJeqWJBZnF0MlFBSiX85peLaxKRbOf9q\/\/sXCnmcNy6FCGi+ndT+fuQebScn5KakIg57N2\/ZseTeSQeuXPdk7B2bK08mNLzavwmZKUmk6wpCn09Y9bW1+tmPNi5XLEEY9m7rl6YQOFFGNl80rnu\/dhNVZOfmlKQgjnT31nV0Unq9b+LJxMsLI57MXP+tbHgsAFKN61Q==\" \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><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNp10E1rwzAMBuD7YP9BR\/cwdu+tJAwCG2T9OI0e1ERNxRzJteVB\/\/2Ski0ddEe\/Mo9e1LO0PYbHB4Coas5tytcC6hMmSovFGAO42qMISze9l0tuVNwR4YhPhukzTQOAjzWdM0fqSSztf9MXwsQH9myXKXQlfZHXMH68xzba0qyuYnNio8ZypFmt+uCvm9BY5Qd+zzjuuYcecjebO2GDLaXbnpUYdfHK\/RkNbYPXy79lveZ2lovquSih5kCehW74Nx12ahwuuf8GTkJqnQ==\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><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><br \/>\n<span>\u5728 VPasCode \u4e2d\u7de8\u8f2f Mermaid<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"izbfwXQ\"><img alt=\"\" class=\"alignnone size-full wp-image-642\" decoding=\"async\" height=\"482\" sizes=\"(max-width: 729px) 100vw, 729px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190462044fb.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190462044fb.png 729w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190462044fb-300x198.png 300w\" width=\"729\"\/><\/p>\n<p><strong>\u8a9e\u6cd5\u89e3\u6790\uff1a<\/strong>\u900f\u904e\u4f7f\u7528<code>root<\/code>\u7bc0\u9ede\u4f4d\u65bc\u4e2d\u5fc3\uff0c\u4e26\u4ee5\u7e2e\u6392\u8868\u793a\u5c64\u7d1a\uff0c\u5f15\u64ce\u6703\u5c0d\u7a31\u5730\u751f\u6210\u5206\u652f\u3002<code>::icon(fa fa-...)<\/code>\u8a9e\u6cd5\u6703\u6ce8\u5165\u8207 FontAwesome \u517c\u5bb9\u7684\u5716\u793a\uff0c\u5c07\u62bd\u8c61\u7684\u968e\u6bb5\u8f49\u5316\u70ba\u8996\u89ba\u4e0a\u660e\u986f\u3001\u6613\u65bc\u6383\u63cf\u7684\u7bc0\u9ede\u3002<\/p>\n<h3>\u7bc4\u4f8b 2\uff1a\u4f01\u696d\u7d1a\u5fae\u670d\u52d9\u529f\u80fd\u62c6\u89e3<\/h3>\n<p>\u6b64\u9032\u968e\u85cd\u5716\u5c07\u96fb\u5546\u5e73\u53f0\u62c6\u89e3\u70ba\u6280\u8853\u529f\u80fd\u6a21\u7d44\uff0c\u4e26\u4f7f\u7528\u5e7e\u4f55\u5f62\u72c0\u4f86\u5340\u5206\u57fa\u790e\u8a2d\u65bd\u6a21\u7d44\u8207\u5ba2\u6236\u7aef\u4ecb\u9762\u3002<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">\u7f8e\u4eba\u9b5a<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpNj0EKwjAQRfeCd5hluvAQpbooKEaLuJAupsnUBppMmaQFb28EsW7fn\/c\/412wHqftBkCYk1KHXcXekxgCPWLqWXxRfGIAdYskUIdE0qOhLwV4nLhzI0E5Te2P3amDPcahYxT7xaohWVxuPuKLZPXLOQ1Q6nq1z2Lz1IpUHXrBmGQ2aZZ1WiktzqO8oBp5tqCFF5fV4neRy65kXYQKzUDtH9Yc01OouRzzTzFhMNS+AZ3eTCs=\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 8px;\" viewbox=\"0 0 24 24\" width=\"14\"><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><br \/>\n<span>\u5728 VPasCode \u4e2d\u7de8\u8f2f\u7f8e\u4eba\u9b5a<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\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\/editor\/#mermaid:eNpNj81qwlAQRveC7zDLm8dwKbiwdSnZVcRVoekDRNEWuWpcaEpJQlVErkjUWpBq1LzMnfvzFkYI0e05830zI+xA7kP0t+i7+RyAmBwI0V6E4RDHH0i\/8fCHztYwbhKA8HMsR0zZHR5RHcxSDFBV0x7SsfjsJloyiifHzJzc7\/SkiW1bTZkI4lQQ4fdvC37n9xa9\/FJhFwrl4j2tWAvd9QMj+HOU84FioXDPWZYQ\/h+pRVN7O7na8IuX3JK8YGQDSdVz7aVhAcYrdFzzgZdfrff6W63yVALcLPiFmlcQMIAc\" \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 class=\"language-mermaid\" data-language=\"mermaid\" class=\"language-mermaid\">\u601d\u7dad\u5730\u5716\r\n  \u6839((\u96fb\u5b50\u5546\u52d9\u5e73\u53f0))\r\n    (\u4f7f\u7528\u8005\u4ecb\u9762)\r\n      [\u884c\u52d5\u61c9\u7528\u7a0b\u5f0f]\r\n      [\u7db2\u9801\u5100\u8868\u677f]\r\n    (\u670d\u52d9\u5c64)\r\n      [\u9a57\u8b49 API]\r\n      [\u8a02\u55ae API]\r\n    (\u57fa\u790e\u8a2d\u65bd)\r\n      ((\u4e3b\u8981\u96f2\u7aef\u4f9b\u61c9\u5546))\r\n        [Redis \u5feb\u53d6]\r\n        [PostgreSQL \u5be6\u4f8b]<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpNj81qwlAQRveC7zDLm8dwKbiwdSnZVcRVoekDRNEWuWpcaEpJQlVErkjUWpBq1LzMnfvzFkYI0e05830zI+xA7kP0t+i7+RyAmBwI0V6E4RDHH0i\/8fCHztYwbhKA8HMsR0zZHR5RHcxSDFBV0x7SsfjsJloyiifHzJzc7\/SkiW1bTZkI4lQQ4fdvC37n9xa9\/FJhFwrl4j2tWAvd9QMj+HOU84FioXDPWZYQ\/h+pRVN7O7na8IuX3JK8YGQDSdVz7aVhAcYrdFzzgZdfrff6W63yVALcLPiFmlcQMIAc\" \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><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpNj0EKwjAQRfeCd5hluvAQpbooKEaLuJAupsnUBppMmaQFb28EsW7fn\/c\/412wHqftBkCYk1KHXcXekxgCPWLqWXxRfGIAdYskUIdE0qOhLwV4nLhzI0E5Te2P3amDPcahYxT7xaohWVxuPuKLZPXLOQ1Q6nq1z2Lz1IpUHXrBmGQ2aZZ1WiktzqO8oBp5tqCFF5fV4neRy65kXYQKzUDtH9Yc01OouRzzTzFhMNS+AZ3eTCs=\" rel=\"noopener noreferrer\" target=\"_blank\"><br \/>\n<svg fill=\"none\" height=\"14\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2.5\" style=\"margin-right: 6px;\" viewbox=\"0 0 24 24\" width=\"14\"><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><br \/>\n<span>\u5728 VPasCode \u4e2d\u7de8\u8f2f\u7f8e\u4eba\u9b5a<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"PFigxKF\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-643\" decoding=\"async\" height=\"763\" loading=\"lazy\" sizes=\"auto, (max-width: 863px) 100vw, 863px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190465dafc5.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190465dafc5.png 863w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190465dafc5-300x265.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190465dafc5-768x679.png 768w\" width=\"863\"\/><\/p>\n<p><strong>\u8a9e\u6cd5\u5206\u89e3\uff1a<\/strong> \u6b64\u5730\u5716\u660e\u78ba\u4f7f\u7528\u4e0d\u540c\u5f62\u72c0\u4f86\u8868\u793a\u908f\u8f2f\u7cfb\u7d71\u7d44\u4ef6\u3002\u9019\u7a2e\u6e05\u6670\u7684\u8996\u89ba\u5c64\u6b21\u7d50\u69cb\uff0c\u8b93\u5229\u5bb3\u95dc\u4fc2\u4eba\u80fd\u5920\u7acb\u5373\u5340\u5206\u9ad8\u968e\u670d\u52d9\u8207\u5e95\u5c64\u8cc7\u6599\u57fa\u790e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u9ebc\u662f\u601d\u7dad\u5c0e\u5716\uff1f \u4e00\u500b \u601d\u7dad\u5c0e\u5716\u662f\u4e00\u7a2e\u4ee5\u5c64\u7d1a\u6a39\u72c0\u7d50\u69cb\u5448\u73fe\u7684\u8996\u89ba\u5316\u5de5\u5177\uff0c\u7528\u65bc\u6355\u6349\u3001&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"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-2274","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-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-mind-map-syntax-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/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-mind-map-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/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-mind-map-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-mind-map-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a19045930f31.png\",\"datePublished\":\"2026-05-26T08:05: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-mind-map-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-mind-map-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/mermaid-js-mind-map-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a19045930f31.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a19045930f31.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/tw\\\/docs\\\/vpascode-docs\\\/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 \u601d\u7dad\u5c0e\u5716\u8a9e\u6cd5\u6307\u5357\"}]},{\"@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-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-mind-map-syntax-guide\/","og_site_name":"VPasCode","og_image":[{"url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/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-mind-map-syntax-guide\/","url":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/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-mind-map-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-mind-map-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19045930f31.png","datePublished":"2026-05-26T08:05: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-mind-map-syntax-guide\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-mind-map-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/mermaid-js-mind-map-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19045930f31.png","contentUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19045930f31.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/tw\/docs\/vpascode-docs\/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 \u601d\u7dad\u5c0e\u5716\u8a9e\u6cd5\u6307\u5357"}]},{"@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\/2274","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"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/tw\/wp-json\/wp\/v2\/media?parent=2274"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/tw\/wp-json\/wp\/v2\/ld_collection?post=2274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}