{"id":2114,"date":"2026-05-26T08:05:43","date_gmt":"2026-05-26T08:05:43","guid":{"rendered":"https:\/\/www.vpascode.com\/ja\/docs\/uncategorized\/mermaid-js-class-diagram-syntax-guide\/"},"modified":"2026-05-26T08:05:43","modified_gmt":"2026-05-26T08:05:43","slug":"mermaid-js-class-diagram-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/","title":{"rendered":"Mermaid.js \u30af\u30e9\u30b9\u56f3\u306e\u69cb\u6587\u30ac\u30a4\u30c9"},"content":{"rendered":"<h2>\u30af\u30e9\u30b9\u56f3\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h2>\n<p>A <strong>\u30af\u30e9\u30b9\u56f3<\/strong>\u306f\u69cb\u9020\u7684\u306a <strong>UML\u56f3<\/strong>\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b7\u30b9\u30c6\u30e0\u306e\u9759\u7684\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u53ef\u8996\u5316\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u4e0d\u53ef\u6b20\u306a <strong>UML\u56f3\u306e\u7a2e\u985e<\/strong>\u3068\u3057\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u306e\u500b\u3005\u306e\u30af\u30e9\u30b9\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3001\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3092\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3001\u5185\u90e8\u30d5\u30a3\u30fc\u30eb\u30c9\uff08\u5c5e\u6027\uff09\u3001\u64cd\u4f5c\u6a5f\u80fd\uff08\u30e1\u30bd\u30c3\u30c9\uff09\u3001\u305d\u308c\u3089\u3092\u7d50\u3073\u3064\u3051\u308b\u69cb\u9020\u7684\u95a2\u4fc2\u3092\u660e\u78ba\u306b\u6587\u66f8\u5316\u3057\u307e\u3059\u3002\u3053\u306e\u30d6\u30eb\u30fc\u30d7\u30ea\u30f3\u30c8\u306f\u3001\u9ad8\u30ec\u30d9\u30eb\u306e\u30c9\u30e1\u30a4\u30f3\u8a2d\u8a08\u3092\u660e\u78ba\u3067\u4fdd\u5b88\u53ef\u80fd\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u69cb\u9020\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u4e0d\u53ef\u6b20\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066 <strong>Mermaid.js<\/strong>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u76f4\u611f\u7684\u3067\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306e\u5b9a\u7fa9\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3084\u30b7\u30b9\u30c6\u30e0\u30b5\u30fc\u30d3\u30b9\u3092\u6982\u8981\u5316\u3067\u304d\u307e\u3059\u3002\u30ec\u30a4\u30a2\u30a6\u30c8\u30a8\u30f3\u30b8\u30f3\u306f\u30dc\u30c3\u30af\u30b9\u306e\u30b5\u30a4\u30ba\u3092\u81ea\u52d5\u8a08\u7b97\u3057\u3001\u6a19\u6e96\u7684\u306aUML\u30c7\u30fc\u30bf\u30b3\u30f3\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u69cb\u9020\u5316\u3057\u3001\u624b\u52d5\u3067\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u4f5c\u696d\u306a\u3057\u306b\u30ad\u30e3\u30f3\u30d0\u30b9\u4e0a\u3067\u95a2\u4fc2\u6027\u306e\u77e2\u5370\u3092\u6574\u5217\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b3\u30a2\u69cb\u6587\u30ac\u30a4\u30c9\uff1a\u8981\u7d20\u3068\u69cb\u9020<\/h2>\n<p>Mermaid\u3067\u6b63\u78ba\u3067\u6a19\u6e96\u6e96\u62e0\u306eUML\u30af\u30e9\u30b9\u56f3\u3092\u8a2d\u8a08\u3059\u308b\u306b\u306f\u3001\u30e1\u30f3\u30d0\u30fc\u5ba3\u8a00\u3001\u30a2\u30af\u30bb\u30b9\u4fee\u98fe\u5b50\u3001\u69cb\u9020\u7684\u95a2\u4fc2\u77e2\u5370\u3092\u7fd2\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>1. \u30af\u30e9\u30b9\u3068\u30af\u30e9\u30b9\u30b3\u30f3\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u5ba3\u8a00<\/h3>\n<p>\u30af\u30e9\u30b9\u306f2\u3064\u306e\u6709\u52b9\u306a\u5f62\u5f0f\u3067\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002\u30b7\u30f3\u30d7\u30eb\u306a\u30af\u30e9\u30b9\u306e\u5834\u5408\u3001<code>class<\/code>\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u5f8c\u306b\u30af\u30e9\u30b9\u540d\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u3059\u3050\u306b\u542b\u3081\u305f\u3044\u5834\u5408\u306f\u3001\u672b\u5c3e\u306b\u6ce2\u304b\u3063\u3053\u3092\u4f7f\u7528\u3057\u3066\u660e\u78ba\u306a\u672c\u4f53\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u6210\u3057\u307e\u3059\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:eNpLzkksLnbJTEwvSszl5VIAgmSQiEJocWpRQFF+WmZOqkI1RAIEtINLijLz0hVKgdJ5ibmpmDKpuYmZOUjCpQUpiSWpriBRjbzUcjBDU6EsPzMFoqgWAOaDJdQ=\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/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:eNpLzkksLnbJTEwvSszl5VIAgmSQiEJocWpRQFF+WmZOqkI1RAIEtINLijLz0hVKgdJ5ibmpmDKpuYmZOUjCpQUpiSWpriBRjbzUcjBDU6EsPzMFoqgWAOaDJdQ=\" \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\">classDiagram\r\n    class UserProfile {\r\n        +String username\r\n        +String email\r\n        +updateEmail(newEmail) void\r\n    }<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzkksLnbJTEwvSszl5VIAgmSQiEJocWpRQFF+WmZOqkI1RAIEtINLijLz0hVKgdJ5ibmpmDKpuYmZOUjCpQUpiSWpriBRjbzUcjBDU6EsPzMFoqgWAOaDJdQ=\" \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:eNpLzkksLnbJTEwvSszl5VIAgmSQiEJocWpRQFF+WmZOqkI1RAIEtINLijLz0hVKgdJ5ibmpmDKpuYmZOUjCpQUpiSWpriBRjbzUcjBDU6EsPzMFoqgWAOaDJdQ=\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"QKYoRec\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-618\" decoding=\"async\" fetchpriority=\"high\" height=\"184\" sizes=\"(max-width: 303px) 100vw, 303px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19030c532c9.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19030c532c9.png 303w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19030c532c9-300x182.png 300w\" width=\"303\"\/><\/p>\n<h3>2. \u53ef\u8996\u6027\uff0f\u30a2\u30af\u30bb\u30b9\u4fee\u98fe\u5b50\u306e\u8ffd\u52a0<\/h3>\n<p>\u6a19\u6e96\u7684\u306aUML\u30ab\u30d7\u30bb\u30eb\u5316\u30eb\u30fc\u30eb\u3092\u6587\u66f8\u5316\u3059\u308b\u306b\u306f\u3001\u5c5e\u6027\u307e\u305f\u306f\u30e1\u30bd\u30c3\u30c9\u540d\u306e\u76f4\u524d\u306b\u7279\u5b9a\u306e\u8a18\u53f7\u3092\u914d\u7f6e\u3057\u3066\u3001\u305d\u306e\u53ef\u8996\u6027\u30ec\u30d9\u30eb\u3092\u5b9a\u7fa9\u3057\u307e\u3059\uff1a<\/p>\n<ul>\n<li><code>+<\/code> **\u516c\u958b:** \u4ed6\u306e\u3059\u3079\u3066\u306e\u30af\u30e9\u30b9\u304b\u3089\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3002<\/li>\n<li><code>-<\/code> **\u975e\u516c\u958b:** \u5ba3\u8a00\u3057\u305f\u30af\u30e9\u30b9\u5185\u3067\u306e\u307f\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3002<\/li>\n<li><code>#<\/code> **\u4fdd\u8b77:** \u30af\u30e9\u30b9\u5185\u304a\u3088\u3073\u305d\u306e\u30b5\u30d6\u30af\u30e9\u30b9\u5185\u3067\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3002<\/li>\n<li><code>~<\/code> **\u30d1\u30c3\u30b1\u30fc\u30b8 \/ \u5185\u90e8:** \u540c\u3058\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5883\u754c\u5185\u3067\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3002<\/li>\n<\/ul>\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:eNpLzkksLnbJTEwvSszl5VIAgmSQiIJTYl62Y3JyfmleiUI1RAIEdFPyS5NyUhWSEnMS85JTERLKwSVFmXnpCokQPR75OSmpRQhp7fTUEieIHg1NBYghENlaANmyJWY=\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/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:eNpLzkksLnbJTEwvSszl5VIAgmSQiIJTYl62Y3JyfmleiUI1RAIEdFPyS5NyUhWSEnMS85JTERLKwSVFmXnpCokQPR75OSmpRQhp7fTUEieIHg1NBYghENlaANmyJWY=\" \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\">classDiagram\r\n    class BankAccount {\r\n        -double balance\r\n        #String accountHolder\r\n        +getBalance() double\r\n    }<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzkksLnbJTEwvSszl5VIAgmSQiIJTYl62Y3JyfmleiUI1RAIEdFPyS5NyUhWSEnMS85JTERLKwSVFmXnpCokQPR75OSmpRQhp7fTUEieIHg1NBYghENlaANmyJWY=\" \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:eNpLzkksLnbJTEwvSszl5VIAgmSQiIJTYl62Y3JyfmleiUI1RAIEdFPyS5NyUhWSEnMS85JTERLKwSVFmXnpCokQPR75OSmpRQhp7fTUEieIHg1NBYghENlaANmyJWY=\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"XgBkvsQ\"><img alt=\"\" class=\"alignnone size-full wp-image-619\" decoding=\"async\" height=\"184\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1903106882d.png\" width=\"249\"\/><\/p>\n<h3>3. \u95a2\u4fc2\u6027\u306e\u77e2\u5370\u3068\u7d99\u627f\u30ea\u30f3\u30af\u3092\u30de\u30b9\u30bf\u30fc\u3059\u308b<\/h3>\n<p>\u30af\u30e9\u30b9\u304cUML\u56f3\u30e2\u30c7\u30eb\u5185\u3067\u3069\u306e\u3088\u3046\u306b\u76f8\u4e92\u4f5c\u7528\u3059\u308b\u304b\u3092\u793a\u3059\u306b\u306f\u3001\u5c02\u7528\u306e\u95a2\u4fc2\u6027\u6587\u5b57\u5217\u3092\u4f7f\u3063\u3066\u305d\u308c\u3089\u306eID\u3092\u63a5\u7d9a\u3057\u307e\u3059\u3002Mermaid\u3067\u306f\u3001\u7dda\u306e\u65b9\u5411\u304c\u91cd\u8981\u3067\u3059\u3002\u77e2\u5370\u306e\u5148\u7aef\u306f\u89aa\u30af\u30e9\u30b9\u307e\u305f\u306f\u30b3\u30f3\u30c6\u30ca\u30af\u30e9\u30b9\u3092\u5411\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u7d99\u627f \/ \u4e00\u822c\u5316\uff08\u7834\u7dda\u307e\u305f\u306f\u5b9f\u7dda\u306e\u77e2\u5370\uff09:<\/strong> <code>Child --|&gt; Parent<\/code> \uff08\u300c\u306f\u301c\u3067\u3042\u308b\u300d\u95a2\u4fc2\u3092\u8868\u3059\uff09\u3002<\/li>\n<li><strong>\u5b9f\u73fe \/ \u5b9f\u88c5:<\/strong> <code>Class ..|&gt; Interface<\/code> \uff08\u30af\u30e9\u30b9\u304c\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u5951\u7d04\u3092\u5c65\u884c\u3059\u308b\u3053\u3068\u3092\u8868\u3059\uff09\u3002<\/li>\n<li><strong>\u5408\u6210\uff08\u5b9f\u7dda\u306e\u30c0\u30a4\u30e4\u30e2\u30f3\u30c9\uff09:<\/strong> <code>Child --* Parent<\/code> \uff08\u53b3\u5bc6\u306a\u6240\u6709\u95a2\u4fc2\u3092\u8868\u3059\uff1b\u89aa\u304c\u6b7b\u306c\u3068\u5b50\u3082\u6b7b\u306c\uff09\u3002<\/li>\n<li><strong>\u96c6\u7d04\uff08\u660e\u78ba\u306a\u30c0\u30a4\u30e4\u30e2\u30f3\u30c9\uff09:<\/strong> <code>Child --o Parent<\/code> \uff08\u7de9\u3044\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u95a2\u4fc2\u3092\u8868\u3059\uff1b\u5b50\u306f\u72ec\u7acb\u3057\u3066\u5b58\u5728\u3067\u304d\u308b\uff09\u3002<\/li>\n<li><strong>\u4f9d\u5b58\u95a2\u4fc2:<\/strong> <code>ClassA ..&gt; ClassB<\/code> \uff08\u4e00\u6642\u7684\u306a\u5b9f\u884c\u6642\u53c2\u7167\u3092\u8868\u3059\uff09\u3002<\/li>\n<\/ul>\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:eNpLzkksLnbJTEwvSszl5VIAAufEIgVd3Ro7hbDUjMzknFQFKwUlz7yM1KLMkmKFtKL8XCWIOte89My8VKBSLbAWkKpihYLEohKF\/DQlAHyeGXI=\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/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:eNpLzkksLnbJTEwvSszl5VIAAufEIgVd3Ro7hbDUjMzknFQFKwWl59tmPuvc\/7hx5uOmbiWIMte89My8VKBKLbAOoKKXzSueTm583Lj8cWMTSB0AvTUjDw==\" \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\">classDiagram\r\n    Car --|&gt; Vehicle : \"\u7d99\u627f\u3059\u308b\"\r\n    Engine --* Car : \"\u90e8\u54c1\u3067\u3042\u308b\"<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzkksLnbJTEwvSszl5VIAAufEIgVd3Ro7hbDUjMzknFQFKwWl59tmPuvc\/7hx5uOmbiWIMte89My8VKBKLbAOoKKXzSueTm583Lj8cWMTSB0AvTUjDw==\" \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:eNpLzkksLnbJTEwvSszl5VIAAufEIgVd3Ro7hbDUjMzknFQFKwUlz7yM1KLMkmKFtKL8XCWIOte89My8VKBSLbAWkKpihYLEohKF\/DQlAHyeGXI=\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"wCxJKDf\"><img alt=\"\" class=\"alignnone size-full wp-image-620\" decoding=\"async\" height=\"416\" sizes=\"(max-width: 123px) 100vw, 123px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1903163fbcf.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1903163fbcf.png 123w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1903163fbcf-89x300.png 89w\" width=\"123\"\/><\/p>\n<h2>\u30af\u30ea\u30fc\u30f3\u306a\u30af\u30e9\u30b9\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h2>\n<ul>\n<li><strong>\u30af\u30e9\u30b9\u30e1\u30f3\u30d0\u30fc\u3092\u8996\u899a\u7684\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3059\u308b\uff1a<\/strong> \u5e38\u306b\u30af\u30e9\u30b9\u5909\u6570\u3092\u672c\u4f53\u30d6\u30ed\u30c3\u30af\u306e\u4e0a\u90e8\u306b\u3001\u95a2\u6570\u3092\u4e0b\u90e8\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306f\u6a19\u6e96\u7684\u306aIDE\u306e\u30af\u30e9\u30b9\u69cb\u9020\u3068\u4e00\u81f4\u3057\u3001\u56f3\u3092\u5373\u5ea7\u306b\u8aad\u307f\u3084\u3059\u304f\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u623b\u308a\u5024\u306e\u578b\u3092\u6307\u5b9a\u3059\u308b\uff1a<\/strong> \u30e1\u30bd\u30c3\u30c9\u3092\u5ba3\u8a00\u3059\u308b\u969b\u306f\u3001\u623b\u308a\u5024\u306e\u578b\u3092\u30e1\u30bd\u30c3\u30c9\u884c\u306e\u672b\u5c3e\u306b\u8ffd\u52a0\u3059\u308b\uff08\u4f8b\uff1a<code>+fetchData() DataSet<\/code>\uff09\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u30c1\u30fc\u30e0\u306b\u6b63\u78ba\u306a\u5b9f\u88c5\u306e\u6587\u8108\u3092\u63d0\u4f9b\u3059\u308b\u3002<\/li>\n<li><strong>\u591a\u91cd\u6027\u3092\u660e\u78ba\u306b\u4fdd\u3064\uff1a<\/strong> \u914d\u5217\u306e\u6570\u3084\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u30b5\u30a4\u30ba\u3092\u793a\u3059\u305f\u3081\u306b\u3001\u591a\u91cd\u6027\u306e\u30c6\u30ad\u30b9\u30c8\u6587\u5b57\u5217\u3092\u95a2\u4fc2\u884c\u306e\u30e9\u30c3\u30d1\u30fc\u306b\u76f4\u63a5\u8ffd\u52a0\u3059\u308b\uff08\u4f8b\uff1a<code>Customer \"1\" --o \"many\" Order<\/code>).<\/li>\n<\/ul>\n<h2>\u5b9f\u969b\u306eMermaid.js\u30af\u30e9\u30b9\u56f3\u306e\u4f8b<\/h2>\n<h3>\u4f8b1\uff1a\u6c7a\u6e08\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u30c9\u30e1\u30a4\u30f3\u30b5\u30d6\u30b7\u30b9\u30c6\u30e0\uff08\u30ab\u30d7\u30bb\u30eb\u5316\u3068\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff09<\/h3>\n<p>\u3053\u306e\u6a5f\u80fd\u7684\u306a\u30d6\u30eb\u30fc\u30d7\u30ea\u30f3\u30c8\u306f\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u6c7a\u6e08\u30c9\u30e1\u30a4\u30f3\u30b5\u30fc\u30d3\u30b9\u3092\u30e2\u30c7\u30eb\u5316\u3057\u3066\u3044\u308b\u3002\u30a2\u30af\u30bb\u30b9\u4fee\u98fe\u5b50\u306e\u4f7f\u3044\u65b9\u3001\u30af\u30e9\u30b9\u30e1\u30f3\u30d0\u30fc\u306e\u30b0\u30eb\u30fc\u30d7\u5316\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u95a2\u4fc2\u306e\u660e\u78ba\u306a\u5b9f\u88c5\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u308b\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:eNq1UUFqw0AMvAfyhyWnhNI8IASfAsX0Ymj7AHVXcRd2pUUrtzVp\/147ToiTlNJLdBzNSDOSDZDzxkMtEKcT05XtEVNBG5G0EraYM4vZDd2+1mtPirIFi0Vxgu\/SQD5I5xC5IV2YV+aAQCOi4LYhd+TpJ5XugvY9nYzdPKn4hA+g+AHt2Mp936HaQPKP2F7jSC5x5\/ZFwm2M7pcFrp8FKINVzzTPCtrkhXln736N0w2sIPwRJ6LYNyAt3Y3Pe37Y5fKruP78yszKmAL2aJ4NuvME\/9H9AGFPu8s=\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/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:eNpLzkksLnbJTEwvSszl5VIAgmSQiEJAYmVual5JQFF+cmpxcX6RQjVEFgRsbDLzSlKL0hKTU+3sEMLaBRDFUK0aibn5pXklmgpJ+fk5qYl5SAqLUtNK81Jg6koq8jxT0JTV8nIhuya4pCizINU9sSS1PLES2Sm6IJm8dIXEgkzv1EpM8dS8lIJ8oGtDi3Jo41CwZTn56SFFiXnFicklmfl5GsUliSWlxZoKZfmZKVi9AzQwIDEHj3dyU4uSMxLzSjxTaBy8qAGrp1djhxnzVgpKT9fNf7G49XHjzMdN3UoQnah+IE4nAFKBw+0=\" \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\">classDiagram\r\n    class PaymentProcessor {\r\n        &lt;&lt;interface&gt;&gt;\r\n        +processPayment(amount) boolean\r\n        +refundPayment(txnId) boolean\r\n    }\r\n\r\n    class StripeGateway {\r\n        -String apiKey\r\n        -String endpointUrl\r\n        +processPayment(amount) boolean\r\n        +refundPayment(txnId) boolean\r\n        -logTransaction(status) void\r\n    }\r\n\r\n    class PayPalGateway {\r\n        -String merchantId\r\n        +processPayment(amount) boolean\r\n        +refundPayment(txnId) boolean\r\n    }\r\n\r\n    StripeGateway ..|&gt; PaymentProcessor : \"\u5b9f\u88c5\u3059\u308b\"\r\n    PayPalGateway ..|&gt; PaymentProcessor : \"\u5b9f\u88c5\u3059\u308b\"<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzkksLnbJTEwvSszl5VIAgmSQiEJAYmVual5JQFF+cmpxcX6RQjVEFgRsbDLzSlKL0hKTU+3sEMLaBRDFUK0aibn5pXklmgpJ+fk5qYl5SAqLUtNK81Jg6koq8jxT0JTV8nIhuya4pCizINU9sSS1PLES2Sm6IJm8dIXEgkzv1EpM8dS8lIJ8oGtDi3Jo41CwZTn56SFFiXnFicklmfl5GsUliSWlxZoKZfmZKVi9AzQwIDEHj3dyU4uSMxLzSjxTaBy8qAGrp1djhxnzVgpKT9fNf7G49XHjzMdN3UoQnah+IE4nAFKBw+0=\" \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:eNq1UUFqw0AMvAfyhyWnhNI8IASfAsX0Ymj7AHVXcRd2pUUrtzVp\/147ToiTlNJLdBzNSDOSDZDzxkMtEKcT05XtEVNBG5G0EraYM4vZDd2+1mtPirIFi0Vxgu\/SQD5I5xC5IV2YV+aAQCOi4LYhd+TpJ5XugvY9nYzdPKn4hA+g+AHt2Mp936HaQPKP2F7jSC5x5\/ZFwm2M7pcFrp8FKINVzzTPCtrkhXln736N0w2sIPwRJ6LYNyAt3Y3Pe37Y5fKruP78yszKmAL2aJ4NuvME\/9H9AGFPu8s=\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"dKUznWo\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-621\" decoding=\"async\" height=\"480\" loading=\"lazy\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19031bd8def.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19031bd8def.png 751w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a19031bd8def-300x192.png 300w\" width=\"751\"\/><\/p>\n<p><strong>\u69cb\u6587\u306e\u5206\u89e3\uff1a<\/strong> <code>&lt;&lt;interface&gt;&gt;<\/code> \u30bf\u30b0\u306f `PaymentProcessor` \u304c\u9ad8\u30ec\u30d9\u30eb\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u5951\u7d04\u3067\u3042\u308b\u3053\u3068\u3092\u660e\u78ba\u306b\u793a\u3057\u3066\u3044\u308b\u30022\u3064\u306e\u5177\u4f53\u7684\u306a\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u5b9f\u88c5\u30af\u30e9\u30b9\u306f\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30d5\u30a3\u30fc\u30eb\u30c9\uff08<code>-apiKey<\/code>\uff09\u3092\u6a5f\u5bc6\u8cc7\u683c\u60c5\u5831\u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u4e00\u65b9\u3067\u3001\u516c\u958b\u3055\u308c\u305f\u652f\u6255\u3044\u30eb\u30fc\u30c1\u30f3\uff08<code>+processPayment<\/code>\uff09\u3092\u5b9f\u73fe\u77e2\u5370\uff08<code>..|&gt;<\/code>).<\/p>\n<h3>\u4f8b2\uff1a\u4f01\u696d\u5411\u3051\u6ce8\u6587\u51e6\u7406\u30a8\u30f3\u30b8\u30f3\uff08\u7d44\u6210\u3068\u591a\u91cd\u6027\uff09<\/h3>\n<p>\u3053\u306e\u9ad8\u5ea6\u306a\u30b7\u30b9\u30c6\u30e0\u30d6\u30eb\u30fc\u30d7\u30ea\u30f3\u30c8\u306f\u3001\u8907\u96d1\u306ae\u30b3\u30de\u30fc\u30b9\u6ce8\u6587\u7ba1\u7406\u30b9\u30ad\u30fc\u30de\u3092\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3066\u304a\u308a\u3001\u8907\u6570\u306e\u76f8\u4e92\u63a5\u7d9a\u3055\u308c\u305f\u30af\u30e9\u30b9\u9593\u3067\u69cb\u9020\u7684\u6240\u6709\u95a2\u4fc2\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6570\u3092\u6587\u66f8\u5316\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u308b\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:eNp1UctqAzEMvAfyD8KnNmEDufZQKJtLTi2k\/QDVFqnBj62spYTQf6\/3kcTbbX2wYEbjGcnaYUo7i0dGv1xAPrpDoG6TRE8M5wHtztoGAT0Se1MQB2EbjhDQU4E2DjU9syG+u4e+DuT3clFa9czMJ3boxGSHQmDyVTPlu6Cq0T\/riAO6g6C0qZBqdLp1WfQaBV1OY2L77uj\/OHshP4tkMzhJ1IGfLQaxcirg4XFo2Gp6IX4LVv50ejKGKdfzfJNJmEjmuJ46jWgTUx6rjub3RNdfVFsFVRVBeQwnNa78AVT8CkkNvbe51XazWXX9q153bdbRZye6CC7xh7cfb33pwzYJJKofTEiiUg==\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/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:eNp1kc9KAzEQxu+FvkPISStb6NWDINtLTwrVBxiToQSyyZrMHkoRWqHQUgSvgncfrLjQtzD7R3fX1Rwm8Pvy5ZtJhAbvpwoWDpLhgIUlCsLizJNN0LFVRYt1oQwxUQsz2RLm5JRZMAMJtmiqQeCNk+jOzlm5V+LTcNCOKpVeji1oJ2QKhEyGEjsMtSVFdX7woTOg5wSU+ZZVgBaZDqY7S6BDN9JmDxr\/b2dGmPRaUgF2OirgYwaGFC1buLqcpU4JvEV3bxT9mXQtpcOwr\/ov6ckhUp+LblJNU+vDWLGVvyf6+UU+4SyKLOMJmCWvn\/yS8Xy\/zt\/3x83b8fnAK08zP5+Mx6PCNyr9jenjkO9eO6bvUaqcq+bsaftyWm8+tzv+BfVNr7k=\" \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\">classDiagram\r\n    class Customer {\r\n        +int customerId\r\n        +String name\r\n        +placeOrder() Order\r\n    }\r\n\r\n    class Order {\r\n        +int orderId\r\n        +Date dateCreated\r\n        -String internalStatus\r\n        +calculateTotal() double\r\n    }\r\n\r\n    class OrderItem {\r\n        +int itemId\r\n        +int quantity\r\n        +double pricePerUnit\r\n    }\r\n\r\n    class Address {\r\n        +String street\r\n        +String city\r\n        +String postalCode\r\n    }\r\n\r\n    Customer \"1\" --o \"many\" Order : \"\u6240\u6709\u3059\u308b\"\r\n    OrderItem \"1..*\" --* \"1\" Order : \"\u69cb\u6210\u3059\u308b\"\r\n    Address \"1\" --&gt; Order : \"\u914d\u9001\u5148\"<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNp1kc9KAzEQxu+FvkPISStb6NWDINtLTwrVBxiToQSyyZrMHkoRWqHQUgSvgncfrLjQtzD7R3fX1Rwm8Pvy5ZtJhAbvpwoWDpLhgIUlCsLizJNN0LFVRYt1oQwxUQsz2RLm5JRZMAMJtmiqQeCNk+jOzlm5V+LTcNCOKpVeji1oJ2QKhEyGEjsMtSVFdX7woTOg5wSU+ZZVgBaZDqY7S6BDN9JmDxr\/b2dGmPRaUgF2OirgYwaGFC1buLqcpU4JvEV3bxT9mXQtpcOwr\/ov6ckhUp+LblJNU+vDWLGVvyf6+UU+4SyKLOMJmCWvn\/yS8Xy\/zt\/3x83b8fnAK08zP5+Mx6PCNyr9jenjkO9eO6bvUaqcq+bsaftyWm8+tzv+BfVNr7k=\" \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:eNp1UctqAzEMvAfyD8KnNmEDufZQKJtLTi2k\/QDVFqnBj62spYTQf6\/3kcTbbX2wYEbjGcnaYUo7i0dGv1xAPrpDoG6TRE8M5wHtztoGAT0Se1MQB2EbjhDQU4E2DjU9syG+u4e+DuT3clFa9czMJ3boxGSHQmDyVTPlu6Cq0T\/riAO6g6C0qZBqdLp1WfQaBV1OY2L77uj\/OHshP4tkMzhJ1IGfLQaxcirg4XFo2Gp6IX4LVv50ejKGKdfzfJNJmEjmuJ46jWgTUx6rjub3RNdfVFsFVRVBeQwnNa78AVT8CkkNvbe51XazWXX9q153bdbRZye6CC7xh7cfb33pwzYJJKofTEiiUg==\" 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>VPasCode\u3067Mermaid\u3092\u7de8\u96c6<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"nhNYQKB\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-622\" decoding=\"async\" height=\"450\" loading=\"lazy\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190321054b5.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190321054b5.png 731w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a190321054b5-300x185.png 300w\" width=\"731\"\/><\/p>\n<p><strong>\u69cb\u6587\u306e\u5206\u89e3\uff1a<\/strong> \u3053\u306e\u4f8b\u306f\u3001\u96c6\u7d04\u3068\u69cb\u6210\u306e\u9055\u3044\u3092\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u7dda\u306e\u30c0\u30a4\u30e4\u30e2\u30f3\u30c9\u77e2\u5370\uff08<code>--*<\/code>\uff09\u306f\u3001`OrderItem`\u304c`Order`\u306b\u5f37\u304f\u7d50\u5408\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\uff08\u6ce8\u6587\u304c\u524a\u9664\u3055\u308c\u308b\u3068\u3001\u305d\u306e\u500b\u5225\u306e\u884c\u9805\u76ee\u3082\u7834\u68c4\u3055\u308c\u307e\u3059\uff09\u3002\u9006\u306b\u3001\u7a7a\u6d1e\u306e\u30c0\u30a4\u30e4\u30e2\u30f3\u30c9\u77e2\u5370\uff08<code>--o<\/code>\uff09\u306f\u3001`Customer`\u304c\u8907\u6570\u306e\u6ce8\u6587\u3092\u6240\u6709\u3057\u3066\u3044\u308b\u304c\u3001\u4e21\u65b9\u306e\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u306f\u72ec\u7acb\u3057\u3066\u5b58\u5728\u3067\u304d\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u591a\u91cd\u6027\u6587\u5b57\u5217\uff08\u4f8b\uff1a<code>\"1..*\"<\/code>\uff09\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u95a2\u4fc2\u8981\u4ef6\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30af\u30e9\u30b9\u56f3\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f A \u30af\u30e9\u30b9\u56f3\u306f\u69cb\u9020\u7684\u306a UML\u56f3\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u30bd\u30d5\u30c8&#8230;<\/p>\n","protected":false},"author":4,"featured_media":2115,"parent":0,"menu_order":2,"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-2114","ld_docs","type-ld_docs","status-publish","has-post-thumbnail","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 Class Diagram Syntax | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Document code structures and object relationships using Mermaid class diagrams 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\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mermaid Class Diagram Syntax | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Document code structures and object relationships using Mermaid class diagrams in VPasCode, a free diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/ja\/wp-content\/uploads\/sites\/8\/2026\/05\/img_6a190321054b5-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"731\" \/>\n\t<meta property=\"og:image:height\" content=\"450\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data1\" content=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/docs\\\/vpascode-docs\\\/mermaid-js-class-diagram-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/docs\\\/vpascode-docs\\\/mermaid-js-class-diagram-syntax-guide\\\/\",\"name\":\"Mermaid Class Diagram Syntax | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/docs\\\/vpascode-docs\\\/mermaid-js-class-diagram-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/docs\\\/vpascode-docs\\\/mermaid-js-class-diagram-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2026\\\/05\\\/img_6a190321054b5-1.png\",\"datePublished\":\"2026-05-26T08:05:43+00:00\",\"description\":\"Document code structures and object relationships using Mermaid class diagrams in VPasCode, a free diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/docs\\\/vpascode-docs\\\/mermaid-js-class-diagram-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/docs\\\/vpascode-docs\\\/mermaid-js-class-diagram-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/docs\\\/vpascode-docs\\\/mermaid-js-class-diagram-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2026\\\/05\\\/img_6a190321054b5-1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2026\\\/05\\\/img_6a190321054b5-1.png\",\"width\":731,\"height\":450},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/docs\\\/vpascode-docs\\\/mermaid-js-class-diagram-syntax-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mermaid.js \u30af\u30e9\u30b9\u56f3\u306e\u69cb\u6587\u30ac\u30a4\u30c9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ja\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mermaid Class Diagram Syntax | VPasCode Text to Diagram Guide","description":"Document code structures and object relationships using Mermaid class diagrams 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\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/","og_locale":"ja_JP","og_type":"article","og_title":"Mermaid Class Diagram Syntax | VPasCode Text to Diagram Guide","og_description":"Document code structures and object relationships using Mermaid class diagrams in VPasCode, a free diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/","og_site_name":"VPasCode","og_image":[{"width":731,"height":450,"url":"https:\/\/www.vpascode.com\/ja\/wp-content\/uploads\/sites\/8\/2026\/05\/img_6a190321054b5-1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/","url":"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/","name":"Mermaid Class Diagram Syntax | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/ja\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/ja\/wp-content\/uploads\/sites\/8\/2026\/05\/img_6a190321054b5-1.png","datePublished":"2026-05-26T08:05:43+00:00","description":"Document code structures and object relationships using Mermaid class diagrams in VPasCode, a free diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/ja\/wp-content\/uploads\/sites\/8\/2026\/05\/img_6a190321054b5-1.png","contentUrl":"https:\/\/www.vpascode.com\/ja\/wp-content\/uploads\/sites\/8\/2026\/05\/img_6a190321054b5-1.png","width":731,"height":450},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/ja\/docs\/vpascode-docs\/mermaid-js-class-diagram-syntax-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/ja\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/ja\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"Mermaid.js \u30af\u30e9\u30b9\u56f3\u306e\u69cb\u6587\u30ac\u30a4\u30c9"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/ja\/#website","url":"https:\/\/www.vpascode.com\/ja\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/ja\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/ja\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/ja\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/ja\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.vpascode.com\/ja\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/ja\/wp-content\/uploads\/sites\/8\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/ja\/wp-content\/uploads\/sites\/8\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/ja\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/ja\/wp-json\/wp\/v2\/ld_docs\/2114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/ja\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/ja\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/ja\/wp-json\/wp\/v2\/users\/4"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/ja\/wp-json\/wp\/v2\/media\/2115"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/ja\/wp-json\/wp\/v2\/media?parent=2114"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/ja\/wp-json\/wp\/v2\/ld_collection?post=2114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}