{"id":69,"date":"2026-05-26T07:01:24","date_gmt":"2026-05-26T07:01:24","guid":{"rendered":"https:\/\/www.vpascode.com\/fr\/docs\/uncategorized\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/"},"modified":"2026-07-29T08:29:21","modified_gmt":"2026-07-29T08:29:21","slug":"plantuml-class-diagram-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/","title":{"rendered":"PlantUML Class Diagram Syntax Guide"},"content":{"rendered":"<h2>What is a Class Diagram?<\/h2>\n<p>A UML <strong>Class Diagram<\/strong> is the foundational structural blueprint of object-oriented modeling. It maps out a software system by visualizing its classes, their internal attributes (data fields), their methods (functions), and the structural relationships between them. While code bases can become sprawling and hard to parse, a clean class diagram provides engineers with an immediate visual reference of how code objects interact, inherit behaviors, and manage data boundaries.<\/p>\n<p>Using <strong>VPasCode<\/strong>, you can design detailed class layouts entirely in plain text, leaving the layout engineering, box sizing, and line spacing completely to our integrated cloud engines.<\/p>\n<h2>Core Syntax Guide: Elements and Constructs<\/h2>\n<p>To write high-quality class diagrams, you need to understand three core structural markers: defining the class body, assigning visibility modifiers to members, and mapping object relationships.<\/p>\n<h3>1. Declaring Classes and Members<\/h3>\n<p>You declare a standard object blueprint using the <code>class<\/code> keyword. Inside the trailing curly braces, you list your fields and methods on separate lines:<\/p>\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\/#plantuml:Iyv9B2vMS2ujBidFJIroJ4xEByqhKQZcvL80Wk2IeioyT8L4YAXd2efeQcvYPevZIafHQd4nHC8fFpydDJ5F8RFOCRaaionLGvENgnO0\" \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=\"lang-plantuml\"><code data-language=\"plantuml\" class=\"language-plantuml\">class CustomerAccount {\r\n    String accountId\r\n    String emailAddress\r\n    Boolean isActive()\r\n}<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#plantuml:Iyv9B2vMS2ujBidFJIroJ4xEByqhKQZcvL80Wk2IeioyT8L4YAXd2efeQcvYPevZIafHQd4nHC8fFpydDJ5F8RFOCRaaionLGvENgnO0\" \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 id=\"jJoXQKj\"><img decoding=\"async\" width=\"159\" height=\"98\" class=\"alignnone size-full wp-image-556 \" src=\"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f7f4a1288.png\" alt=\"\" \/><\/p>\n<h3>2. Visibility Modifiers (Access Control)<\/h3>\n<p>PlantUML maps standard object-oriented encapsulation rules (public, private, protected, and package-private) using simple text prefixes right before the field or method name:<\/p>\n<ul>\n<li><code>+<\/code> Clear Public access (Accessible by any other class)<\/li>\n<li><code>-<\/code> Strict Private access (Only accessible within this specific class)<\/li>\n<li><code>#<\/code> Protected access (Accessible within this class and its subclasses)<\/li>\n<li><code>~<\/code> Package\/Internal access (Accessible only within the local code module)<\/li>\n<\/ul>\n<h3>3. Defining Object Relationships<\/h3>\n<p>Connecting classes requires specific arrow notations to indicate the structural dependency or composition of your application code:<\/p>\n<ul>\n<li><strong>Inheritance \/ Generalization (Is-A):<\/strong> Uses an open triangle arrow head pointing to the parent class: <code>SubClass --|&gt; ParentClass<\/code><\/li>\n<li><strong>Implementation \/ Realization:<\/strong> Uses a dotted line with an open triangle to show an interface execution: <code>ConcreteClass ..|&gt; IInterface<\/code><\/li>\n<li><strong>Composition (Strict Ownership):<\/strong> Uses a solid diamond to show that the child object cannot exist without the parent container: <code>Parent *-- Child<\/code><\/li>\n<li><strong>Aggregation (Shared Collection):<\/strong> Uses an open diamond to show a temporary collection relationship: <code>Department o-- Employee<\/code><\/li>\n<\/ul>\n<h2>Best Practices for Practical Class Maps<\/h2>\n<ul>\n<li><strong>Separate Layouts with Abstract Classes:<\/strong> Use the <code>abstract class<\/code> or <code>interface<\/code> keywords to visually differentiate your structural boundaries from concrete database models.<\/li>\n<li><strong>Label Multiplicities Early:<\/strong> Always add numerical multiplicities (like <code>\"1\"<\/code> or <code>\"0..*\"<\/code>) on both ends of your relationship arrows to make data constraints explicit for developers.<\/li>\n<li><strong>Control Vertical Spacing:<\/strong> Class diagrams can grow extremely tall. If your layout stretches too far vertically, replace a double dash (<code>--<\/code>) with a single dash (<code>-<\/code>) inside your relationship arrows to force a side-by-side horizontal alignment.<\/li>\n<\/ul>\n<h2>Real-World PlantUML Class Diagram Examples<\/h2>\n<h3>Example 1: E-Commerce Domain Model (Visibility &amp; Encapsulation)<\/h3>\n<p>This blueprint demonstrates standard access modifiers, basic data objects, and basic data multiplicity mappings between core online shopping entities.<\/p>\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\/#plantuml:NP3D2W8n38JlXRv3w4bTTj6h1n7PYo1uM7s0s4OjTDkbFug8xsxzAO8vJeRv9bc6Y3wctd0c3OO0-q0Uxfn1dXgwwBKzGShYMls9PmndKXr9J_6pgc3bd26qS26lZxUDEsax-jgr7L8SS_RWhB2sNlrWLSbrBxNGAcWn4aJTKsxQ3wL3wzB144WqCfdisBc8PbJYtqU8cO2wNe2ODir4V65p48D1IG7GAd1N6mHdIx8gl-09\" \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=\"lang-plantuml\"><code data-language=\"plantuml\" class=\"language-plantuml\">@startuml\r\nclass User {\r\n    - String userId\r\n    - String hashedSecret\r\n    + Boolean verifyLogin(String input)\r\n}\r\n\r\nclass Order {\r\n    + String orderId\r\n    + Date timestamp\r\n    - Double calculateTotal()\r\n}\r\n\r\nUser \"1\" --&gt; \"0..*\" Order : \"places and owns\"\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#plantuml:NP3D2W8n38JlXRv3w4bTTj6h1n7PYo1uM7s0s4OjTDkbFug8xsxzAO8vJeRv9bc6Y3wctd0c3OO0-q0Uxfn1dXgwwBKzGShYMls9PmndKXr9J_6pgc3bd26qS26lZxUDEsax-jgr7L8SS_RWhB2sNlrWLSbrBxNGAcWn4aJTKsxQ3wL3wzB144WqCfdisBc8PbJYtqU8cO2wNe2ODir4V65p48D1IG7GAd1N6mHdIx8gl-09\" \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 id=\"yEsJYYQ\"><img fetchpriority=\"high\" decoding=\"async\" width=\"259\" height=\"273\" class=\"alignnone size-full wp-image-557 \" src=\"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f8074ea12.png\" alt=\"\" \/><\/p>\n<p><strong>Syntax Breakdown:<\/strong> The <code>-<\/code> prefix keeps sensitive fields like credentials strictly private inside the <code>User<\/code> class block, while public access functions use the <code>+<\/code> marker. The connection string explicitly highlights that one user can look up zero or many orders seamlessly.<\/p>\n<h3>Example 2: Advanced Payment Gateway (Inheritance &amp; Interfaces)<\/h3>\n<p>This comprehensive software engineering map showcases how to organize interfaces, class inheritance loops, and complex compositions within a unified framework.<\/p>\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\/#plantuml:jP9DJiCm48Ntbd87Iom8eFG8g2r_Gh2er7A0gJCqLXsFvHc3mi_TSIaHJGixyCv-Ot_FCs_C0b5IwmfblM1y18FwTWPTYrvcaGmoKzIlXT9vdUafaKFm6f8q5EqBJbfANifBIak7sW0t9ttj4zawdmH94Q-JhxdCqdkX2WLBbWX6j770hAV0U0E2pz3rf2CzbsZzIhSOJGDU9i7UORSdegy3PTyFqGsWZbQB29upmf8llwe3T8wWxarisHijxDEh7i2VweBMwF-s0rjuxlCCt6_mx3U0ksh1kl-0pniA8NCkSW2-sVUMHLl1beVlD6ZMbAGyp0RwbVNOltsySPzCXeBJ4Hri9i2D3Rh6p8tRVQ5sPpuQlPqVXgvGmzbKLQxQkLQeOViEzS4FJwlg9yOuPoZ7_mC0\" \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=\"lang-plantuml\"><code data-language=\"plantuml\" class=\"language-plantuml\">@startuml\r\ninterface IPaymentProcessor {\r\n    + Boolean authorizeAmount(Double cash)\r\n    + void captureFunds()\r\n}\r\n\r\nabstract class BaseGateway {\r\n    # String merchantApiKey\r\n    # String endpointUrl\r\n    + void logTransaction(String payload)\r\n}\r\n\r\nclass StripeGateway {\r\n    - String stripeToken\r\n    + Boolean authorizeAmount(Double cash)\r\n    + void captureFunds()\r\n}\r\n\r\nclass PayPalGateway {\r\n    - String paypalEmail\r\n    + Boolean authorizeAmount(Double cash)\r\n    + void captureFunds()\r\n}\r\n\r\nclass ShoppingCart {\r\n    - List items\r\n    + void checkout(IPaymentProcessor engine)\r\n}\r\n\r\n' Structural relationship declarations\r\nBaseGateway ..|&gt; IPaymentProcessor\r\nStripeGateway --|&gt; BaseGateway\r\nPayPalGateway --|&gt; BaseGateway\r\nShoppingCart *-- IPaymentProcessor\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#plantuml:jP9DJiCm48Ntbd87Iom8eFG8g2r_Gh2er7A0gJCqLXsFvHc3mi_TSIaHJGixyCv-Ot_FCs_C0b5IwmfblM1y18FwTWPTYrvcaGmoKzIlXT9vdUafaKFm6f8q5EqBJbfANifBIak7sW0t9ttj4zawdmH94Q-JhxdCqdkX2WLBbWX6j770hAV0U0E2pz3rf2CzbsZzIhSOJGDU9i7UORSdegy3PTyFqGsWZbQB29upmf8llwe3T8wWxarisHijxDEh7i2VweBMwF-s0rjuxlCCt6_mx3U0ksh1kl-0pniA8NCkSW2-sVUMHLl1beVlD6ZMbAGyp0RwbVNOltsySPzCXeBJ4Hri9i2D3Rh6p8tRVQ5sPpuQlPqVXgvGmzbKLQxQkLQeOViEzS4FJwlg9yOuPoZ7_mC0\" \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 id=\"RieZgUQ\"><img decoding=\"async\" width=\"819\" height=\"396\" class=\"alignnone size-full wp-image-558 \" src=\"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f81c9dd3d.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f81c9dd3d.png 819w, https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f81c9dd3d-300x145.png 300w, https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f81c9dd3d-768x371.png 768w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/p>\n<p><strong>Syntax Breakdown:<\/strong> The <code>..|&gt;<\/code> notation establishes that the abstract class implements our primary root interface. The solid triangle lines (<code>--|&gt;<\/code>) route the child gateways cleanly into their base parent class, while the solid diamond (<code>*--<\/code>) declares that a <code>ShoppingCart<\/code> fundamentally owns its payment engine processor during a session lifecycle.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is a Class Diagram? A UML Class Diagram is the foundational structural blueprint of object-oriented modeling. It maps out a software system by visualizing its classes, their internal attributes (data fields), their methods (functions), and the structural relationships between&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":47,"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-69","ld_docs","type-ld_docs","status-publish","hentry","ld_collection-vpascode-docs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PlantUML Class Diagram Syntax | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Build object-oriented software models with PlantUML class diagrams in VPasCode, an intuitive diagram-as-code tool.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PlantUML Class Diagram Syntax | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Build object-oriented software models with PlantUML class diagrams in VPasCode, an intuitive diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-29T08:29:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f7f4a1288.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-class-diagram-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-class-diagram-syntax-guide\\\/\",\"name\":\"PlantUML Class Diagram Syntax | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-class-diagram-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-class-diagram-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/wp-content\\\/uploads\\\/sites\\\/6\\\/2026\\\/05\\\/img_6a18f7f4a1288.png\",\"datePublished\":\"2026-05-26T07:01:24+00:00\",\"dateModified\":\"2026-07-29T08:29:21+00:00\",\"description\":\"Build object-oriented software models with PlantUML class diagrams in VPasCode, an intuitive diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-class-diagram-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-class-diagram-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-class-diagram-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/wp-content\\\/uploads\\\/sites\\\/6\\\/2026\\\/05\\\/img_6a18f7f4a1288.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/wp-content\\\/uploads\\\/sites\\\/6\\\/2026\\\/05\\\/img_6a18f7f4a1288.png\",\"width\":159,\"height\":98},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-class-diagram-syntax-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PlantUML Playbook\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"PlantUML Class Diagram Syntax Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/wp-content\\\/uploads\\\/sites\\\/6\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/wp-content\\\/uploads\\\/sites\\\/6\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PlantUML Class Diagram Syntax | VPasCode Text to Diagram Guide","description":"Build object-oriented software models with PlantUML class diagrams in VPasCode, an intuitive diagram-as-code tool.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/","og_locale":"fr_FR","og_type":"article","og_title":"PlantUML Class Diagram Syntax | VPasCode Text to Diagram Guide","og_description":"Build object-oriented software models with PlantUML class diagrams in VPasCode, an intuitive diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/","og_site_name":"VPasCode","article_modified_time":"2026-07-29T08:29:21+00:00","og_image":[{"url":"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f7f4a1288.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/","url":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/","name":"PlantUML Class Diagram Syntax | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f7f4a1288.png","datePublished":"2026-05-26T07:01:24+00:00","dateModified":"2026-07-29T08:29:21+00:00","description":"Build object-oriented software models with PlantUML class diagrams in VPasCode, an intuitive diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f7f4a1288.png","contentUrl":"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/05\/img_6a18f7f4a1288.png","width":159,"height":98},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-class-diagram-syntax-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/fr\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/fr\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"PlantUML Playbook","item":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-playbook\/"},{"@type":"ListItem","position":4,"name":"PlantUML Class Diagram Syntax Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/fr\/#website","url":"https:\/\/www.vpascode.com\/fr\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/fr\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.vpascode.com\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/fr\/wp-content\/uploads\/sites\/6\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/fr\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/ld_docs\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/users\/4"}],"up":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/ld_docs\/47"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/ld_collection?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}