{"id":1904,"date":"2026-08-04T16:41:15","date_gmt":"2026-08-04T16:41:15","guid":{"rendered":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/"},"modified":"2026-08-04T16:41:15","modified_gmt":"2026-08-04T16:41:15","slug":"complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2","status":"publish","type":"post","link":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/","title":{"rendered":"PlantUML\u5e8f\u5217\u56fe\u5b8c\u6574\u6307\u5357\uff1a\u8bed\u6cd5\u3001\u793a\u4f8b\u4e0e\u6700\u4f73\u5b9e\u8df5"},"content":{"rendered":"<p><!-- Meta Title: PlantUML Sequence Diagrams: Complete Guide & Editor Meta Description: Learn PlantUML sequence diagram syntax, real-world examples, and best practices. Start building diagrams instantly with a free sequence diagram editor. SEO Friendly Slug: what-is-plantuml-sequence-diagram-guide --><\/p>\n<p>\u4e00\u4e2a<strong>PlantUML\u5e8f\u5217\u56fe<\/strong>\u662f\u4e00\u79cd\u57fa\u4e8e\u6587\u672c\u7684\u8868\u793a\u65b9\u5f0f\uff0c\u7528\u4e8e\u5c55\u793a\u8f6f\u4ef6\u7cfb\u7edf\u4e2d\u5bf9\u8c61\u6216\u8fdb\u7a0b\u968f\u65f6\u95f4\u7684\u4ea4\u4e92\u3002\u901a\u8fc7\u4f7f\u7528\u7eaf\u6587\u672c\u9886\u57df\u7279\u5b9a\u8bed\u8a00\uff08DSL\uff09\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u7f16\u5199\u56fe\u8868\u4ee3\u7801\uff0c\u81ea\u52a8\u6e32\u67d3\u4e3a\u6e05\u6670\u7684\u89c6\u89c9\u8868\u793a\u3002\u5982\u679c\u60a8\u6b63\u5728\u5bfb\u627e\u4e00\u4e2a\u76f4\u89c2\u7684<strong>\u5e8f\u5217\u56fe\u7f16\u8f91\u5668<\/strong>\u6216\u4e00\u4e2a\u7075\u6d3b\u7684<strong>PlantUML\u7f16\u8f91\u5668<\/strong>\u6765\u8bbe\u8ba1\u3001\u8bb0\u5f55\u548c\u5171\u4eab\u7cfb\u7edf\u67b6\u6784\uff0c\u638c\u63e1PlantUML\u8bed\u6cd5\u662f\u63d0\u5347\u6280\u672f\u6587\u6863\u5de5\u4f5c\u6d41\u7a0b\u7684\u6700\u5feb\u65b9\u6cd5\u4e4b\u4e00\u3002<\/p>\n<p><img fetchpriority=\"high\" alt=\"Illustrated guide banner showing a PlantUML sequence diagram code on the left transforming into a clean rendered visual workflow on the right.\" class=\"alignnone size-full wp-image-1815\" decoding=\"async\" fetchpriority=\"high\" height=\"816\" sizes=\"(max-width: 1312px) 100vw, 1312px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner.jpg\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner.jpg 1312w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner-300x187.jpg 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner-1024x637.jpg 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner-768x478.jpg 768w\" width=\"1312\"\/><\/p>\n<hr\/>\n<h2>\u4ec0\u4e48\u662fPlantUML\u5e8f\u5217\u56fe\uff1f\uff08\u4ee5\u53ca\u4e3a\u4f55\u4f7f\u7528\u4ee3\u7801\u5316\u56fe\u8868\uff09<\/h2>\n<p>PlantUML\u5e8f\u5217\u56fe\u5c55\u793a\u4e86\u5728\u7279\u5b9a\u6267\u884c\u573a\u666f\u4e0b\uff0c\u7cfb\u7edf\u4e2d\u53c2\u4e0e\u8005\u4e4b\u95f4\u9010\u6b65\u4ea4\u6362\u6d88\u606f\u7684\u8fc7\u7a0b\u3002\u4e0e\u4f20\u7edf\u7684\u62d6\u62fd\u5f0f\u8bbe\u8ba1\u5de5\u5177\u4e0d\u540c\uff0cPlantUML\u9075\u5faa<strong>\u4ee3\u7801\u5316\u56fe\u8868<\/strong>\u8303\u5f0f\uff0c\u4f7f\u8f6f\u4ef6\u67b6\u6784\u5e08\u548c\u5de5\u7a0b\u5e08\u80fd\u591f\u7f16\u5199\u53ef\u8bfb\u7684\u811a\u672c\u6587\u4ef6\uff08\u4f8b\u5982<code>.puml<\/code>\uff09\uff0c\u8fd9\u4e9b\u6587\u4ef6\u53ef\u7a0b\u5e8f\u5316\u5730\u6e32\u67d3\u4e3a\u56fe\u8868\u3002<\/p>\n<h3>\u6838\u5fc3\u4f18\u52bf\uff1a\u7248\u672c\u63a7\u5236\u3001\u901f\u5ea6\u4e0e\u4e00\u81f4\u6027<\/h3>\n<ul>\n<li><strong>\u652f\u6301\u7248\u672c\u63a7\u5236\uff1a<\/strong>\u7531\u4e8e\u56fe\u8868\u4ee5\u7eaf\u6587\u672c\u5f62\u5f0f\u5b58\u5728\uff0c\u56e0\u6b64\u53ef\u4ee5\u5b58\u50a8\u5728Git\u4ed3\u5e93\u4e2d\uff0c\u4e0e\u5e94\u7528\u7a0b\u5e8f\u4ee3\u7801\u4e00\u8d77\u8fdb\u884c\u5dee\u5f02\u6bd4\u8f83\u548c\u5408\u5e76\u3002<\/li>\n<li><strong>\u7ef4\u62a4\u901f\u5ea6\uff1a<\/strong>\u66f4\u65b0\u5de5\u4f5c\u6d41\u7a0b\u53ea\u9700\u51e0\u79d2\u949f\u2014\u2014\u53ea\u9700\u7f16\u8f91\u4e00\u884c\u6587\u672c\uff0c\u800c\u65e0\u9700\u624b\u52a8\u91cd\u65b0\u5b9a\u4f4d\u6846\u4f53\u548c\u8fde\u63a5\u7bad\u5934\u3002<\/li>\n<li><strong>\u89c6\u89c9\u4e00\u81f4\u6027\uff1a<\/strong>\u6e32\u67d3\u5de5\u5177\u4f1a\u81ea\u52a8\u8ba1\u7b97\u5e03\u5c40\u3001\u5bf9\u9f50\u548c\u95f4\u8ddd\uff0c\u786e\u4fdd\u56e2\u961f\u6240\u6709\u6587\u6863\u7684\u6837\u5f0f\u4fdd\u6301\u4e00\u81f4\u3002<\/li>\n<\/ul>\n<hr\/>\n<h2>\u6838\u5fc3\u8bed\u6cd5\u57fa\u7840\uff1a\u5982\u4f55\u521b\u5efa\u60a8\u7684\u7b2c\u4e00\u4e2a\u5e8f\u5217\u56fe<\/h2>\n<p>PlantUML\u4f7f\u7528\u7b80\u5355\u3001\u6613\u8bfb\u7684\u5173\u952e\u8bcd\u6765\u5b9a\u4e49\u7cfb\u7edf\u5b9e\u4f53\u548c\u4ea4\u4e92\u8def\u5f84\u3002<\/p>\n<h3>\u58f0\u660e\u53c2\u4e0e\u8005\u3001\u89d2\u8272\u548c\u8fb9\u754c<\/h3>\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u4e0e\u7cfb\u7edf\u67b6\u6784\u4e2d\u89d2\u8272\u76f8\u5339\u914d\u7684\u5173\u952e\u8bcd\uff0c\u663e\u5f0f\u5730\u5b9a\u4e49\u53c2\u4e0e\u8005\uff1a<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/#plantuml:DO_12eCm44JlWVp3adlnxg6e5OfGg6qgFMzYAA5gGhAs-FUDOc-p-nuCKqJ2GFCuS8QQN80kci2PJq-hhSU9G9Hj0sSayyL50CP_vgn7GeNHW6XTf5SmydRPZBhYJBbvwZ4i89v6GUdzHhg6CyxM4ZWSqvN3QR3w7K7EQhIKKBE2lIA7zYeVaA6tMTo57QrMNUKWyMFWRhGBFMU5cVgqvGS0\" 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>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/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\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SoWkIImgAStDuULAJ2x9Br9uFcN5iuxjl5m5GE7CvCo2nBmI1IN70C_dUoS-RTsif91Oh01XydAb99Oa9YKMfoee1UGNbwGNfGO7-e0LF9kwuLdlkgUx9lDo9UMNvgKa5bKgA8Md9ZtTDGLeF5X9g2Sl5oyNn385NJiWtqhXUTFEf-sxd_LFUB9h2IzNg2T876ANbKA0Vt28WdvYGQO-J1uY0r83jyvAuSd-kK_NpdYnRiFJlLDvkHnIyrA0NWC0\" \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 Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"language-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">@startuml\r\nactor \u7528\u6237\r\nparticipant \"API\u7f51\u5173\" as \u7f51\u5173\r\ndatabase \"PostgreSQL\" as \u6570\u636e\u5e93\r\nboundary \"Web\u5e94\u7528\" as UI\r\n\r\n\u7528\u6237 -&gt; UI: \u70b9\u51fb\u63d0\u4ea4\r\nUI -&gt; \u7f51\u5173: POST \/api\/\u63d0\u4ea4\r\n\u7f51\u5173 -&gt; \u6570\u636e\u5e93: \u4fdd\u5b58\u8bb0\u5f55\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SoWkIImgAStDuULAJ2x9Br9uFcN5iuxjl5m5GE7CvCo2nBmI1IN70C_dUoS-RTsif91Oh01XydAb99Oa9YKMfoee1UGNbwGNfGO7-e0LF9kwuLdlkgUx9lDo9UMNvgKa5bKgA8Md9ZtTDGLeF5X9g2Sl5oyNn385NJiWtqhXUTFEf-sxd_LFUB9h2IzNg2T876ANbKA0Vt28WdvYGQO-J1uY0r83jyvAuSd-kK_NpdYnRiFJlLDvkHnIyrA0NWC0\" \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 Plantuml 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\/#plantuml:DO_12eCm44JlWVp3adlnxg6e5OfGg6qgFMzYAA5gGhAs-FUDOc-p-nuCKqJ2GFCuS8QQN80kci2PJq-hhSU9G9Hj0sSayyL50CP_vgn7GeNHW6XTf5SmydRPZBhYJBbvwZ4i89v6GUdzHhg6CyxM4ZWSqvN3QR3w7K7EQhIKKBE2lIA7zYeVaA6tMTo57QrMNUKWyMFWRhGBFMU5cVgqvGS0\" 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>\u5728VPasCode\u4e2d\u7f16\u8f91Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<h3>\u6d88\u606f\u4e0e\u7bad\u5934\uff1a\u540c\u6b65\u8c03\u7528\u4e0e\u5f02\u6b65\u8c03\u7528<\/h3>\n<p>\u7bad\u5934\u7684\u65b9\u5411\u548c\u5916\u89c2\u8868\u793a\u7ec4\u4ef6\u4e4b\u95f4\u901a\u4fe1\u7684\u6d41\u5411\uff1a<\/p>\n<p>\u00a0<\/p>\n<table>\n<thead>\n<tr>\n<th>\u8bed\u6cd5<\/th>\n<th>\u89c6\u89c9\u8f93\u51fa<\/th>\n<th>\u901a\u4fe1\u7c7b\u578b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>A -&gt; B<\/code><\/td>\n<td>\u5b9e\u5fc3\u7bad\u5934\uff0c\u5b9e\u5fc3\u7bad\u5934\u5934<\/td>\n<td>\u540c\u6b65\u6d88\u606f\u8c03\u7528<\/td>\n<\/tr>\n<tr>\n<td><code>A --&gt; B<\/code><\/td>\n<td>\u865a\u7ebf\u7bad\u5934\uff0c\u5b9e\u5fc3\u7bad\u5934\u5934<\/td>\n<td>\u54cd\u5e94 \/ \u8fd4\u56de\u6d88\u606f<\/td>\n<\/tr>\n<tr>\n<td><code>A -&gt;&gt; B<\/code><\/td>\n<td>\u5b9e\u5fc3\u7bad\u5934\uff0c\u7a7a\u5fc3\u7bad\u5934\u5934<\/td>\n<td>\u5f02\u6b65\u6d88\u606f\u8c03\u7528<\/td>\n<\/tr>\n<tr>\n<td><code>A - B<\/code><\/td>\n<td>\u534a\u5934\u7bad\u5934<\/td>\n<td>\u5355\u5411 \/ \u4e8b\u4ef6\u6d88\u606f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr\/>\n<h2>\u73b0\u5b9e\u4e16\u754c\u4e2d\u7684PlantUML\u5e8f\u5217\u56fe\u793a\u4f8b<\/h2>\n<p>\u590d\u5236\u5e76\u8c03\u6574\u8fd9\u4e9b\u5e38\u89c1\u7684\u67b6\u6784\u6a21\u5f0f\u5230\u60a8\u7684\u6280\u672f\u6587\u6863\u4e2d\u3002<\/p>\n<h3>\u793a\u4f8b 1\uff1a\u7528\u6237\u8ba4\u8bc1\u4e0e JWT \u4ee4\u724c\u6d41\u7a0b<\/h3>\n<p><img alt=\"Sequence diagram example 'User Authentication &amp; JWT Token Flow'\" class=\"alignnone wp-image-1839 size-full\" decoding=\"async\" height=\"745\" sizes=\"(max-width: 1192px) 100vw, 1192px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a7214a2d6f33.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a7214a2d6f33.png 1192w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a7214a2d6f33-300x188.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a7214a2d6f33-1024x640.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a7214a2d6f33-768x480.png 768w\" width=\"1192\"\/><\/p>\n<p>\u5bf9\u5e94\u7684 PlantUML \u4ee3\u7801\uff1a<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/#plantuml:ZL6xJiCm5Dqj-H-ECfMXQa1C6L2RPW660arXTfqhQk7QbH-HuEkvIIgW6vxiw_Eqbp6faFBHIg5oyYuVznHuhvCFM5j3BabnOeZHvgHSGh7AwO0jXTveAg0YXe4KdKfghoAXs4KAQCx74T7KKaWngM5-Dp8gF6ssBHRMlnk7cGxKyQrHDbwDzgPNYSxQeoNpchh2SwRmYJnu1D8-T7_GWqzJO_vZyK8f1pUXXu0SaoxGJBO9hygQ3klV25A0rsJBObFo2ZTbYSqZPWzlBLPQKune_GSvJaoMgz-x_fzAj-KrTevV_E23-I8kGQwxI3SrN_AOF-SR\" 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\u7f16\u8f91 Plantuml<\/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\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SoWkIImgAStDuULAB2t9polDJKej0hAJI_AB59wkM_IiO_lprUjvkGg0gZAJCmiIyqeKb5wiM_9YVUEpERrFknOgAIGMApYMbcJmSgKabYGc9HQdAYWzdx82gF7Pr0tFUjSztJKPhCR5YPUBbmjkf8AkdGAoELOA0Vx18GhwEVdfcNaA6a_RrmBrQe9TabcMM9AAefYN2va7CWhDHYk5P_ENlbY_22ByOjs6ftkd8fc5ffgN2qr0GHV3TI_sJtawUnwoEg27Kt6R2BGjfqJXsPpEPrCx89xXvL800bI70ws1XuYLWf61WOA_juA6LtW8KDt-bzFNFTczv7bd3p0OKdE0uVfi-W8IJ3CnC0JQl-fPNyUpkSr04_9IK5oC6fuEG6bWAW00\" \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 Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"language-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">@startuml\r\nautonumber\r\nactor \u5ba2\u6237\u7aef\r\nparticipant \"\u8ba4\u8bc1\u670d\u52a1\" as Auth\r\ndatabase \"\u7528\u6237\u6570\u636e\u5e93\" as DB\r\n\r\n\u5ba2\u6237\u7aef -&gt; \u8ba4\u8bc1\u670d\u52a1: POST \/login (\u51ed\u636e)\r\nactivate \u8ba4\u8bc1\u670d\u52a1\r\n\u8ba4\u8bc1\u670d\u52a1 -&gt; \u7528\u6237\u6570\u636e\u5e93: \u67e5\u8be2\u7528\u6237\u8bb0\u5f55\r\nactivate \u7528\u6237\u6570\u636e\u5e93\r\n\u7528\u6237\u6570\u636e\u5e93 --&gt; \u8ba4\u8bc1\u670d\u52a1: \u8fd4\u56de\u7528\u6237\u6570\u636e\r\ndeactivate \u7528\u6237\u6570\u636e\u5e93\r\n\r\nalt \u6709\u6548\u51ed\u636e\r\n    \u8ba4\u8bc1\u670d\u52a1 --&gt; \u5ba2\u6237\u7aef: 200 OK (JWT \u8bbf\u95ee\u4ee4\u724c)\r\nelse \u65e0\u6548\u51ed\u636e\r\n    \u8ba4\u8bc1\u670d\u52a1 --&gt; \u5ba2\u6237\u7aef: 401 \u672a\u6388\u6743\r\nend\r\ndeactivate \u8ba4\u8bc1\u670d\u52a1\r\n@enduml\r\n<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SoWkIImgAStDuULAB2t9polDJKej0hAJI_AB59wkM_IiO_lprUjvkGg0gZAJCmiIyqeKb5wiM_9YVUEpERrFknOgAIGMApYMbcJmSgKabYGc9HQdAYWzdx82gF7Pr0tFUjSztJKPhCR5YPUBbmjkf8AkdGAoELOA0Vx18GhwEVdfcNaA6a_RrmBrQe9TabcMM9AAefYN2va7CWhDHYk5P_ENlbY_22ByOjs6ftkd8fc5ffgN2qr0GHV3TI_sJtawUnwoEg27Kt6R2BGjfqJXsPpEPrCx89xXvL800bI70ws1XuYLWf61WOA_juA6LtW8KDt-bzFNFTczv7bd3p0OKdE0uVfi-W8IJ3CnC0JQl-fPNyUpkSr04_9IK5oC6fuEG6bWAW00\" \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 Plantuml 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\/#plantuml:ZL6xJiCm5Dqj-H-ECfMXQa1C6L2RPW660arXTfqhQk7QbH-HuEkvIIgW6vxiw_Eqbp6faFBHIg5oyYuVznHuhvCFM5j3BabnOeZHvgHSGh7AwO0jXTveAg0YXe4KdKfghoAXs4KAQCx74T7KKaWngM5-Dp8gF6ssBHRMlnk7cGxKyQrHDbwDzgPNYSxQeoNpchh2SwRmYJnu1D8-T7_GWqzJO_vZyK8f1pUXXu0SaoxGJBO9hygQ3klV25A0rsJBObFo2ZTbYSqZPWzlBLPQKune_GSvJaoMgz-x_fzAj-KrTevV_E23-I8kGQwxI3SrN_AOF-SR\" 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\u7f16\u8f91 Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<h3>\u793a\u4f8b 2\uff1a\u7535\u5b50\u5546\u52a1\u652f\u4ed8\u7f51\u5173\u96c6\u6210<\/h3>\n<p id=\"lYxOGZN\"><img alt=\"Sequence diagram example: 'E-Commerce Payment Gateway Integration'\" class=\"alignnone wp-image-1840 size-full\" decoding=\"async\" height=\"745\" sizes=\"(max-width: 1192px) 100vw, 1192px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a721507ddca4.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a721507ddca4.png 1192w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a721507ddca4-300x188.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a721507ddca4-1024x640.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/08\/img_6a721507ddca4-768x480.png 768w\" width=\"1192\"\/><\/p>\n<p>\u5bf9\u5e94\u7684 PlantUML \u4ee3\u7801\uff1a<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/#plantuml:PL512i8m4Bm7yeT5FEYX7-X12Zr8JnQA3mZ9QeEsAPkqukzTsmHBFIMxCpipcnG-A0fZzvH2wU08oj47ro59CJ1WjHrK7s1NjgWVRWnmhNQWF1yRmeKC4ZH8azKuK-REXbMhTuTyEQk0B_MUUR4dXHJ97B8JE-HGklvcgKjIr-eBp0LZX2oI80vlfrMzn65sLC-X9gVHUoXRHNU4m_wucbfbI16pdrLgDQFMY0QD50R_PwDdpBvKSOFDo6eVPgUjSsXQzuAgdno_8UlUKOe2UyFVym40\" 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\u7f16\u8f91 Plantuml<\/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\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SoWkIImgAStDuULAJ2x9Br9ukcxHiuxjprUlv-Kg0Cfa9cSM9EQLA2WztptvnPPbpwVsl9oxI4aXiLWXr1DDnOjrYvxsJdqsf_TfrqAm2l-YbDGYD4NFfgn_idl6yxqJdxPk1YiAIApCJSqhuUNYvO9RhQ1hfm2noKhX-S9rBzOjWPZDomKH1SaZssQbyBHZzjFTks2gW3x9B4iiIKLHnCk5p0CPWUmMe15BMfvFQ7lMkVZPcdqA6YgQICOWAmGv59cle8lX68Zqiuu9JxlcytAbfE8m1zKvI5w6I3pTlWdYTnGZK7q42mwWPdZW0UsViU_vabrF-oS-NxhYvSAjG1MyN0wfUId0M0O0\" \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 Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"language-plantuml\"><code class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">@startuml\r\nactor \u5ba2\u6237\u7aef\r\nparticipant \"\u7ed3\u8d26\u754c\u9762\" as UI\r\nparticipant \"\u8ba2\u5355\u670d\u52a1\" as Order\r\nparticipant \"\u652f\u4ed8\u7f51\u5173\" as Payment\r\n\r\n\u5ba2\u6237\u7aef -&gt; \u754c\u9762: \u786e\u8ba4\u8ba2\u5355\r\n\u754c\u9762 -&gt; \u8ba2\u5355\u670d\u52a1: \u521b\u5efa\u8ba2\u5355\r\nactivate \u8ba2\u5355\u670d\u52a1\r\n\u8ba2\u5355\u670d\u52a1 -&gt; \u652f\u4ed8\u7f51\u5173: \u5904\u7406\u6263\u6b3e ($)\r\nactivate \u652f\u4ed8\u7f51\u5173\r\n\r\n\u652f\u4ed8\u7f51\u5173 --&gt; \u8ba2\u5355\u670d\u52a1: \u652f\u4ed8\u6210\u529f\r\ndeactivate \u652f\u4ed8\u7f51\u5173\r\n\u8ba2\u5355\u670d\u52a1 --&gt; \u754c\u9762: \u8ba2\u5355\u5df2\u786e\u8ba4\r\ndeactivate \u8ba2\u5355\u670d\u52a1\r\n\u754c\u9762 --&gt; \u5ba2\u6237\u7aef: \u663e\u793a\u53d1\u7968\u9875\u9762\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:SoWkIImgAStDuULAJ2x9Br9ukcxHiuxjprUlv-Kg0Cfa9cSM9EQLA2WztptvnPPbpwVsl9oxI4aXiLWXr1DDnOjrYvxsJdqsf_TfrqAm2l-YbDGYD4NFfgn_idl6yxqJdxPk1YiAIApCJSqhuUNYvO9RhQ1hfm2noKhX-S9rBzOjWPZDomKH1SaZssQbyBHZzjFTks2gW3x9B4iiIKLHnCk5p0CPWUmMe15BMfvFQ7lMkVZPcdqA6YgQICOWAmGv59cle8lX68Zqiuu9JxlcytAbfE8m1zKvI5w6I3pTlWdYTnGZK7q42mwWPdZW0UsViU_vabrF-oS-NxhYvSAjG1MyN0wfUId0M0O0\" \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 Plantuml 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\/#plantuml:PL512i8m4Bm7yeT5FEYX7-X12Zr8JnQA3mZ9QeEsAPkqukzTsmHBFIMxCpipcnG-A0fZzvH2wU08oj47ro59CJ1WjHrK7s1NjgWVRWnmhNQWF1yRmeKC4ZH8azKuK-REXbMhTuTyEQk0B_MUUR4dXHJ97B8JE-HGklvcgKjIr-eBp0LZX2oI80vlfrMzn65sLC-X9gVHUoXRHNU4m_wucbfbI16pdrLgDQFMY0QD50R_PwDdpBvKSOFDo6eVPgUjSsXQzuAgdno_8UlUKOe2UyFVym40\" 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\u7f16\u8f91 Plantuml<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<hr\/>\n<h2>\u9ad8\u7ea7 PlantUML \u529f\u80fd\uff1a\u5faa\u73af\u3001\u6761\u4ef6\u548c\u5206\u7ec4<\/h2>\n<p>\u4e3a\u4e86\u51c6\u786e\u6355\u6349\u590d\u6742\u7684\u4e1a\u52a1\u903b\u8f91\uff0cPlantUML \u63d0\u4f9b\u4e86\u5185\u7f6e\u7684\u63a7\u5236\u7ed3\u6784\uff0c\u53ef\u5c06\u5e8f\u5217\u5305\u88c5\u6210\u6e05\u6670\u7684\u89c6\u89c9\u6846\u67b6\u3002<\/p>\n<h3>\u4f7f\u7528<code>alt<\/code>, <code>opt<\/code>\uff0c\u4ee5\u53ca<code>loop<\/code> \u5757<\/h3>\n<ul>\n<li><code>alt \/ else<\/code>: \u8868\u793a\u6761\u4ef6\u5206\u652f\uff08\u7c7b\u4f3c\u4e8e<code>if-else<\/code> \u7ed3\u6784\uff09\u3002<\/li>\n<li><code>opt<\/code>: \u8868\u793a\u4ec5\u5728\u6ee1\u8db3\u6761\u4ef6\u65f6\u624d\u6267\u884c\u7684\u53ef\u9009\u6b65\u9aa4\u3002<\/li>\n<li><code>loop<\/code>: \u8868\u793a\u91cd\u590d\u7684\u4ea4\u4e92\u6216\u8f6e\u8be2\u4efb\u52a1\u3002<\/li>\n<\/ul>\n<h3>\u6fc0\u6d3b\u548c\u505c\u7528\u751f\u547d\u7ebf\uff08<code>activate<\/code> \/ <code>deactivate<\/code>)<\/h3>\n<p>\u4e3a\u4e86\u6e05\u6670\u5730\u663e\u793a\u7ec4\u4ef6\u6b63\u5728\u6267\u884c\u5de5\u4f5c\u7684\u65f6\u95f4\uff0c\u4f7f\u7528<code>activate<\/code> \u548c <code>deactivate<\/code> \u8bed\u53e5\uff0c\u6216\u9644\u52a0<code>++<\/code> \u548c <code>--<\/code> \u7bad\u5934\u76ee\u6807\u7684\u7b80\u5199\u3002\u8fd9\u4f1a\u5728\u53c2\u4e0e\u8005\u7684\u751f\u547d\u7ebf\u521b\u5efa\u5782\u76f4\u7684\u6267\u884c\u6761\uff0c\u7a81\u51fa\u663e\u793a\u6267\u884c\u65f6\u95f4\u548c\u7cfb\u7edf\u8d1f\u8f7d\u3002<\/p>\n<hr\/>\n<h2>\u5e38\u89c1\u7684 PlantUML \u95ee\u9898\uff08\u4ee5\u53ca\u5982\u4f55\u89e3\u51b3\uff09<\/h2>\n<p>\u5c3d\u7ba1 PlantUML \u529f\u80fd\u6781\u5176\u5f3a\u5927\uff0c\u4f46\u8bbe\u7f6e Java \u548c Graphviz \u7b49\u672c\u5730\u4f9d\u8d56\u9879\u53ef\u80fd\u4f1a\u7ed9\u5f00\u53d1\u8005\u5e26\u6765\u4e0d\u5fc5\u8981\u7684\u6469\u64e6\u3002<\/p>\n<h3>\u65e0\u9700\u672c\u5730 Java \u73af\u5883\u5373\u53ef\u4fee\u590d PlantUML \u8bed\u6cd5\u9519\u8bef<\/h3>\n<p>\u914d\u7f6e\u672c\u5730\u6e32\u67d3\u6d41\u7a0b\u5e38\u5e38\u5bfc\u81f4\u73af\u5883\u4e0d\u5339\u914d\u6216\u7f3a\u5c11\u4f9d\u8d56\u9879\u7684\u9519\u8bef\u3002\u4f7f\u7528\u73b0\u4ee3\u5728\u7ebf<strong>\u514d\u8d39\u5e8f\u5217\u56fe\u7f16\u8f91\u5668<\/strong> \u5982<a href=\"https:\/\/vpascode.com\" rel=\"noopener\" target=\"_blank\">VPasCode<\/a> \u5b8c\u5168\u6d88\u9664\u4e86\u73af\u5883\u8bbe\u7f6e\u3002\u5982\u679c\u4f60\u9047\u5230\u8bed\u6cd5\u9519\u8bef\uff0cVPasCode \u96c6\u6210\u4e86\u5185\u7f6e\u7684 AI \u4ee3\u7801\u9519\u8bef\u4fee\u590d\u529f\u80fd\uff0c\u80fd\u591f\u7acb\u5373\u5b9a\u4f4d\u65e0\u6548\u884c\u5e76\u81ea\u52a8\u4fee\u6b63\u3002<\/p>\n<h3>\u5c06\u56fe\u8868\u5bfc\u51fa\u5e76\u5d4c\u5165\u6280\u672f\u6587\u6863<\/h3>\n<p>\u5728\u6280\u672f\u56e2\u961f\u4e4b\u95f4\u5171\u4eab\u9759\u6001\u56fe\u8868\u5e38\u5e38\u4f1a\u7834\u574f\u6587\u6863\u5de5\u4f5c\u6d41\u7a0b\u3002\u4e3a\u4e86\u4fdd\u6301\u6587\u6863\u66f4\u65b0\uff0c\u53ef\u5c06\u6e32\u67d3\u540e\u7684\u56fe\u8868\u5bfc\u51fa\u4e3a\u53ef\u7f29\u653e\u77e2\u91cf\u56fe\u5f62\uff08SVG\uff09\u6216\u9ad8\u5206\u8fa8\u7387 PNG\u3002\u4e3a\u4e86\u66f4\u6df1\u5165\u5730\u96c6\u6210\u6587\u6863\uff0cVPasCode \u53ef\u76f4\u63a5\u8fde\u63a5 Visual Paradigm OpenDocs\uff0c\u4f7f\u56fe\u8868\u4e0e\u9879\u76ee\u89c4\u8303\u539f\u751f\u5171\u5b58\u3002<\/p>\n<hr\/>\n<h2>\u4f7f\u7528 VPasCode \u5373\u65f6\u6e32\u67d3\u548c\u7f16\u8f91 PlantUML \u5e8f\u5217\u56fe<\/h2>\n<p><a href=\"https:\/\/vpascode.com\" rel=\"noopener\" target=\"_blank\">Visual Paradigm VPasCode<\/a> \u662f\u4e00\u4e2a\u4e13\u4e3a\u5f00\u53d1\u8005\u3001\u6280\u672f\u5199\u4f5c\u8005\u548c\u8f6f\u4ef6\u67b6\u6784\u5e08\u8bbe\u8ba1\u7684\u7edf\u4e00\u7684\u4ee3\u7801\u5316\u7ed8\u56fe\u5e73\u53f0\u3002<\/p>\n<h3>\u5b9e\u65f6\u9884\u89c8\u4e0e\u81ea\u52a8\u683c\u5f0f\u8bc6\u522b<\/h3>\n<p>VPasCode \u63d0\u4f9b\u65e0\u9700\u5b89\u88c5\u7684\u6d4f\u89c8\u5668\u73af\u5883\uff0c\u5e76\u5177\u5907\u81ea\u52a8\u683c\u5f0f\u8bc6\u522b\u529f\u80fd\u3002\u53ea\u9700\u5c06\u539f\u59cb\u7684 PlantUML\u3001Mermaid\u3001D2 \u6216 Graphviz \u811a\u672c\u7c98\u8d34\u5230\u7f16\u8f91\u5668\u4e2d\uff0c\u6d4f\u89c8\u5668\u4f1a\u81ea\u52a8\u8bc6\u522b\u8bed\u8a00\uff0c\u5e76\u5728\u4f60\u8f93\u5165\u65f6\u5b9e\u65f6\u6e32\u67d3\u51fa\u4ea4\u4e92\u5f0f\u9884\u89c8\u3002<\/p>\n<h3>\u4e00\u952e AI \u4ee3\u7801\u4fee\u590d\u4e0e\u5e76\u6392\u5dee\u5f02\u8bf4\u660e<\/h3>\n<p>\u5728\u5904\u7406\u590d\u6742\u7684\u5e8f\u5217\u903b\u8f91\u65f6\uff0c\u62fc\u5199\u9519\u8bef\u96be\u514d\u53d1\u751f\u3002\u501f\u52a9 VPasCode \u7684<strong>AI \u4fee\u590d<\/strong> \u5f15\u64ce\uff0c\u4f60\u53ea\u9700\u4e00\u952e\u5373\u53ef\u4fee\u590d\u635f\u574f\u7684\u4ee3\u7801\uff0c\u540c\u65f6\u53ef\u67e5\u770b\u900f\u660e\u7684\u5e76\u6392\u4ee3\u7801\u5dee\u5f02\u548c\u8bed\u6cd5\u8bf4\u660e\uff0c\u5e2e\u52a9\u4f60\u66f4\u5feb\u638c\u63e1 PlantUML \u8bed\u6cd5\u3002<\/p>\n<hr\/>\n<h2>PlantUML \u4e0e Mermaid \u5e8f\u5217\u56fe\uff1a\u4f60\u5e94\u8be5\u9009\u62e9\u54ea\u4e00\u4e2a\uff1f<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u529f\u80fd<\/th>\n<th>PlantUML<\/th>\n<th>Mermaid<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u8bed\u6cd5\u7075\u6d3b\u6027<\/strong><\/td>\n<td>\u4e30\u5bcc\uff1b\u652f\u6301\u9ad8\u7ea7\u6837\u5f0f\u548c\u590d\u6742\u7ed3\u6784<\/td>\n<td>\u7b80\u6d01\uff1b\u8bed\u6cd5\u7b80\u5355\uff0c\u5b66\u4e60\u6210\u672c\u4f4e<\/td>\n<\/tr>\n<tr>\n<td><strong>\u539f\u751f\u751f\u6001\u7cfb\u7edf<\/strong><\/td>\n<td>\u672c\u5730\u7f16\u8bd1\u9700\u8981 Java\/Graphviz<\/td>\n<td>\u53ef\u5728\u652f\u6301 JavaScript \u7684\u73af\u5883\u4e2d\u539f\u751f\u8fd0\u884c<\/td>\n<\/tr>\n<tr>\n<td><strong>VPasCode \u652f\u6301<\/strong><\/td>\n<td>\u5b8c\u5168\u652f\u6301\u5b9e\u65f6\u6d4f\u89c8\u5668\u6e32\u67d3<\/td>\n<td>\u5b8c\u5168\u652f\u6301\u5b9e\u65f6\u6d4f\u89c8\u5668\u6e32\u67d3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr\/>\n<h2>\u5e38\u89c1\u95ee\u9898\u89e3\u7b54\uff08FAQ\uff09<\/h2>\n<h3>\u5982\u4f55\u5728\u4e0d\u5b89\u88c5 Java \u6216 Graphviz \u7684\u60c5\u51b5\u4e0b\u6e32\u67d3 PlantUML\uff1f<\/h3>\n<p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u57fa\u4e8e\u7f51\u7edc\u7684<strong>PlantUML \u7f16\u8f91\u5668<\/strong>\uff0c\u4f8b\u5982<a href=\"https:\/\/vpascode.com\" rel=\"noopener\" target=\"_blank\">VPasCode<\/a>\u3002\u5b83\u53ef\u5728\u6d4f\u89c8\u5668\u4e2d\u76f4\u63a5\u5904\u7406\u811a\u672c\u89e3\u6790\u5e76\u5b9e\u65f6\u6e32\u67d3\u2014\u2014\u65e0\u9700\u672c\u5730\u8bbe\u7f6e\u6216\u8f6f\u4ef6\u5b89\u88c5\u3002<\/p>\n<h3>\u6211\u53ef\u4ee5\u5c06 PlantUML \u65f6\u5e8f\u56fe\u8f6c\u6362\u4e3a\u9ad8\u5206\u8fa8\u7387\u7684 SVG \u6216 PNG \u56fe\u50cf\u5417\uff1f<\/h3>\n<p>\u53ef\u4ee5\u3002\u4e00\u65e6\u60a8\u7684\u811a\u672c\u5728\u7f16\u8f91\u5668\u4e2d\u6e32\u67d3\u5b8c\u6210\uff0c\u60a8\u53ef\u4ee5\u5c06\u5176\u5bfc\u51fa\u4e3a\u77e2\u91cf SVG \u6587\u4ef6\u4ee5\u5b9e\u73b0\u65e0\u635f\u7f29\u653e\uff0c\u6216\u5bfc\u51fa\u4e3a\u6e05\u6670\u7684 PNG \u56fe\u50cf\u7528\u4e8e\u6f14\u793a\u548c\u6587\u6863\u3002<\/p>\n<h3>\u5982\u4f55\u4e0e\u6211\u7684\u56e2\u961f\u5171\u4eab\u4e00\u4e2a\u53ef\u5b9e\u65f6\u7f16\u8f91\u7684 PlantUML \u56fe\u8868\uff1f<\/h3>\n<p>VPasCode \u63d0\u4f9b\u4e86\u76f4\u63a5\u7684\u5171\u4eab\u5de5\u5177\uff0c\u53ef\u8ba9\u60a8\u751f\u6210\u53ef\u5206\u4eab\u7684\u7f51\u9875\u94fe\u63a5\u3001\u4e8c\u7ef4\u7801\uff0c\u6216\u76f4\u63a5\u5c06\u56fe\u8868\u53d1\u5e03\u5230 Visual Paradigm OpenDocs \u7b49\u6587\u6863\u4e2d\u5fc3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2aPlantUML\u5e8f\u5217\u56fe\u662f\u4e00\u79cd\u57fa\u4e8e\u6587\u672c\u7684\u8868\u793a\u65b9\u5f0f\uff0c\u7528\u4e8e\u5c55\u793a\u8f6f\u4ef6\u7cfb\u7edf\u4e2d\u5bf9\u8c61\u6216\u8fdb\u7a0b&#8230;<\/p>\n","protected":false},"author":4,"featured_media":1905,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","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":""}},"fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-1904","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-insights"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PlantUML Sequence Diagrams: Complete Guide &amp; Editor<\/title>\n<meta name=\"description\" content=\"Learn PlantUML sequence diagram syntax, real-world examples, and best practices. Start building diagrams instantly with a free sequence diagram editor.\" \/>\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\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PlantUML Sequence Diagrams: Complete Guide &amp; Editor\" \/>\n<meta property=\"og:description\" content=\"Learn PlantUML sequence diagram syntax, real-world examples, and best practices. Start building diagrams instantly with a free sequence diagram editor.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-04T16:41:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1312\" \/>\n\t<meta property=\"og:image:height\" content=\"816\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"jick\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/\"},\"author\":{\"name\":\"jick\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#\\\/schema\\\/person\\\/cd8aa8455bd8bc6827b3efdfa79ad3a6\"},\"headline\":\"PlantUML\u5e8f\u5217\u56fe\u5b8c\u6574\u6307\u5357\uff1a\u8bed\u6cd5\u3001\u793a\u4f8b\u4e0e\u6700\u4f73\u5b9e\u8df5\",\"datePublished\":\"2026-08-04T16:41:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/\"},\"wordCount\":84,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/08\\\/plantuml-sequence-diagram-guide-hero-banner-1.jpg\",\"articleSection\":[\"Insights\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/\",\"name\":\"PlantUML Sequence Diagrams: Complete Guide & Editor\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/08\\\/plantuml-sequence-diagram-guide-hero-banner-1.jpg\",\"datePublished\":\"2026-08-04T16:41:15+00:00\",\"description\":\"Learn PlantUML sequence diagram syntax, real-world examples, and best practices. Start building diagrams instantly with a free sequence diagram editor.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/08\\\/plantuml-sequence-diagram-guide-hero-banner-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/08\\\/plantuml-sequence-diagram-guide-hero-banner-1.jpg\",\"width\":1312,\"height\":816},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PlantUML\u5e8f\u5217\u56fe\u5b8c\u6574\u6307\u5357\uff1a\u8bed\u6cd5\u3001\u793a\u4f8b\u4e0e\u6700\u4f73\u5b9e\u8df5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#\\\/schema\\\/person\\\/cd8aa8455bd8bc6827b3efdfa79ad3a6\",\"name\":\"jick\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c89451a99649a6ebefa14a9167db0960c327e8c33ea79fdb68fc38aa18d768a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c89451a99649a6ebefa14a9167db0960c327e8c33ea79fdb68fc38aa18d768a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c89451a99649a6ebefa14a9167db0960c327e8c33ea79fdb68fc38aa18d768a?s=96&d=mm&r=g\",\"caption\":\"jick\"},\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/author\\\/jick\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PlantUML Sequence Diagrams: Complete Guide & Editor","description":"Learn PlantUML sequence diagram syntax, real-world examples, and best practices. Start building diagrams instantly with a free sequence diagram editor.","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\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/","og_locale":"zh_CN","og_type":"article","og_title":"PlantUML Sequence Diagrams: Complete Guide & Editor","og_description":"Learn PlantUML sequence diagram syntax, real-world examples, and best practices. Start building diagrams instantly with a free sequence diagram editor.","og_url":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/","og_site_name":"VPasCode","article_published_time":"2026-08-04T16:41:15+00:00","og_image":[{"width":1312,"height":816,"url":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner-1.jpg","type":"image\/jpeg"}],"author":"jick","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":false,"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/#article","isPartOf":{"@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/"},"author":{"name":"jick","@id":"https:\/\/www.vpascode.com\/cn\/#\/schema\/person\/cd8aa8455bd8bc6827b3efdfa79ad3a6"},"headline":"PlantUML\u5e8f\u5217\u56fe\u5b8c\u6574\u6307\u5357\uff1a\u8bed\u6cd5\u3001\u793a\u4f8b\u4e0e\u6700\u4f73\u5b9e\u8df5","datePublished":"2026-08-04T16:41:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/"},"wordCount":84,"commentCount":0,"publisher":{"@id":"https:\/\/www.vpascode.com\/cn\/#organization"},"image":{"@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner-1.jpg","articleSection":["Insights"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/","url":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/","name":"PlantUML Sequence Diagrams: Complete Guide & Editor","isPartOf":{"@id":"https:\/\/www.vpascode.com\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner-1.jpg","datePublished":"2026-08-04T16:41:15+00:00","description":"Learn PlantUML sequence diagram syntax, real-world examples, and best practices. Start building diagrams instantly with a free sequence diagram editor.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/#primaryimage","url":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner-1.jpg","contentUrl":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/08\/plantuml-sequence-diagram-guide-hero-banner-1.jpg","width":1312,"height":816},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/cn\/complete-guide-to-plantuml-sequence-diagrams-syntax-examples-best-practices-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/cn\/"},{"@type":"ListItem","position":2,"name":"PlantUML\u5e8f\u5217\u56fe\u5b8c\u6574\u6307\u5357\uff1a\u8bed\u6cd5\u3001\u793a\u4f8b\u4e0e\u6700\u4f73\u5b9e\u8df5"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/cn\/#website","url":"https:\/\/www.vpascode.com\/cn\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/cn\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.vpascode.com\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/cn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.vpascode.com\/cn\/#\/schema\/person\/cd8aa8455bd8bc6827b3efdfa79ad3a6","name":"jick","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/secure.gravatar.com\/avatar\/0c89451a99649a6ebefa14a9167db0960c327e8c33ea79fdb68fc38aa18d768a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0c89451a99649a6ebefa14a9167db0960c327e8c33ea79fdb68fc38aa18d768a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0c89451a99649a6ebefa14a9167db0960c327e8c33ea79fdb68fc38aa18d768a?s=96&d=mm&r=g","caption":"jick"},"url":"https:\/\/www.vpascode.com\/cn\/author\/jick\/"}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/posts\/1904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/comments?post=1904"}],"version-history":[{"count":0,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/posts\/1904\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/media\/1905"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/media?parent=1904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/categories?post=1904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/tags?post=1904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}