{"id":77,"date":"2026-05-26T07:18:40","date_gmt":"2026-05-26T07:18:40","guid":{"rendered":"https:\/\/www.vpascode.com\/cn\/docs\/uncategorized\/plantuml-playbook\/plantuml-object-diagram-guide\/"},"modified":"2026-07-30T01:19:31","modified_gmt":"2026-07-30T01:19:31","slug":"plantuml-object-diagram-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/","title":{"rendered":"PlantUML Object Diagram Syntax Guide"},"content":{"rendered":"<h2>What is an Object Diagram?<\/h2>\n<p>An <strong>Object Diagram<\/strong> is a structural <strong>UML diagram<\/strong> that acts as a concrete, real-time snapshot of your application state. While a Class Diagram outlines the abstract blueprints, data types, and structural rules of a system, an object diagram visualizes a live execution instance at a specific point in time. It models actual objects instantiation, displays the exact values assigned to their fields, and highlights the specific linkages that exist between those instances during runtime.<\/p>\n<p>This specific <strong>UML diagram type<\/strong> is incredibly valuable for debugging complex data structures, explaining highly nested relation states (such as parent-child tree graphs), or verifying that an engineering design pattern behaves as expected under specific edge-case variables. With <strong>VPasCode<\/strong>, you can script out live object relations cleanly, bypassing manual box-drawing tools entirely.<\/p>\n<h2>Core Syntax Guide: Elements and Constructs<\/h2>\n<p>To design an accurate, standards-compliant UML object diagram in PlantUML, you need to understand object instantiations, field value assignments, and instance link mappings.<\/p>\n<h3>1. Instantiating Objects (Name vs. Class Types)<\/h3>\n<p>Objects are declared using the <code>object<\/code> keyword. Based on standard UML modeling conventions, you define an object by providing its unique instance name, followed by a colon, and its parent class blueprint type:<\/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:oq_AIaqkKL1ABYqgIiqh2IrEBLAmKd1CJiulpIjHKaWiLaXCBiaiImL90000\" \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\">object \"currentUser : Account\" as activeUser<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#plantuml:oq_AIaqkKL1ABYqgIiqh2IrEBLAmKd1CJiulpIjHKaWiLaXCBiaiImL90000\" \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=\"wYhbQPC\"><img decoding=\"async\" width=\"169\" height=\"38\" class=\"alignnone size-full wp-image-579 \" src=\"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffa37deb7.png\" alt=\"\" \/><\/p>\n<p><em>Pro Tip:<\/em> Always use the <code>as<\/code> keyword to map a long instance name declaration to a short, internal shorthand ID (like <code>activeUser<\/code>) to make drawing linkage lines fast and clean.<\/p>\n<h3>2. Assigning Field States and Run-Time Values<\/h3>\n<p>To populate your objects with test data values, open up a body block using trailing curly braces and write your data key-value allocations on separate lines. Unlike class definitions, do not append data types here\u2014use actual operational values:<\/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:oq_AIaqkKL1AJCdDp7DEB2fHi588piWlACZCImTnbHGIYnMIWGn3XMfUBWKW074yKnHi5PIS7OD2T2qDB0oL83AP9QcvplcbUIL0IMEeK758OeLhHMfk0KWmBJ6dE9MNgnO0\" \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\">object \"adminCart : ShoppingCart\" as cart1 {\r\n    cartId = \"CART-9081\"\r\n    itemCount = 3\r\n    isTaxExempt = false\r\n}<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#plantuml:oq_AIaqkKL1AJCdDp7DEB2fHi588piWlACZCImTnbHGIYnMIWGn3XMfUBWKW074yKnHi5PIS7OD2T2qDB0oL83AP9QcvplcbUIL0IMEeK758OeLhHMfk0KWmBJ6dE9MNgnO0\" \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=\"KqLpArL\"><img decoding=\"async\" width=\"198\" height=\"79\" class=\"alignnone size-full wp-image-580 \" src=\"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffaf90df9.png\" alt=\"\" \/><\/p>\n<h3>3. Mapping Instance Linkages<\/h3>\n<p>Connections between concrete instances in an object diagram represent real-world memory pointers rather than abstract structural patterns. You map these links using solid double dashes (<code>--<\/code>). You can also append string labels to indicate the functional context of the link:<\/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:IqmkoInB3IrEBLBGrLL8JYmgCLImKb3AByyhLaZCIr78pK_9JCjCBLO20000\" \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\">activeUser -- cart1 : \"owns and modifies\"<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#plantuml:IqmkoInB3IrEBLBGrLL8JYmgCLImKb3AByyhLaZCIr78pK_9JCjCBLO20000\" \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=\"MGRNVPk\"><img decoding=\"async\" width=\"177\" height=\"174\" class=\"alignnone size-full wp-image-581 \" src=\"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffba91f83.png\" alt=\"\" \/><\/p>\n<h2>Best Practices for Practical Object Maps<\/h2>\n<ul>\n<li><strong>Focus on What Matters:<\/strong> Do not list every single field from a class definition. Only include key variable values that directly explain the specific runtime state or bug you are trying to illustrate.<\/li>\n<li><strong>Keep Links Neutral:<\/strong> Avoid using inheritance triangles or strict composition diamonds on an object diagram. Use simple, flat relationship lines (<code>--<\/code>) or basic arrow tips (<code>--&gt;<\/code>) to show references.<\/li>\n<li><strong>Align Iterations Horizontally:<\/strong> If you are mapping an array list or sequence of historical objects, use horizontal navigation arrows like <code>-right-&gt;<\/code> to force instances to render cleanly in a single line.<\/li>\n<\/ul>\n<h2>Real-World PlantUML Object Diagram Examples<\/h2>\n<h3>Example 1: Identity Token Session State (Concrete Value Mappings)<\/h3>\n<p>This boilerplate maps a live security authorization state, demonstrating how a single authenticated user links out to multiple specific active machine session instances with distinct data variables.<\/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:TP8nQyCm48LtW_-3qDB99X9kKmSAiLiF6Ke7jrs3B1s96biAbjobzB_tv3WOIgn5qdidtiUTjiwBtWzT6qUs-GBf2KNX0Fx3GKys96o5b7OmdXBXo13adpWYkC9vfyWJOQkCpv8H7Q185NplXUgqeHSFa_pWWbCyl-y-AvH_usZETU2SjkRLDhg5ARg-Q6FqvBDh_7GV2MXTrNLI54MIvrCSnci9RtLmDMviFHdwN2ZLu-FWi9odxE4nPUbzjW3q0kxaxNcPY2yJbMMPC7Q3g1CoC6MtcDOypRAK8TYANvdkI8NzQrhjZgJ7OMZiSQlDIHp0nT4ubIIPMxGXL0p-25WeXGT5R9Z2lpA-KBO5e_17_040\" \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\nobject \"targetUser : UserAccount\" as user {\r\n    userId = 1042\r\n    username = \"dev_admin\"\r\n    status = \"ACTIVE\"\r\n}\r\n\r\nobject \"sessionMobile : UserSession\" as session1 {\r\n    sessionId = \"SESS-AAA-99\"\r\n    deviceOS = \"iOS 17\"\r\n    ipAddress = \"192.168.1.54\"\r\n}\r\n\r\nobject \"sessionDesktop : UserSession\" as session2 {\r\n    sessionId = \"SESS-BBB-11\"\r\n    deviceOS = \"macOS 14\"\r\n    ipAddress = \"72.44.12.102\"\r\n}\r\n\r\n' Establish runtime linkages\r\nuser -- session1 : \"authenticated on\"\r\nuser -- session2 : \"authenticated on\"\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#plantuml:TP8nQyCm48LtW_-3qDB99X9kKmSAiLiF6Ke7jrs3B1s96biAbjobzB_tv3WOIgn5qdidtiUTjiwBtWzT6qUs-GBf2KNX0Fx3GKys96o5b7OmdXBXo13adpWYkC9vfyWJOQkCpv8H7Q185NplXUgqeHSFa_pWWbCyl-y-AvH_usZETU2SjkRLDhg5ARg-Q6FqvBDh_7GV2MXTrNLI54MIvrCSnci9RtLmDMviFHdwN2ZLu-FWi9odxE4nPUbzjW3q0kxaxNcPY2yJbMMPC7Q3g1CoC6MtcDOypRAK8TYANvdkI8NzQrhjZgJ7OMZiSQlDIHp0nT4ubIIPMxGXL0p-25WeXGT5R9Z2lpA-KBO5e_17_040\" \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=\"gpqUIIy\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"233\" class=\"alignnone size-full wp-image-582 \" src=\"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffc981a53.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffc981a53.png 470w, https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffc981a53-300x149.png 300w\" sizes=\"(max-width: 470px) 100vw, 470px\" \/><\/p>\n<p><strong>Syntax Breakdown:<\/strong> This layout captures a definitive scenario in production code: one specific user record (ID 1042) driving two completely separate runtime session instances simultaneously. Each session container tracks its own isolated metadata layout parameters.<\/p>\n<h3>Example 2: E-Commerce Invoice Fulfillment State (Multi-Entity Maps)<\/h3>\n<p>This advanced system blueprint maps a completed financial transaction graph. It charts exactly how order records, transaction logs, and warehouse packages relate to one another at a specific point in time.<\/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:ZLDDQnin4BqR_1-4S-Z9YtURXgoXOCVD8VJBi7KFkHIjD5uhsPMCD7AobFxtZhHo4eoXtOkOUO_t7ZEp2uVSek_QySZK3o2GJMhVWrrRirKji3bRUOUc0pjXt36H2lPxF6BqGSTLopwooGFNa4a3YzZ9XEac0mCLiOdmysvDdJ_ZqQiH5wWEyDrAOinPVAE9YPta48jllgi7cOkop8iYQJjVeq4U0kINPLQMGrjuQq6BFl0trQTJMuTMxU67vTg514QJ-HUG3TXRZRQF4TfO7pDOs49GX3iPDCNkr_klX-ldbABX24-yhv2ZTm6lDglLRLKTGm8YoIqnGCMik9hEFaoBgzDKUouUUGDB2bFjrBu3ZJ69eo8_1a5BBAMRbP4GvFBxiYoNopnP2Mvj6lTcVVH_0jNiy7CJXfHTddUzEUTQ_CEr-4_NMNQTND-n2gqNw2tj39v1-3Z-Lkb7DnwztDPqcavWJiloTQSGGPBkq2GqROVWhTSI9Alxj_0mieYsTCJ4PWV5Jnd5ESO2jAIVuIy0\" \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\nobject \"buyerProfile : Customer\" as customer {\r\n    email = \"jane.doe@email.com\"\r\n    tier = \"VIP\"\r\n}\r\n\r\nobject \"activeOrder : Order\" as order {\r\n    orderNumber = \"#99122\"\r\n    subtotal = 149.99\r\n    currency = \"USD\"\r\n}\r\n\r\nobject \"stripeTransaction : LedgerEntry\" as ledger {\r\n    referenceId = \"ch_3Mv8x\"\r\n    gatewayStatus = \"SUCCESS\"\r\n    settledAt = \"2026-05-26\"\r\n}\r\n\r\nobject \"packageA : Shipment\" as ship1 {\r\n    trackingCode = \"1Z999AA1\"\r\n    carrier = \"UPS\"\r\n    weightKg = 1.4\r\n}\r\n\r\nobject \"packageB : Shipment\" as ship2 {\r\n    trackingCode = \"1Z999AA2\"\r\n    carrier = \"UPS\"\r\n    weightKg = 0.8\r\n}\r\n\r\n' Structural execution links\r\ncustomer -- order : \"submitted\"\r\norder -- ledger : \"funded by\"\r\norder -- ship1 : \"fulfilled via\"\r\norder -- ship2 : \"fulfilled via\"\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#plantuml:ZLDDQnin4BqR_1-4S-Z9YtURXgoXOCVD8VJBi7KFkHIjD5uhsPMCD7AobFxtZhHo4eoXtOkOUO_t7ZEp2uVSek_QySZK3o2GJMhVWrrRirKji3bRUOUc0pjXt36H2lPxF6BqGSTLopwooGFNa4a3YzZ9XEac0mCLiOdmysvDdJ_ZqQiH5wWEyDrAOinPVAE9YPta48jllgi7cOkop8iYQJjVeq4U0kINPLQMGrjuQq6BFl0trQTJMuTMxU67vTg514QJ-HUG3TXRZRQF4TfO7pDOs49GX3iPDCNkr_klX-ldbABX24-yhv2ZTm6lDglLRLKTGm8YoIqnGCMik9hEFaoBgzDKUouUUGDB2bFjrBu3ZJ69eo8_1a5BBAMRbP4GvFBxiYoNopnP2Mvj6lTcVVH_0jNiy7CJXfHTddUzEUTQ_CEr-4_NMNQTND-n2gqNw2tj39v1-3Z-Lkb7DnwztDPqcavWJiloTQSGGPBkq2GqROVWhTSI9Alxj_0mieYsTCJ4PWV5Jnd5ESO2jAIVuIy0\" \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=\"BBTWhSP\"><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"371\" class=\"alignnone size-full wp-image-583 \" src=\"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffd880143.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffd880143.png 732w, https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffd880143-300x152.png 300w\" sizes=\"(max-width: 732px) 100vw, 732px\" \/><\/p>\n<p><strong>Syntax Breakdown:<\/strong> This template provides a highly structured overview of a complex system state. It shows a single order linked to a successful checkout transaction log, and split into two distinct physical shipment files. This level of detail makes it an excellent blueprint for auditing data structures and system processes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is an Object Diagram? An Object Dia&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":47,"menu_order":6,"template":"","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"ld_collection":[14],"class_list":["post-77","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 Object Diagram | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Illustrate system instances and runtime structures with PlantUML object diagrams in VPasCode, a web 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\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PlantUML Object Diagram | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Illustrate system instances and runtime structures with PlantUML object diagrams in VPasCode, a web diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-30T01:19:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffa37deb7.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\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\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-object-diagram-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-object-diagram-syntax-guide\\\/\",\"name\":\"PlantUML Object Diagram | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-object-diagram-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-object-diagram-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/05\\\/img_6a18ffa37deb7.png\",\"datePublished\":\"2026-05-26T07:18:40+00:00\",\"dateModified\":\"2026-07-30T01:19:31+00:00\",\"description\":\"Illustrate system instances and runtime structures with PlantUML object diagrams in VPasCode, a web diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-object-diagram-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-object-diagram-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-object-diagram-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/05\\\/img_6a18ffa37deb7.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2026\\\/05\\\/img_6a18ffa37deb7.png\",\"width\":169,\"height\":38},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/plantuml-object-diagram-syntax-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PlantUML Playbook\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/cn\\\/docs\\\/vpascode-docs\\\/plantuml-playbook\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"PlantUML Object Diagram Syntax Guide\"}]},{\"@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\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PlantUML Object Diagram | VPasCode Text to Diagram Guide","description":"Illustrate system instances and runtime structures with PlantUML object diagrams in VPasCode, a web 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\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/","og_locale":"zh_CN","og_type":"article","og_title":"PlantUML Object Diagram | VPasCode Text to Diagram Guide","og_description":"Illustrate system instances and runtime structures with PlantUML object diagrams in VPasCode, a web diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/","og_site_name":"VPasCode","article_modified_time":"2026-07-30T01:19:31+00:00","og_image":[{"url":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffa37deb7.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/","url":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/","name":"PlantUML Object Diagram | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffa37deb7.png","datePublished":"2026-05-26T07:18:40+00:00","dateModified":"2026-07-30T01:19:31+00:00","description":"Illustrate system instances and runtime structures with PlantUML object diagrams in VPasCode, a web diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffa37deb7.png","contentUrl":"https:\/\/www.vpascode.com\/cn\/wp-content\/uploads\/sites\/3\/2026\/05\/img_6a18ffa37deb7.png","width":169,"height":38},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/plantuml-object-diagram-syntax-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/cn\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/cn\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"PlantUML Playbook","item":"https:\/\/www.vpascode.com\/cn\/docs\/vpascode-docs\/plantuml-playbook\/"},{"@type":"ListItem","position":4,"name":"PlantUML Object Diagram Syntax Guide"}]},{"@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\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_docs\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/users\/4"}],"up":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_docs\/47"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/cn\/wp-json\/wp\/v2\/ld_collection?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}