{"id":2127,"date":"2026-05-26T07:16:09","date_gmt":"2026-05-26T07:16:09","guid":{"rendered":"https:\/\/www.vpascode.com\/fr\/docs\/uncategorized\/plantuml-state-diagram-syntax-guide\/"},"modified":"2026-05-26T07:16:09","modified_gmt":"2026-05-26T07:16:09","slug":"plantuml-state-diagram-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-diagram-syntax-guide\/","title":{"rendered":"Guide de syntaxe des diagrammes d&#8217;\u00e9tat PlantUML"},"content":{"rendered":"<h2>Qu&#8217;est-ce qu&#8217;un diagramme d&#8217;\u00e9tat ?<\/h2>\n<p>Un <strong>diagramme d&#8217;\u00e9tat<\/strong> (souvent appel\u00e9 machine \u00e0 \u00e9tats ou diagramme d&#8217;\u00e9tat) est un diagramme comportemental <strong>diagramme UML<\/strong> qui mod\u00e9lise le cycle de vie d&#8217;un objet syst\u00e8me unique, d&#8217;une entit\u00e9 m\u00e9tier ou d&#8217;un processus en cours d&#8217;ex\u00e9cution. En tant que composant fondamental de la sp\u00e9cification du langage de mod\u00e9lisation unifi\u00e9 (UML), ce type sp\u00e9cifique <strong>type de diagramme UML<\/strong> illustre les diff\u00e9rents \u00e9tats qu&#8217;un objet peut occuper, depuis son instanciation initiale jusqu&#8217;\u00e0 sa destruction finale, ainsi que les \u00e9v\u00e9nements ou conditions sp\u00e9cifiques qui d\u00e9clenchent un changement d&#8217;un \u00e9tat \u00e0 un autre.<\/p>\n<p>Que vous soyez en train de documenter les drapeaux de connexion complexes d&#8217;une connexion WebSocket, les \u00e9tapes de traitement des commandes d&#8217;un mod\u00e8le de paiement e-commerce, ou le comportement d&#8217;un syst\u00e8me mat\u00e9riel autonome, une machine \u00e0 \u00e9tats UML fournit aux d\u00e9veloppeurs logiciels et aux architectes logiciels une maquette claire et sans ambigu\u00eft\u00e9 de la logique r\u00e9active complexe. Avec <strong>VPasCode<\/strong>, vous pouvez instantan\u00e9ment \u00e9crire des transitions d&#8217;\u00e9tat complexes sans vous battre contre l&#8217;alignement des grilles ou les fl\u00e8ches de bordure superpos\u00e9es.<\/p>\n<h2>Guide de syntaxe fondamentale : \u00e9l\u00e9ments et constructions<\/h2>\n<p>Pour \u00e9crire des mises en page de diagrammes d&#8217;\u00e9tat de haute qualit\u00e9 conformes aux normes, vous devez comprendre les points de d\u00e9part et d&#8217;arriv\u00e9e, les d\u00e9finitions d&#8217;\u00e9tats, les transitions d&#8217;\u00e9v\u00e9nements, les \u00e9tats composites imbriqu\u00e9s et les points de choix conditionnels.<\/p>\n<h3>1. \u00c9tats initial et final<\/h3>\n<p>Chaque machine \u00e0 \u00e9tats doit avoir un point d&#8217;entr\u00e9e et, de mani\u00e8re optionnelle, un point terminal. Dans la syntaxe PlantUML, ces \u00e9l\u00e9ments limites sont repr\u00e9sent\u00e9s par un symbole d&#8217;ast\u00e9risque propre entourant un \u00e9l\u00e9ment :<\/p>\n<ul>\n<li><code>[*] --&gt; Nom\u00c9tat<\/code> (D\u00e9finit l&#8217;\u00e9tat de d\u00e9part initial)<\/li>\n<li><code>Nom\u00c9tat --&gt; [*]<\/code> (D\u00e9finit l&#8217;\u00e9tat final terminal)<\/li>\n<\/ul>\n<h3>2. D\u00e9finition des \u00e9tats et des transitions d&#8217;\u00e9v\u00e9nements<\/h3>\n<p>Les \u00e9tats sont d\u00e9clar\u00e9s automatiquement chaque fois qu&#8217;ils sont reli\u00e9s par une fl\u00e8che directionnelle (<code>--&gt;<\/code>). Pour ajouter du contexte \u00e0 une transition, ajoutez deux points (<code>:<\/code>) suivis par l&#8217;\u00e9v\u00e9nement sp\u00e9cifique, le d\u00e9clencheur d&#8217;API ou l&#8217;appel de m\u00e9thode qui provoque le changement d&#8217;\u00e9tat :<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:YzQALT3LjLDmoInEpi_BIqqkIKtXvKBcWQMT8RpCl7G5AmKbg9o6fX8l5v8CaaAWDg2wnDAIZFZYqkJarE9Y9G00\" 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>\u00c9diter Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:YzQALT3LjLDmERmoEJylBpMvvF1ANYva7bZQ6SIhoCpFKx1IK89AQMWgyN8X9E3Am9g0oX9BIpBYYqkJarEBYvK0\" \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 class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">[*] --&gt; D\u00e9connect\u00e9\r\nD\u00e9connect\u00e9 --&gt; Connexion : \"connect()\"\r\nConnexion --&gt; Connect\u00e9 : \"auth_success\"<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:YzQALT3LjLDmERmoEJylBpMvvF1ANYva7bZQ6SIhoCpFKx1IK89AQMWgyN8X9E3Am9g0oX9BIpBYYqkJarEBYvK0\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:YzQALT3LjLDmoInEpi_BIqqkIKtXvKBcWQMT8RpCl7G5AmKbg9o6fX8l5v8CaaAWDg2wnDAIZFZYqkJarE9Y9G00\" 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>\u00c9diter Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"YJmYckH\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-573\" decoding=\"async\" fetchpriority=\"high\" height=\"386\" sizes=\"(max-width: 158px) 100vw, 158px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18feb546e94.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18feb546e94.png 158w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18feb546e94-123x300.png 123w\" width=\"158\"\/><\/p>\n<h3>3. \u00c9tats composites \/ imbriqu\u00e9s<\/h3>\n<p>Les applications complexes pr\u00e9sentent souvent des \u00e9tats individuels qui contiennent leurs propres sous-\u00e9tats imbriqu\u00e9s. Vous pouvez impl\u00e9menter ces structures composites en utilisant le mot-cl\u00e9 <code>\u00e9tat<\/code>suivi d&#8217;une accolade ouvrante :<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:Aov9B4bLS4mkoInB3SyloYukI4nELQZcvL80WcYjM0LTNJi5pvISL8W8Y0KM2gaioCnBLx1IKCfEhImeIYqkLeAeW4h0j85Kb6JcfkQNbW0Lr080\" 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>Modifier Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:Exoo9B54mJ6v9BCiDJo_ABku834vLQ6Qbqi12AArOXLqTUqKF5DoKY4Y81POA3WnipWpLS5AGQaalpGv8rKXiQ2WjFBmobGbY4AeF4mtI67AuPKvYPaAGAeWiRZuy4gWobe0\" \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 class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">\u00e9tat ActiveWorkspace {\r\n    [*] --&gt; Idle\r\n    Idle --&gt; Saisie : \"touche appuy\u00e9e\"\r\n    Saisie --&gt; Idle : \"d\u00e9lai d\u00e9pass\u00e9\"\r\n}<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:Exoo9B54mJ6v9BCiDJo_ABku834vLQ6Qbqi12AArOXLqTUqKF5DoKY4Y81POA3WnipWpLS5AGQaalpGv8rKXiQ2WjFBmobGbY4AeF4mtI67AuPKvYPaAGAeWiRZuy4gWobe0\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:Aov9B4bLS4mkoInB3SyloYukI4nELQZcvL80WcYjM0LTNJi5pvISL8W8Y0KM2gaioCnBLx1IKCfEhImeIYqkLeAeW4h0j85Kb6JcfkQNbW0Lr080\" 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>Modifier Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"hZnVjpF\"><img alt=\"\" class=\"alignnone size-full wp-image-574\" decoding=\"async\" height=\"259\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fec6f2cd1.png\" width=\"167\"\/><\/p>\n<h3>4. Points de choix (branchement conditionnel)<\/h3>\n<p>Lorsqu&#8217;un \u00e9v\u00e9nement se produit, le syst\u00e8me doit souvent \u00e9valuer des indicateurs de donn\u00e9es internes avant de d\u00e9terminer la destination de l&#8217;\u00e9tat suivant. Pour dessiner un losange de choix standard UML, utilisez le jeton de st\u00e9r\u00e9otype <code>&lt;&lt;choix&gt;&gt;<\/code> de st\u00e9r\u00e9otype :<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:Aov9B4bLICv8JSwEBqYip4tDAr6miKdEoCzCJhMpu-NoBqf9BGh8IKnEJL7GrRL3Kscbe5HGb9-SMboieQd4ouKg2L8Ua9YP0bGLdPIOavYNdAfWPwjGab-Ic1EBJR5ROcPEAefo6wXg0000\" 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>Modifier Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:Exoo9B54eUpmogBCjCpKelY2nCpKtDIy4WKRc-IC_CmAEpjUBkVytDp4l9JKWCJYuiChKnLqTUsmwR1IK2eeoazEBIxMq5JYvSAY0gGn8B7oy4gWskZY_9oKL0KxMuMI_9B4d5YS6Wvt9cUa9YDqs40r0000\" \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 class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">\u00e9tat v\u00e9rifier_paiement &lt;&lt;choix&gt;&gt;\r\nCommandePass\u00e9e --&gt; v\u00e9rifier_paiement : \"process()\"\r\nv\u00e9rifier_paiement --&gt; Pay\u00e9 : [solde &gt;= total]\r\nv\u00e9rifier_paiement --&gt; \u00c9chec : [solde &lt; total]<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:Exoo9B54eUpmogBCjCpKelY2nCpKtDIy4WKRc-IC_CmAEpjUBkVytDp4l9JKWCJYuiChKnLqTUsmwR1IK2eeoazEBIxMq5JYvSAY0gGn8B7oy4gWskZY_9oKL0KxMuMI_9B4d5YS6Wvt9cUa9YDqs40r0000\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:Aov9B4bLICv8JSwEBqYip4tDAr6miKdEoCzCJhMpu-NoBqf9BGh8IKnEJL7GrRL3Kscbe5HGb9-SMboieQd4ouKg2L8Ua9YP0bGLdPIOavYNdAfWPwjGab-Ic1EBJR5ROcPEAefo6wXg0000\" 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>Modifier Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"RkdCHRB\"><img alt=\"\" class=\"alignnone size-full wp-image-575\" decoding=\"async\" height=\"279\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fed4616f4.png\" width=\"273\"\/><\/p>\n<h2>Meilleures pratiques pour des \u00e9tats clairs<\/h2>\n<ul>\n<li><strong>Utilisez les descriptions d&#8217;\u00e9tats :<\/strong> Vous pouvez ajouter des d\u00e9tails op\u00e9rationnels clairs, des fonctions d&#8217;entr\u00e9e ou des fonctions de sortie directement dans un n\u0153ud d&#8217;\u00e9tat en utilisant un wrapper deux-points en ligne (par exemple, <code>Nom\u00c9tat : entr\u00e9e \/ logTimestamp()<\/code>).<\/li>\n<li><strong>Gardez les noms d&#8217;\u00e9tat courts :<\/strong> Utilisez CamelCase ou snake_case pour vos codes de variables d&#8217;\u00e9tat internes (par exemple, <code>TraitementPaiement<\/code>), et utilisez des guillemets si vous devez attacher une \u00e9tiquette longue et lisible \u00e0 ces noms.<\/li>\n<li><strong>G\u00e9rez les directions de routage vectoriel :<\/strong> Si vos cartes de cycle de vie multi-niveaux deviennent encombr\u00e9es verticalement, ins\u00e9rez des r\u00e8gles spatiales en ligne dans les fl\u00e8ches de connexion (par exemple, <code>-droite-&gt;<\/code> ou <code>-bas-&gt;<\/code>) pour \u00e9quilibrer la densit\u00e9 du layout.<\/li>\n<\/ul>\n<h2>Exemples de diagrammes d&#8217;\u00e9tat PlantUML du monde r\u00e9el<\/h2>\n<h3>Exemple 1 : Cycle de vie du r\u00e9seau d&#8217;un p\u00e9riph\u00e9rique IoT (\u00e9tats composites et choix)<\/h3>\n<p>Ce squelette suit les boucles d&#8217;\u00e9tat comportementales de connexion d&#8217;un module capteur IoT, illustrant des blocs imbriqu\u00e9s complexes et des broches de choix d&#8217;\u00e9valuation conditionnelle.<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:VLBBRW8n3BoljFyGxR4IFu0GGYg7zj9MfJU48fEOtMX3GhDcAQtwxtL2A8-YvfJOCxPdd4b746YxjcKnlrk8mM0idbShQnoMHLdaQmhVU-TGaN6r68fgutSOf7TLX74DmdF0Lra8FiUAZywG0Mi-ENV8d4SIv1KxRtj-JPzciNu3GUyWe0m8UbyTM1UWo9gXq_ny0AUx1bgCJBEHeDwt9g1cslTfFjXIWuwC0ZBUITMWQiLef1fl58x7PN4c81Q_YUS60HMQ7cM7eMSFL0FMeginMN6Jb5nroScXc9DlqScUrUl5VuJi_Iy3FpPHr2BEiEHKozveQPFCeyRSvTf_RJ7xphSKUWlWkhMXg7OA1B4ecJNheM3g6aEs_0_kM2yIGCKPaXkwkchm4Z_83FhyNwpVoIKGOTXBZSGsdzQJXxuKNQcy3JR5-euOFE5jyq_z0G00\" 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>Modifier Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:ZPD1QiCm44Nt1j_1U5d81K88WRRGRhfekWj1AF8acLQM74asWT83v2J5lOOkrf6SE6vJGhqRpJp_cVdIp3fkN5tAD5dSBBFHQ9ezQ6CpYHi5QP8cvoWcRxLIi4Ujid6MSuabACSTnKohFDJxbk91sNkQPFITVlweq25nDa9TxkTPB7lshTMo3l7TqpnebTpvrY18LXd_vV8E_LKNq7lLQ9pxTbU34X1Gh1WNknej4FLnRh81WsiKNVkyTbkQfJ_89XEnrIXWEasJypX1uJf7WWO4L35Rm1gP1TD0RU9whhDT_yTrZxF5ApWgQsWt1Ip_0m_Swd7OLsXykmoTYP3J3e9jJ4B1ZAutC32kLx_mZGlIEXaMWvXuCLpP4gqD5j2QV0isA1M-5P8Ss7PQZcwAEPhs9p8GYLTBl343_hFEBoNzGMYbImH_K60s64rUSUTeFS3M75SI6Eax47HdUjFxqIuMbLTW731nSfc86QY2NiKt\" \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 class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">@startuml\r\n[*] --&gt; Hors ligne\r\n\r\nHors ligne --&gt; Connexion : \"alimentation_on\"\r\n\r\n\u00e9tat Connexion {\r\n    [*] --&gt; Initialisation\r\n    Initialisation --&gt; R\u00e9solutionDNS : \"mat\u00e9riel_pr\u00eat\"\r\n    R\u00e9solutionDNS --&gt; EnvoiS\u00e9quence : \"ip_acquise\"\r\n}\r\n\r\n\u00e9tat verification_authentification &lt;&lt;choice&gt;&gt;\r\nConnexion --&gt; verification_authentification : \"reception_defi_serveur\"\r\n\r\nverification_authentification --&gt; En ligne : [jeton_valide]\r\nverification_authentification --&gt; Hors ligne : [jeton_expir\u00e9] : \"clignotement_led_rouge\"\r\n\r\n\u00e9tat En ligne {\r\n    [*] --&gt; Inactif\r\n    Inactif --&gt; TransmissionDonn\u00e9es : \"d\u00e9clenchement_timer\"\r\n    TransmissionDonn\u00e9es --&gt; Inactif : \"ack_re\u00e7u\"\r\n    Inactif --&gt; \u00c9conomie\u00c9nergie : \"batterie_faible_d\u00e9tect\u00e9e\"\r\n}\r\n\r\nEn ligne --&gt; Hors ligne : \"perte_connexion\"\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:ZPD1QiCm44Nt1j_1U5d81K88WRRGRhfekWj1AF8acLQM74asWT83v2J5lOOkrf6SE6vJGhqRpJp_cVdIp3fkN5tAD5dSBBFHQ9ezQ6CpYHi5QP8cvoWcRxLIi4Ujid6MSuabACSTnKohFDJxbk91sNkQPFITVlweq25nDa9TxkTPB7lshTMo3l7TqpnebTpvrY18LXd_vV8E_LKNq7lLQ9pxTbU34X1Gh1WNknej4FLnRh81WsiKNVkyTbkQfJ_89XEnrIXWEasJypX1uJf7WWO4L35Rm1gP1TD0RU9whhDT_yTrZxF5ApWgQsWt1Ip_0m_Swd7OLsXykmoTYP3J3e9jJ4B1ZAutC32kLx_mZGlIEXaMWvXuCLpP4gqD5j2QV0isA1M-5P8Ss7PQZcwAEPhs9p8GYLTBl343_hFEBoNzGMYbImH_K60s64rUSUTeFS3M75SI6Eax47HdUjFxqIuMbLTW731nSfc86QY2NiKt\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:VLBBRW8n3BoljFyGxR4IFu0GGYg7zj9MfJU48fEOtMX3GhDcAQtwxtL2A8-YvfJOCxPdd4b746YxjcKnlrk8mM0idbShQnoMHLdaQmhVU-TGaN6r68fgutSOf7TLX74DmdF0Lra8FiUAZywG0Mi-ENV8d4SIv1KxRtj-JPzciNu3GUyWe0m8UbyTM1UWo9gXq_ny0AUx1bgCJBEHeDwt9g1cslTfFjXIWuwC0ZBUITMWQiLef1fl58x7PN4c81Q_YUS60HMQ7cM7eMSFL0FMeginMN6Jb5nroScXc9DlqScUrUl5VuJi_Iy3FpPHr2BEiEHKozveQPFCeyRSvTf_RJ7xphSKUWlWkhMXg7OA1B4ecJNheM3g6aEs_0_kM2yIGCKPaXkwkchm4Z_83FhyNwpVoIKGOTXBZSGsdzQJXxuKNQcy3JR5-euOFE5jyq_z0G00\" 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>Modifier Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"FHGMizM\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-576\" decoding=\"async\" height=\"735\" loading=\"lazy\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fee62c246.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fee62c246.png 662w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18fee62c246-270x300.png 270w\" width=\"662\"\/><\/p>\n<p><strong>Analyse syntaxique :<\/strong> Cette carte s\u00e9pare clairement les boucles op\u00e9rationnelles individuelles. Lorsque le mat\u00e9riel passe \u00e0 l&#8217;\u00e9tat composite <code>Connexion<\/code> enveloppe, il suit les sous-\u00e9tats localis\u00e9s comme la r\u00e9solution DNS avant d&#8217;atteindre le <code>verification_authentification<\/code> diamant de choix. Les crochets (<code>[jeton_valide]<\/code>) repr\u00e9sentent des conditions de garde standard UML.<\/p>\n<h3>Exemple 2 : Machine \u00e0 \u00e9tats de traitement des commandes e-commerce (sous-\u00e9tats concurrents)<\/h3>\n<p>Ce plan d&#8217;entreprise avanc\u00e9 mod\u00e9lise un syst\u00e8me de commandes multithread\u00e9 montrant des comportements orthogonaux concurrents (traitement simultan\u00e9 des colis d&#8217;exp\u00e9dition et des enregistrements de facturation) en utilisant des lignes de s\u00e9paration (<code>--<\/code>).<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Plantuml<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:RLFBQiCm4BmR_0ycnu9_e8UI9crfeD3G74inYhI9HVGmgrLeMlBlbQpOiTtuOdbdPdV6QyyTCIIlLPvztdqLPVbGR6hRDDBibm78ipmRFhU4TnI06x_LaWX4SL_CU0tyO3rLN4b-cENPX19LQxGSd0kDrkoamL0KCa-rHVa3rSuRuMPnNd14S8F-csT5k3gRIsk8SGg41JE7X8rhAGqGAOWDqYdvPGrvXCfv7eU4iUSu-V_CFcxel9Eeaxn9Q4WB344CN4-u4yjlTYyTIUvUcH4gZ4bmalu3E_MmmpgytW2j2BIxeiDgeh6siB3VqQuqn-3Mugbom7qot4klp3QhfnUBJw3a4V0KnOfjGLKDIaEzy9nkPJcEjv0g-lu0Rb6uOROnSYlOqkf6HixA7AtaS6LCaPP-EJzh9YyhRSIkseC1P2EVxLudM-cN-eYy3a5RlRXahdZ7wpxZdXLrmM-UpS68yCly0G00\" 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>Modifier Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Plantuml<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:TLDBQiCm5DmRV0UJPS4NwABaWvjD5e5sLufHvUVqWJwfFePISfzgqqleOfLaEt5IrniBlPbvCq_IKXkYZEKiprxkNekoV2ZsH22eFCkpVfKsDv9p8XfuafQZXkA-M526j3uI10x2BFBi5X9fpugWIO3z08nCOerKg8b1AUfMYaOlOZll335pbAyyAy8t6jn8OGWrQo8-BFIbgwqXHK-ksXQeiTubo-Heh89QWTKQ8NGznSOpBQUPWtYBYdkNOe-9wuumRBoRM9yXt5ZVWewXT_A0ON6stzF_54VsL66ll6F-kqiULieWPQ0liDbo8bRyZJ163h2M_iUaA2YwW28O9gAzepQSISepYjrIaepOOHVcfQM84i5vT6eCrCYF2cFeGU7K_yhoUWILK103gcHHFuPZiofTXUai_aVD3MNhdV2kh_TGk81cYeaqh2lHoS_nR9ksFlJmyo1EmoMPETpf9Laf-exTeCF64TNqZ9wya0isAeGGURO4qOHN-0i0\" \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 class=\"language-plantuml\" data-language=\"plantuml\" class=\"language-plantuml\">@startuml\r\n[*] --&gt; Panier\r\n\r\nPanier --&gt; CommandeSoumise : \"clic_paiement\"\r\nCommandeSoumise --&gt; TraitementPaiement : \"autorisation_fonds\"\r\n\r\n\u00e9tat TraitementPaiement {\r\n    [*] --&gt; ContactBanque\r\n    ContactBanque --&gt; PaiementEffectu\u00e9 : \"capture_reussie\"\r\n}\r\n\r\nTraitementPaiement --&gt; CommandeConfirm\u00e9e : \"paiement_valid\u00e9\"\r\n\r\n\u00e9tat CommandeConfirm\u00e9e {\r\n    [*] --&gt; GestionLogistique\r\n    \u00e9tat GestionLogistique {\r\n        [*] --&gt; Pr\u00e9l\u00e8vementArticles\r\n        Pr\u00e9l\u00e8vementArticles --&gt; EmballageBo\u00eete : \"inventaire_s\u00e9curis\u00e9\"\r\n        EmballageBo\u00eete --&gt; EnLivraison : \"\u00e9tiquette_imprim\u00e9e\"\r\n    }\r\n    --\r\n    [*] --&gt; EnregistrementsFacturation\r\n    \u00e9tat EnregistrementsFacturation {\r\n        [*] --&gt; G\u00e9n\u00e9rationFacture\r\n        G\u00e9n\u00e9rationFacture --&gt; FactureEnvoy\u00e9e : \"pdf_g\u00e9n\u00e9r\u00e9\"\r\n    }\r\n}\r\n\r\nCommandeConfirm\u00e9e --&gt; CommandeArchiv\u00e9e : \"livraison_confirm\u00e9e\"\r\nCommandeArchiv\u00e9e --&gt; [*]\r\n@enduml<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:TLDBQiCm5DmRV0UJPS4NwABaWvjD5e5sLufHvUVqWJwfFePISfzgqqleOfLaEt5IrniBlPbvCq_IKXkYZEKiprxkNekoV2ZsH22eFCkpVfKsDv9p8XfuafQZXkA-M526j3uI10x2BFBi5X9fpugWIO3z08nCOerKg8b1AUfMYaOlOZll335pbAyyAy8t6jn8OGWrQo8-BFIbgwqXHK-ksXQeiTubo-Heh89QWTKQ8NGznSOpBQUPWtYBYdkNOe-9wuumRBoRM9yXt5ZVWewXT_A0ON6stzF_54VsL66ll6F-kqiULieWPQ0liDbo8bRyZJ163h2M_iUaA2YwW28O9gAzepQSISepYjrIaepOOHVcfQM84i5vT6eCrCYF2cFeGU7K_yhoUWILK103gcHHFuPZiofTXUai_aVD3MNhdV2kh_TGk81cYeaqh2lHoS_nR9ksFlJmyo1EmoMPETpf9Laf-exTeCF64TNqZ9wya0isAeGGURO4qOHN-0i0\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Plantuml in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#plantuml:RLFBQiCm4BmR_0ycnu9_e8UI9crfeD3G74inYhI9HVGmgrLeMlBlbQpOiTtuOdbdPdV6QyyTCIIlLPvztdqLPVbGR6hRDDBibm78ipmRFhU4TnI06x_LaWX4SL_CU0tyO3rLN4b-cENPX19LQxGSd0kDrkoamL0KCa-rHVa3rSuRuMPnNd14S8F-csT5k3gRIsk8SGg41JE7X8rhAGqGAOWDqYdvPGrvXCfv7eU4iUSu-V_CFcxel9Eeaxn9Q4WB344CN4-u4yjlTYyTIUvUcH4gZ4bmalu3E_MmmpgytW2j2BIxeiDgeh6siB3VqQuqn-3Mugbom7qot4klp3QhfnUBJw3a4V0KnOfjGLKDIaEzy9nkPJcEjv0g-lu0Rb6uOROnSYlOqkf6HixA7AtaS6LCaPP-EJzh9YyhRSIkseC1P2EVxLudM-cN-eYy3a5RlRXahdZ7wpxZdXLrmM-UpS68yCly0G00\" 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>Modifier Plantuml dans VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"viuKPko\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-578\" decoding=\"async\" height=\"1679\" loading=\"lazy\" sizes=\"auto, (max-width: 271px) 100vw, 271px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18ff89bb741.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18ff89bb741.png 271w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18ff89bb741-248x1536.png 248w\" width=\"271\"\/><\/p>\n<p><strong>Analyse syntaxique :<\/strong> \u00c0 l&#8217;int\u00e9rieur de la structure composite <code>CommandeConfirm\u00e9e<\/code> composite, le d\u00e9limiteur de double tiret (<code>--<\/code>) agit comme un s\u00e9parateur orthogonal. Cela indique \u00e0 PlantUML de diviser le diagramme en deux \u00e9tats concurrents qui s&#8217;ex\u00e9cutent en parall\u00e8le : la cha\u00eene logistique physique \u00e0 gauche, et les mises \u00e0 jour de facturation d&#8217;entreprise \u00e0 droite.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Qu&#8217;est-ce qu&#8217;un diagramme d&#8217;\u00e9tat ? Un diagramme d&#8217;\u00e9tat (souvent appel\u00e9 machine \u00e0 \u00e9tats ou diagramme d&#8217;\u00e9tat) est un diagramme comportemental diagramme UML qui mod\u00e9lise le cycle de vie d&#8217;un objet syst\u00e8me unique, d&#8217;une entit\u00e9 m\u00e9tier ou d&#8217;un processus en cours&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":5,"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-2127","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 State Diagram Syntax | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Map complex state machine transitions with PlantUML state diagrams using VPasCode, an agile 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-state-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 State Diagram Syntax | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Map complex state machine transitions with PlantUML state diagrams using VPasCode, an agile diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-diagram-syntax-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18feb546e94.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=\"4 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-state-diagram-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-state-diagram-syntax-guide\\\/\",\"name\":\"PlantUML State 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-state-diagram-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-state-diagram-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a18feb546e94.png\",\"datePublished\":\"2026-05-26T07:16:09+00:00\",\"description\":\"Map complex state machine transitions with PlantUML state diagrams using VPasCode, an agile diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-state-diagram-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-state-diagram-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-state-diagram-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a18feb546e94.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a18feb546e94.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/fr\\\/docs\\\/vpascode-docs\\\/plantuml-state-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\":\"Guide de syntaxe des diagrammes d&#8217;\u00e9tat PlantUML\"}]},{\"@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 State Diagram Syntax | VPasCode Text to Diagram Guide","description":"Map complex state machine transitions with PlantUML state diagrams using VPasCode, an agile 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-state-diagram-syntax-guide\/","og_locale":"fr_FR","og_type":"article","og_title":"PlantUML State Diagram Syntax | VPasCode Text to Diagram Guide","og_description":"Map complex state machine transitions with PlantUML state diagrams using VPasCode, an agile diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-diagram-syntax-guide\/","og_site_name":"VPasCode","og_image":[{"url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18feb546e94.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-diagram-syntax-guide\/","url":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-diagram-syntax-guide\/","name":"PlantUML State 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-state-diagram-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-diagram-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18feb546e94.png","datePublished":"2026-05-26T07:16:09+00:00","description":"Map complex state machine transitions with PlantUML state diagrams using VPasCode, an agile diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-diagram-syntax-guide\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-diagram-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-diagram-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18feb546e94.png","contentUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a18feb546e94.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/fr\/docs\/vpascode-docs\/plantuml-state-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":"Guide de syntaxe des diagrammes d&#8217;\u00e9tat PlantUML"}]},{"@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\/2127","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"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/media?parent=2127"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/fr\/wp-json\/wp\/v2\/ld_collection?post=2127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}