{"id":2079,"date":"2026-07-08T06:54:58","date_gmt":"2026-07-08T06:54:58","guid":{"rendered":"https:\/\/www.vpascode.com\/de\/docs\/uncategorized\/mermaid-js-gitgraph-diagram-syntax-guide\/"},"modified":"2026-07-08T06:54:58","modified_gmt":"2026-07-08T06:54:58","slug":"mermaid-js-gitgraph-diagram-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/","title":{"rendered":"Mermaid.js GitGraph-Diagram-Syntaxleitfaden"},"content":{"rendered":"<p>Ein GitGraph-Diagramm ist eine spezialisierte Visualisierungskomponente, die von Entwicklern, DevOps-Teams und technischen Schreibern verwendet wird, um Git-Branching-Strategien, Release-Management und Entwicklungsabl\u00e4ufe klar zu kommunizieren. Integriert nativ in Mermaid.js, die <code>gitGraph<\/code>Engine verwendet ein deklaratives, sequentielles Zeitachsenmodell. Dies ordnet echte Terminalbefehle direkt einer genauen visuellen Zeitachse zu, ohne manuelle Bildbearbeitung zu erfordern.<\/p>\n<h2>Verst\u00e4ndnis der GitGraph-Zeitachsen-Matrix<\/h2>\n<p>Im Gegensatz zu freiformigen Systemflussdiagrammen folgt ein GitGraph-Diagramm strengen, sequenziellen Logikregeln der Ereignisfolge, die echte Versionskontrollarbeitsbereiche abbilden:<\/p>\n<ul>\n<li><strong>Automatische Stammbranching:<\/strong> Jeder Diagrammarbeitsbereich, der initialisiert wird, startet automatisch eine prim\u00e4re Stammzeitachse. Standardm\u00e4\u00dfig wird diese Spur benannt als <code>main<\/code>, und alle nachfolgenden Aktionen verfolgen diese, es sei denn, ein sauberer alternativer Branchpfad wird erstellt.<\/li>\n<li><strong>Reihenfolgepr\u00e4zedenz:<\/strong> Elemente werden entlang einer chronologischen Achse von links nach rechts basierend auf der Einf\u00fcgefolge der Befehle in Ihrer Quelldatei gerendert.<\/li>\n<\/ul>\n<h2>Grundlegende Syntaxstruktur<\/h2>\n<p>Jede Zeitachse beginnt mit dem camelCase-<code>gitGraph<\/code>Deklarationsschl\u00fcsselwort. Es folgt eine sequenzielle Spaltenliste von atomaren Ausf\u00fchrungsbefehlen wie Commits, Checkouts und Merges.<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Mermaid<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzyxxL0osyODlUlBIzs\/NzSxBZSUVJeYlZyikpSaWlBal6ubkp2fmgVVkpCZn55eWYJFBmAJTk5sIkcpNLUpPRdUBAGUkKhg=\" 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>Mermaid in VPasCode bearbeiten<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzyxxL0osyODlUlBIzs\/NzSxBZSUVJeYlZyikpSaWlBal6ubkp2fmgVVkpCZn55eWYJFBmAJTk5sIkcpNLUpPRdUBAGUkKhg=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-mermaid\"><code class=\"language-mermaid\" data-language=\"mermaid\" class=\"language-mermaid\">gitGraph\r\n  commit\r\n  commit\r\n  branch feature-login\r\n  checkout feature-login\r\n  commit\r\n  checkout main\r\n  merge feature-login<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzyxxL0osyODlUlBIzs\/NzSxBZSUVJeYlZyikpSaWlBal6ubkp2fmgVVkpCZn55eWYJFBmAJTk5sIkcpNLUpPRdUBAGUkKhg=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzyxxL0osyODlUlBIzs\/NzSxBZSUVJeYlZyikpSaWlBal6ubkp2fmgVVkpCZn55eWYJFBmAJTk5sIkcpNLUpPRdUBAGUkKhg=\" 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>Mermaid in VPasCode bearbeiten<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"mqewxqb\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-986\" decoding=\"async\" fetchpriority=\"high\" height=\"171\" sizes=\"(max-width: 362px) 100vw, 362px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4c81a505.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4c81a505.png 362w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4c81a505-300x142.png 300w\" width=\"362\"\/><\/p>\n<h2>Die vollst\u00e4ndige Referenz zu Git-Aktionen-Befehlen<\/h2>\n<p>Die Layout-Engine interpretiert spezifische, kleine Buchstaben-Befehle, um Linienst\u00e4rken zu ver\u00e4ndern, Spuren zu teilen oder Endpunkte \u00fcber die Arbeitsbereichsfl\u00e4che hinweg zu verbinden.<\/p>\n<table border=\"1\" cellpadding=\"5\" cellspacing=\"0\">\n<thead>\n<tr>\n<th>Git-Befehlsschl\u00fcssel<\/th>\n<th>Parameterargument-Modifizierer<\/th>\n<th>Technische Aktionen &amp; Layout-Verhalten<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>commit<\/code><\/td>\n<td><code>id: \"hash\"<\/code>, <code>type: TYPE<\/code>, <code>Tag: \"v1.0\"<\/code><\/td>\n<td>F\u00fcgt einen neuen Meilensteinknoten direkt auf der aktiven Zielzweigpfadlinie hinzu.<\/td>\n<\/tr>\n<tr>\n<td><code>Zweig<\/code><\/td>\n<td><code>Name<\/code>, <code>Reihenfolge: Ganzzahl<\/code><\/td>\n<td>Erstellt eine neue Zweigspur-Spaltung. Sie k\u00f6nnen ihre vertikale Stapelposition optional explizit festlegen.<code>Reihenfolge<\/code> Wert.<\/td>\n<\/tr>\n<tr>\n<td><code>checkout<\/code> \/ <code>wechseln<\/code><\/td>\n<td><code>Zweigname<\/code><\/td>\n<td>Verschiebt den aktiven Aufnahmeindexzeiger auf die angegebene Zielzweiglinie. Nachfolgende Aktionen werden an dieser Spur verfolgt.<\/td>\n<\/tr>\n<tr>\n<td><code>zusammenf\u00fchren<\/code><\/td>\n<td><code>Zielzweigname<\/code>, <code>ID: \"Hash\"<\/code>, <code>Tag: \"v2\"<\/code><\/td>\n<td>F\u00fchrt die angegebene Zweigspur zur\u00fcck in den aktuellen Zweig zusammen, wodurch ein deutlich sichtbarer visueller Verflechtungspunkt entsteht.<\/td>\n<\/tr>\n<tr>\n<td><code>Cherry-Pick<\/code><\/td>\n<td><code>ID: \"Commit-Hash\"<\/code>, <code>Elternteil: \"Elternteil-Hash\"<\/code><\/td>\n<td>Doppelt einen bestimmten Commit aus einem externen Zweig auf der aktuellen Zweigspur, ohne die Spuren zu verflechten.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr\/>\n<h2>Erweiterte Funktion: Commit-Typen &amp; Tag-Anpassungen<\/h2>\n<p>Um zwischen regul\u00e4ren Patches, System-R\u00fcckg\u00e4ngigkeiten oder Hauptversionen zu unterscheiden, k\u00f6nnen Sie einen expliziten<code>Typ<\/code> und <code>Tag<\/code> Zeichenfolgenmodifikator innerhalb eines Argumentblocks unter Verwendung von json-\u00e4hnlichen Schl\u00fcssel-Wert-Eigenschaften.<\/p>\n<h3>Unterst\u00fctzte Commit-Form-Klassifizierungen:<\/h3>\n<ul>\n<li><code>Typ: NORMAL<\/code>: Die Standardkonfiguration. Wird als gef\u00fcllter, solider Kreis-Knoten entlang der Zeitachsen-Linie gerendert.<\/li>\n<li><code>Typ: R\u00dcCKG\u00c4NGIG<\/code>: Hebt eine architektonische oder programmm\u00e4\u00dfige R\u00fccksetzung hervor. Wird als durchkreuzter, solider Kreis-Knoten ($X$) gerendert.<\/li>\n<li><code>Typ: HIGHLIGHT<\/code>: Zeigt auf kritische strukturelle \u00c4nderungen oder Sicherheitspatches hin. Wird als verl\u00e4ngertes, gef\u00fclltes Rechteck-Box gerendert.<\/li>\n<\/ul>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Mermaid<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzyxxL0osyODlUlBIzs\/NzSxRyEyxUlDyzMssyUzMUUISL6ksSLVS8PB09\/AB4hCIuuDU5NKizJJKXY\/8krTMCiWFksR0oHCZoZ6BniGm7iDXMNegYFeI3qD8nJykxORsXbfUxJLSolTdCCUAgoUsaw==\" 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>Mermaid in VPasCode bearbeiten<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzyxxL0osyODlUlBIzs\/NzSxRyEyxUlDyzMssyUzMUUISL6kssFLw8HT38AHiEIiy4NTk0qLMkkpdj\/yStMwKJYWSxHSgcJmhnoGeIYbmoMNznL3dD7f4uXu6Q\/QH5efkJCUmZ+u6pSaWlBal6kYoAQAmwS53\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-mermaid\"><code class=\"language-mermaid\" data-language=\"mermaid\" class=\"language-mermaid\">gitGraph\r\n  commit id: \"Initial\"\r\n  commit typ: HIGHLIGHT id: \"Security-Hotfix\" tag: \"v1.0.1\"\r\n  commit typ: R\u00dcCKG\u00c4NGIG id: \"Rollback-Feature-X\"<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzyxxL0osyODlUlBIzs\/NzSxRyEyxUlDyzMssyUzMUUISL6kssFLw8HT38AHiEIiy4NTk0qLMkkpdj\/yStMwKJYWSxHSgcJmhnoGeIYbmoMNznL3dD7f4uXu6Q\/QH5efkJCUmZ+u6pSaWlBal6kYoAQAmwS53\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpLzyxxL0osyODlUlBIzs\/NzSxRyEyxUlDyzMssyUzMUUISL6ksSLVS8PB09\/AB4hCIuuDU5NKizJJKXY\/8krTMCiWFksR0oHCZoZ6BniGm7iDXMNegYFeI3qD8nJykxORsXbfUxJLSolTdCCUAgoUsaw==\" 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>Mermaid in VPasCode bearbeiten<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"vzjmfCC\"><img alt=\"\" class=\"alignnone size-full wp-image-987\" decoding=\"async\" height=\"126\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4d52fc30.png\" width=\"254\"\/><\/p>\n<hr\/>\n<h2>Erweiterte Funktion: Cherry-Pick-Logik und strenge Einschr\u00e4nkungen<\/h2>\n<p>Die <code>Cherry-Pick<\/code> Befehl kopiert einen bestimmten isolierten Knoten von einer anderen Branch-Linie auf Ihre aktuelle aktive Branch. Um einen Cherry-Pick ohne Compiler-Layout-Fehler auszuf\u00fchren, m\u00fcssen Sie diese strengen Anforderungen an die Arbeitsraum-Validierung erf\u00fcllen:<\/p>\n<ul>\n<li><strong>Ausschluss-Beschr\u00e4nkung:<\/strong> Die Ziel-Commit-ID, die Sie cherry-picken, *darf* bereits auf der Branch-Linie, die Sie aktuell verfolgen, nicht existieren.<\/li>\n<li><strong>Voraussetzungs-Geschichte:<\/strong> Die aktuelle aktive Branch-Linie muss mindestens einen g\u00fcltigen Commit-Knoten enthalten, bevor eine Cherry-Pick-Aktion aufgerufen wird.<\/li>\n<li><strong>Merge-Eltern-Anforderung:<\/strong> Wenn Sie einen Merge-Knoten cherry-picken, m\u00fcssen Sie die sofortige direkte \u00fcbergeordnete Eltern-Identifikationszeichenfolge explizit \u00fcbergeben, indem Sie den <code>Eltern: \"hash\"<\/code> Modifikatorblock verwenden.<\/li>\n<\/ul>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Mermaid<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNptjMEJgDAMAP+CO4T+XcAFnCPG2AZtLWn6cHtREFT8HnfnxQbFHNoGgLYYxUCmHlxhq9mddFRMFKAYekn+8gLTslV7sUc7M1pV7jIaBfcqIkr66iMWXiXxbaruXRZa\/mYHSY04fw==\" 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>Mermaid in VPasCode bearbeiten<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNptjMEJgDAMAP+CO4T+XcAFnCPG2AZtLWn6cHtREFT8HnfnxQbFHNoGgLYYxUCmHlxhq9mddFRMFKAYekn+8gLTslV7sUc7M1pV7jIaBfcqIkr66iMWXiXxbaruXRZa\/mYHSY04fw==\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-mermaid\"><code class=\"language-mermaid\" data-language=\"mermaid\" class=\"language-mermaid\">gitGraph\r\n  commit id: \"setup\"\r\n  branch staging\r\n  checkout staging\r\n  commit id: \"feature-patch\"\r\n  checkout main\r\n  commit id: \"baseline\"\r\n  cherry-pick id: \"feature-patch\"<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNptjMEJgDAMAP+CO4T+XcAFnCPG2AZtLWn6cHtREFT8HnfnxQbFHNoGgLYYxUCmHlxhq9mddFRMFKAYekn+8gLTslV7sUc7M1pV7jIaBfcqIkr66iMWXiXxbaruXRZa\/mYHSY04fw==\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNptjMEJgDAMAP+CO4T+XcAFnCPG2AZtLWn6cHtREFT8HnfnxQbFHNoGgLYYxUCmHlxhq9mddFRMFKAYekn+8gLTslV7sUc7M1pV7jIaBfcqIkr66iMWXiXxbaruXRZa\/mYHSY04fw==\" 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>Mermaid in VPasCode bearbeiten<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"UbdLRrX\"><img alt=\"\" class=\"alignnone size-full wp-image-988\" decoding=\"async\" height=\"200\" sizes=\"(max-width: 341px) 100vw, 341px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4df30fa1.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4df30fa1.png 341w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4df30fa1-300x176.png 300w\" width=\"341\"\/><\/p>\n<hr\/>\n<h2>Erweiterte Funktion: Frontmatter-Parameterkonfigurationen<\/h2>\n<p>Sie k\u00f6nnen globale visuelle Verhaltensweisen (wie das Ein- und Ausschalten von Zweigbeschriftungen, die \u00c4nderung von Zeilenindizes oder das Stapeln von Zeitachsen) durch die Angabe einer<code>%%{init: { 'logLevel': 'debug', 'theme': 'default' , 'config': { 'gitGraph': { ... } } } }%%<\/code> Konfigurationsanweisungsblock am absoluten Anfang Ihres Graphen-Skripts.<\/p>\n<h3>Matrix konfigurierbarer Parameter<\/h3>\n<table border=\"1\" cellpadding=\"5\" cellspacing=\"0\">\n<thead>\n<tr>\n<th>Konfigurations-Schl\u00fcsselzeichenfolge<\/th>\n<th>Typdefinition<\/th>\n<th>Standardwert<\/th>\n<th>Ergebnis der visuellen Schnittstellen\u00e4nderung<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>showBranches<\/code><\/td>\n<td>Boolesch<\/td>\n<td><code>true<\/code><\/td>\n<td>Schaltet die Sichtbarkeit einzelner Zweigverfolgungsbeschriftungen auf der linken Seite des Zeichenfl\u00e4chen-Rasters ein und aus.<\/td>\n<\/tr>\n<tr>\n<td><code>showCommitLabel<\/code><\/td>\n<td>Boolesch<\/td>\n<td><code>true<\/code><\/td>\n<td>Schaltet die Darstellung von Texttiteln und alphanumerischen Hashes direkt \u00fcber einzelnen Zeitachsenknoten ein und aus.<\/td>\n<\/tr>\n<tr>\n<td><code>mainBranchName<\/code><\/td>\n<td>Zeichenkette<\/td>\n<td><code>\"main\"<\/code><\/td>\n<td>\u00c4ndert den Standard-Startwurzelzweignamen-Verfolgungstext (z.\u202fB. Austausch gegen<code>\"master\"<\/code> oder <code>\"trunk\"<\/code>).<\/td>\n<\/tr>\n<tr>\n<td><code>mainBranchOrder<\/code><\/td>\n<td>Ganzzahl<\/td>\n<td><code>0<\/code><\/td>\n<td>Legt den vertikalen Stapelreihenfolge-Positionindex von oben nach unten f\u00fcr die prim\u00e4re Wurzelzeitachse-Verfolgungslinie fest.<\/td>\n<\/tr>\n<tr>\n<td><code>parallelCommits<\/code><\/td>\n<td>Boolesch<\/td>\n<td><code>falsch<\/code><\/td>\n<td>Wenn ge\u00e4ndert auf <code>wahr<\/code>, werden separate Commits, die identische Abst\u00e4nde zu ihren Elternschritten teilen, symmetrisch auf der gleichen vertikalen Ebene ausgerichtet.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr\/>\n<h2>Real-World-Blueprint: Enterprise-Git-Flow-Release-Management-Pipeline<\/h2>\n<p>Dieses umfassende Enterprise-Blueprint zeigt eine Standard-Produktions-Release-Pipeline. Es \u00fcberschreibt Konfigurationsparameter, um die Stammbahn in <code>trunk<\/code>, legt eine feste Branch-Reihenfolge-Hierarchie fest, verwendet mehrere Branch-Linien (<code>develop<\/code> und <code>feature-auth<\/code>), f\u00fchrt Merge-Operationen aus, wendet benutzerdefinierte Tags an und stellt Commit-Formen mit hoher Priorit\u00e4t bereit.<\/p>\n<div class=\"vpascode-viewer-container vpascode-fancy-active\">\n<div class=\"vpascode-header\">\n<span class=\"vpascode-lang-label\">Mermaid<\/span><br \/>\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNp1UcFqwzAMvRf6DyIQcplLu2NuTWBtRjbGVthZTbTENI6Nq3SMsn+f62Vb0jCMD3pPek9+DsOzbCXHcIaokryxaOrIVwplm1hsi\/oRFTksYtu1h+gGomOt31OtlOQc99Q4zlEEn5cThvPZj9B8BlD4PpBlDEHmnCQ2ItWWAmCsHHZaLZaLZXDd+kLcGZFmntj7NaCkEzXa+NaaioPueIQNx42VLYuVSPBIQ403Qu4sCey4HglNiIHa\/etO5LqSxWTNh7t1zwB\/GIphm222ubu7\/7ZUZCsaufVKF1ysXT0xSYjRZaaMbKgMRsL+S\/5ke5\/vsWdqyL1ePFld\/qZ969P+AuwTnQ0=\" 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>Mermaid in VPasCode bearbeiten<\/span><br \/>\n<\/a>\n<\/div>\n<div class=\"vpascode-code-wrapper\">\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNp1UcFqwzAMvRf6DyIQcplLu2NuTWBtRjbGVthZTbTENI6Nq3SMsn+f62Vb0jCMD3pPek9+DsOzbCXHcIaokryxaOrIVwplm1hsi\/oRFTksYtu1h+gGomOt31OtlOQc99Q4zlEEn5cThvPZj9B8BlD4PpBlDEHmnCQ2ItWWAmCsHHZaLZaLZXDd+kLcGZFmntj7NaCkEzXa+NaaioPueIQNx42VLYuVSPBIQ403Qu4sCey4HglNiIHa\/etO5LqSxWTNh7t1zwB\/GIphm222ubu7\/7ZUZCsaufVKF1ysXT0xSYjRZaaMbKgMRsL+S\/5ke5\/vsWdqyL1ePFld\/qZ969P+AuwTnQ0=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-mermaid\"><code class=\"language-mermaid\" data-language=\"mermaid\" class=\"language-mermaid\">%%{init: { 'gitGraph': { 'mainBranchName': 'trunk', 'showCommitLabel': true } } }%%\r\ngitGraph\r\n  commit id: \"Initial-Core\" tag: \"v1.0.0\"\r\n  commit id: \"Setup-CI\"\r\n  branch develop\r\n  checkout develop\r\n  commit id: \"Sprint-1-Base\"\r\n  branch feature-auth\r\n  checkout feature-auth\r\n  commit id: \"JWT-Logic\"\r\n  commit id: \"MFA-Logic\" type: HIGHLIGHT\r\n  checkout develop\r\n  merge feature-auth id: \"Merge-Auth\"\r\n  commit id: \"Beta-Compiled\"\r\n  checkout trunk\r\n  merge develop id: \"Release-Prod\" tag: \"v2.0.0\"<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNp1UcFqwzAMvRf6DyIQcplLu2NuTWBtRjbGVthZTbTENI6Nq3SMsn+f62Vb0jCMD3pPek9+DsOzbCXHcIaokryxaOrIVwplm1hsi\/oRFTksYtu1h+gGomOt31OtlOQc99Q4zlEEn5cThvPZj9B8BlD4PpBlDEHmnCQ2ItWWAmCsHHZaLZaLZXDd+kLcGZFmntj7NaCkEzXa+NaaioPueIQNx42VLYuVSPBIQ403Qu4sCey4HglNiIHa\/etO5LqSxWTNh7t1zwB\/GIphm222ubu7\/7ZUZCsaufVKF1ysXT0xSYjRZaaMbKgMRsL+S\/5ke5\/vsWdqyL1ePFld\/qZ969P+AuwTnQ0=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit Mermaid in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<\/p><\/div>\n<div class=\"vpascode-actions\">\n<a class=\"vpascode-fancy-btn\" href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNp1UcFqwzAMvRf6DyIQcplLu2NuTWBtRjbGVthZTbTENI6Nq3SMsn+f62Vb0jCMD3pPek9+DsOzbCXHcIaokryxaOrIVwplm1hsi\/oRFTksYtu1h+gGomOt31OtlOQc99Q4zlEEn5cThvPZj9B8BlD4PpBlDEHmnCQ2ItWWAmCsHHZaLZaLZXDd+kLcGZFmntj7NaCkEzXa+NaaioPueIQNx42VLYuVSPBIQ403Qu4sCey4HglNiIHa\/etO5LqSxWTNh7t1zwB\/GIphm222ubu7\/7ZUZCsaufVKF1ysXT0xSYjRZaaMbKgMRsL+S\/5ke5\/vsWdqyL1ePFld\/qZ969P+AuwTnQ0=\" 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>Mermaid in VPasCode bearbeiten<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"iKSnpYj\"><img loading=\"lazy\" alt=\"\" class=\"alignnone size-full wp-image-989\" decoding=\"async\" height=\"278\" loading=\"lazy\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df610e5bf8.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df610e5bf8.png 560w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df610e5bf8-300x149.png 300w\" width=\"560\"\/><\/p>\n<hr\/>\n<h2>H\u00e4ufige Syntax-Fehler &amp; Systembeschr\u00e4nkungen<\/h2>\n<p>Beim Kompilieren pr\u00e4ziser Versionskontroll-Graphen sollten diese Fehlerbehebungsparameter ber\u00fccksichtigt werden, um Layout-Berechnungsfehler zu vermeiden:<\/p>\n<ul>\n<li><strong>Gro\u00df-\/Kleinschreibung-Fehler:<\/strong> Die prim\u00e4re Initialisierungsdeklaration muss explizit in camelCase wie folgt geschrieben werden: <code>gitGraph<\/code>. Wenn es vollst\u00e4ndig in Kleinbuchstaben wie <code>gitgraph<\/code> geschrieben wird, l\u00f6st dies einen Compiler-Parsing-Crash aus.<\/li>\n<li><strong>Nicht-gekennzeichnete alphanumerische Bezeichner:<\/strong> Wenn benutzerdefinierte Commit-Parameter \u00fcbergeben werden (z.\u202fB. <code>id: core_init<\/code>), m\u00fcssen Werte, die Bindestriche, Leerzeichen oder Punkte enthalten, in doppelte Anf\u00fchrungszeichen eingeschlossen werden. Das Vergessen von Anf\u00fchrungszeichen f\u00fchrt zu Verlust der Validierungs-Compilierungsfehler.<\/li>\n<li><strong>Ung\u00fcltige Checkout-Ziele:<\/strong> Aufrufen eines <code>checkout branch_name<\/code> Aktion auf einer Zeichenfolgen-Identit\u00e4t, die zuvor nicht mit dem <code>branch branch_name<\/code> Befehl wird die Graph-Erstellung sofort unterbrechen.<\/li>\n<li><strong>Zweigreihenfolgen-Kollisionen:<\/strong> Wenn die Verwendung des <code>order<\/code> Konfigurationstag auf Zweigen, stellen Sie sicher, dass mehrere Spuren nicht auf identische Ganzzahlen abgebildet werden, es sei denn, Sie m\u00f6chten \u00fcberlappende Pfadspuren auf der Leinwand. Halten Sie die Zweigspurnummern eindeutig.<\/li>\n<li><strong>Fehler bei der Leerzeichen-Trennung:<\/strong> Stellen Sie sicher, dass klare Argument-Leerzeichen vorhanden sind, wenn Eigenschaften innerhalb von runden Parametermatrizen getrennt werden (z.\u202fB. verwenden Sie <code>id: \"1\", type: HIGHLIGHT<\/code>). Das Weglassen fehlender Kommas oder Leerzeichen kann zu Parsing-Ausnahmen f\u00fchren.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Ein GitGraph-Diagramm ist eine spezialisierte Visualisierungskomponente, die von Entwicklern, DevOps-Teams und technischen Schreibern verwendet wird, um Git-Branching-Strategien, Release-Management und Entwicklungsabl\u00e4ufe klar zu kommunizieren. Integriert nativ in Mermaid.js, die gitGraphEngine verwendet ein deklaratives, sequentielles Zeitachsenmodell. Dies ordnet echte Terminalbefehle direkt einer&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":25,"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-2079","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>Mermaid GitGraph Syntax | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Visualize Git branching, merging, and commit histories using Mermaid GitGraph in VPasCode, a free diagram-as-code tool.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mermaid GitGraph Syntax | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Visualize Git branching, merging, and commit histories using Mermaid GitGraph in VPasCode, a free diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-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\/07\/img_6a4df4c81a505.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data1\" content=\"5\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/docs\\\/vpascode-docs\\\/mermaid-js-gitgraph-diagram-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/docs\\\/vpascode-docs\\\/mermaid-js-gitgraph-diagram-syntax-guide\\\/\",\"name\":\"Mermaid GitGraph Syntax | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/docs\\\/vpascode-docs\\\/mermaid-js-gitgraph-diagram-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/docs\\\/vpascode-docs\\\/mermaid-js-gitgraph-diagram-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a4df4c81a505.png\",\"datePublished\":\"2026-07-08T06:54:58+00:00\",\"description\":\"Visualize Git branching, merging, and commit histories using Mermaid GitGraph in VPasCode, a free diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/docs\\\/vpascode-docs\\\/mermaid-js-gitgraph-diagram-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/de\\\/docs\\\/vpascode-docs\\\/mermaid-js-gitgraph-diagram-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/docs\\\/vpascode-docs\\\/mermaid-js-gitgraph-diagram-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a4df4c81a505.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/img_6a4df4c81a505.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/docs\\\/vpascode-docs\\\/mermaid-js-gitgraph-diagram-syntax-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mermaid.js GitGraph-Diagram-Syntaxleitfaden\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/4\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/wp-content\\\/uploads\\\/sites\\\/4\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mermaid GitGraph Syntax | VPasCode Text to Diagram Guide","description":"Visualize Git branching, merging, and commit histories using Mermaid GitGraph in VPasCode, a free diagram-as-code tool.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/","og_locale":"de_DE","og_type":"article","og_title":"Mermaid GitGraph Syntax | VPasCode Text to Diagram Guide","og_description":"Visualize Git branching, merging, and commit histories using Mermaid GitGraph in VPasCode, a free diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/","og_site_name":"VPasCode","og_image":[{"url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4c81a505.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Gesch\u00e4tzte Lesezeit":"5\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/","url":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/","name":"Mermaid GitGraph Syntax | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4c81a505.png","datePublished":"2026-07-08T06:54:58+00:00","description":"Visualize Git branching, merging, and commit histories using Mermaid GitGraph in VPasCode, a free diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4c81a505.png","contentUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/07\/img_6a4df4c81a505.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/de\/docs\/vpascode-docs\/mermaid-js-gitgraph-diagram-syntax-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/de\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/de\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"Mermaid.js GitGraph-Diagram-Syntaxleitfaden"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/de\/#website","url":"https:\/\/www.vpascode.com\/de\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/de\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/de\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.vpascode.com\/de\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/de\/wp-content\/uploads\/sites\/4\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/de\/wp-content\/uploads\/sites\/4\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/de\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/de\/wp-json\/wp\/v2\/ld_docs\/2079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/de\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/de\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/de\/wp-json\/wp\/v2\/users\/3"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/de\/wp-json\/wp\/v2\/media?parent=2079"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/de\/wp-json\/wp\/v2\/ld_collection?post=2079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}