{"id":2104,"date":"2026-05-26T08:05:44","date_gmt":"2026-05-26T08:05:44","guid":{"rendered":"https:\/\/www.vpascode.com\/pl\/docs\/uncategorized\/mermaid-js-timeline-syntax-guide\/"},"modified":"2026-05-26T08:05:44","modified_gmt":"2026-05-26T08:05:44","slug":"mermaid-js-timeline-syntax-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/","title":{"rendered":"Przewodnik po sk\u0142adni diagramu czasowego Mermaid.js"},"content":{"rendered":"<h2>Co to jest diagram czasowy?<\/h2>\n<p>Diagram <strong>czasowy<\/strong> to narz\u0119dzie do wizualizacji chronologicznej s\u0142u\u017c\u0105ce do mapowania zdarze\u0144 lub punkt\u00f3w kontrolnych projektu wzd\u0142u\u017c liniowego odcinka czasu. Podczas gdy wykresy Gantta obs\u0142uguj\u0105 z\u0142o\u017cone zale\u017cno\u015bci zada\u0144 i ich trwanie, diagram czasowy skupia si\u0119 na <em>kiedy<\/em>\u2014 zapewnia jasn\u0105, \u0142atw\u0105 do przeczytania narracj\u0119 o rozwoju projektu lub cyklu wydania systemu.<\/p>\n<p>Z u\u017cyciem <strong>Mermaid.js<\/strong>, mo\u017cesz zdefiniowa\u0107 sw\u00f3j diagram czasowy przy u\u017cyciu prostego, hierarchicznego formatu tekstu. Silnik automatycznie obs\u0142uguje odst\u0119py, formatowanie dat lub etykiet okres\u00f3w oraz wyr\u00f3wnanie znacznik\u00f3w zdarze\u0144 wzd\u0142u\u017c centralnej osi czasowej.<\/p>\n<h2>Podstawowy przewodnik sk\u0142adniowy<\/h2>\n<p>Aby stworzy\u0107 poprawny, dzia\u0142aj\u0105cy diagram czasowy, musisz zdefiniowa\u0107 okres osi i przypisa\u0107 zdarzenia do konkretnych sekcji.<\/p>\n<h3>1. Inicjowanie diagramu czasowego<\/h3>\n<p>Inicjujesz p\u0142\u00f3tno przy u\u017cyciu s\u0142owa kluczowego <code>timeline<\/code>s\u0142owo kluczowe. Struktura tworzona jest poprzez definiowanie sekcji (kt\u00f3re dzia\u0142aj\u0105 jako grupy) i przypisywanie zdarze\u0144 (lub dat) do tych sekcji.<\/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:eNorycxNzcnMS+XlUgCCksySnFSF4MriktRcBZfUstSc\/ILc1LwSBY\/M4pL8okqIquLU5JLM\/DwFIwMjU4gICAQaKlgpOOYUZCQq+CSW5iVnYCg2Q1JsBFTslFqSqBCUmpOaWJwKAODzJjs=\" 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>Edytuj Mermaid w 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\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNorycxNzcnMS+XlUgCCksqS0qNNCh6ZxSX5RZmJCkX5VeX5WaUKxZXFJam5pRBFxanZyVmJCkYGRqYQARAINFSwUghPLSoGyjjmFGQkoqs1Q1JrhFDrlFqSCACFjSVt\" \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\">timeline\r\n    tytu\u0142 Historia rozwoju systemu\r\n    sekcja 2025\r\n        Q1 : Wersja Alpha\r\n    sekcja 2026\r\n        Q2 : Wersja Beta<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNorycxNzcnMS+XlUgCCksqS0qNNCh6ZxSX5RZmJCkX5VeX5WaUKxZXFJam5pRBFxanZyVmJCkYGRqYQARAINFSwUghPLSoGyjjmFGQkoqs1Q1JrhFDrlFqSCACFjSVt\" \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:eNorycxNzcnMS+XlUgCCksySnFSF4MriktRcBZfUstSc\/ILc1LwSBY\/M4pL8okqIquLU5JLM\/DwFIwMjU4gICAQaKlgpOOYUZCQq+CSW5iVnYCg2Q1JsBFTslFqSqBCUmpOaWJwKAODzJjs=\" 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>Edytuj Mermaid w VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"KIeoQgR\"><img fetchpriority=\"high\" alt=\"\" class=\"alignnone size-full wp-image-650\" decoding=\"async\" fetchpriority=\"high\" height=\"595\" sizes=\"(max-width: 895px) 100vw, 895px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e148fe5.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e148fe5.png 895w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e148fe5-300x199.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e148fe5-768x511.png 768w\" width=\"895\"\/><\/p>\n<h3>2. Dodawanie szczeg\u00f3\u0142\u00f3w do zdarze\u0144<\/h3>\n<p>Mo\u017cesz doda\u0107 wiele szczeg\u00f3\u0142\u00f3w do jednego znacznika czasowego, u\u017cywaj\u0105c listy rozdzielonej dwukropkami. Jest to przydatne do podsumowania kluczowych wynik\u00f3w lub numer\u00f3w wersji zwi\u0105zanych z konkretn\u0105 dat\u0105 lub okresem.<\/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:eNorycxNzcnMS+XlUgCC4tTkksz8PIVAYwUjAyMziCAIBKXmpCYWpypYKZQZ6hnoGSBkYMBKISC1KC2\/KDcxLzlVwTO3oCi\/LDU3Na+kGJva4NTk0qLMkkqFgMSS5IzUYgAC+yLk\" 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>Edytuj Mermaid w 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\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNorycxNzcnMS+XlUgCC4tTs5KxEhUBjBSMDIzOIGAiEV6Yk5mWmKlgplBnqGegZIGRgwEohNCe1oLgqNS8zUaEcqDwrL\/\/o7ORMbCr9EguKEssrFZJSqwoyU5OrUo+2FJeUJwIAkKclyA==\" \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\">timeline\r\n    sekcja Q3 2026\r\n        Wydanie : v1.0.0\r\n                : Ulepszenia wydajno\u015bci\r\n                : Naprawy bezpiecze\u0144stwa<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNorycxNzcnMS+XlUgCC4tTs5KxEhUBjBSMDIzOIGAiEV6Yk5mWmKlgplBnqGegZIGRgwEohNCe1oLgqNS8zUaEcqDwrL\/\/o7ORMbCr9EguKEssrFZJSqwoyU5OrUo+2FJeUJwIAkKclyA==\" \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:eNorycxNzcnMS+XlUgCC4tTkksz8PIVAYwUjAyMziCAIBKXmpCYWpypYKZQZ6hnoGSBkYMBKISC1KC2\/KDcxLzlVwTO3oCi\/LDU3Na+kGJva4NTk0qLMkkqFgMSS5IzUYgAC+yLk\" 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>Edytuj Mermaid w VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"Lglvjvx\"><img alt=\"\" class=\"alignnone size-full wp-image-651\" decoding=\"async\" height=\"666\" sizes=\"(max-width: 590px) 100vw, 590px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e537ef9.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e537ef9.png 590w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e537ef9-266x300.png 266w\" width=\"590\"\/><\/p>\n<h2>Przyk\u0142ad rzeczywistego diagramu czasowego Mermaid.js: plan wydania produktu<\/h2>\n<p>Ten szablon modeluje wieloletni plan rozwoju produktu, grupuj\u0105c wydania wed\u0142ug roku finansowego i wyr\u00f3\u017cniaj\u0105c kluczowe wyniki dla ka\u017cdego cyklu.<\/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:eNplUMFqwlAQvBf6D\/sDgk2hgre2oggKUWnv68uQPNy8De9tIv59n3qoxDnsYWd2hlnzLcQHvL5QhnkTUBm16p3RXrlquaNiWnxM8pjdRQnOvIbb+r65YvdGc1r45HRAvFDZcMI\/mzGng\/EJjUqFSOtgiIPHOT1YFFm0\/S1pgQGiXYtgI4tvjaDPcp0lydfh4fY9s18wpj0Ez9k\/KYcugerI7kQb1S49tZmN2ix7EdpwH1wzcluJHlno4Dj\/rv4DiRdUCA==\" 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>Edytuj Mermaid w 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\">Mermaid<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpdjz1KBEEQhXPBO9QFBB3BhclMBAOhVdC4dqYc+2e6lv6h6Q73Fp5j083WuZc9u4LrvKCCqlcf7xlpJUJX0MfLC6gKOcRpC8KgBcclsYqwcdxHHSI0183dVR2rk9eT7hQet6fFrOebFh6wIHCvXU5Y+X\/HqhZeuIycMhQoiHbAac\/VlkcJPji2OMozWnP0p8NOwdObWJCEY0U6zO+SYMO9D5g40cAgbSD3QcpHuBePZ8DbFt7J+Zp7TfPnEvn9FQxBSY5r4Tjtc9CcrNSHXVq2Xv1vLWja2gzRxe6TR0k10wL+qtH8hh0Mr9FY+gEeGnQO\" \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\">linia czasu\r\n    tytu\u0142 Plan rozwoju produktu 2026-2027\r\n    sekcja 2026\r\n        Q1: Faza odkrywania\r\n           : Rozmowy z zaanga\u017cowanymi stronami\r\n        Q2: Rozw\u00f3j MVP\r\n           : Projektowanie podstawowego interfejsu API\r\n        Q3: Wersja betowa\r\n           : P\u0119tle zwrotu u\u017cytkownik\u00f3w\r\n    sekcja 2027\r\n        Q1: Pe\u0142ny uruchomienie\r\n           : Skalowanie globalne<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/editor\/#mermaid:eNpdjz1KBEEQhXPBO9QFBB3BhclMBAOhVdC4dqYc+2e6lv6h6Q73Fp5j083WuZc9u4LrvKCCqlcf7xlpJUJX0MfLC6gKOcRpC8KgBcclsYqwcdxHHSI0183dVR2rk9eT7hQet6fFrOebFh6wIHCvXU5Y+X\/HqhZeuIycMhQoiHbAac\/VlkcJPji2OMozWnP0p8NOwdObWJCEY0U6zO+SYMO9D5g40cAgbSD3QcpHuBePZ8DbFt7J+Zp7TfPnEvn9FQxBSY5r4Tjtc9CcrNSHXVq2Xv1vLWja2gzRxe6TR0k10wL+qtH8hh0Mr9FY+gEeGnQO\" \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:eNplUMFqwlAQvBf6D\/sDgk2hgre2oggKUWnv68uQPNy8De9tIv59n3qoxDnsYWd2hlnzLcQHvL5QhnkTUBm16p3RXrlquaNiWnxM8pjdRQnOvIbb+r65YvdGc1r45HRAvFDZcMI\/mzGng\/EJjUqFSOtgiIPHOT1YFFm0\/S1pgQGiXYtgI4tvjaDPcp0lydfh4fY9s18wpj0Ez9k\/KYcugerI7kQb1S49tZmN2ix7EdpwH1wzcluJHlno4Dj\/rv4DiRdUCA==\" 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>Edytuj Mermaid w VPasCode<\/span><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p id=\"iytpJGS\"><img alt=\"\" class=\"alignnone size-full wp-image-652\" decoding=\"async\" height=\"670\" sizes=\"(max-width: 1190px) 100vw, 1190px\" src=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e878b33.png\" srcset=\"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e878b33.png 1190w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e878b33-300x169.png 300w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e878b33-1024x577.png 1024w, https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e878b33-768x432.png 768w\" width=\"1190\"\/><\/p>\n<h2>Najlepsze praktyki dla linii czasu<\/h2>\n<ul>\n<li><strong>Trzymaj kategorie kr\u00f3tkie:<\/strong> U\u017cyj <code>sekcja<\/code>aby oznacza\u0107 grupowania najwy\u017cszego poziomu (takie jak lata lub g\u0142\u00f3wne fazy), utrzymuj\u0105c faktyczne zdarzenia pod nimi konkretne i dzia\u0142aj\u0105ce.<\/li>\n<li><strong>Sp\u00f3jny format dat:<\/strong>Upewnij si\u0119, \u017ce zdarzenia na li\u015bcie czasu s\u0105 w kolejno\u015bci chronologicznej w kodzie, poniewa\u017c silnik Mermaid \u015bledzi sekwencj\u0119 Twojego skryptu, aby okre\u015bli\u0107 rozmieszczenie uk\u0142adu.<\/li>\n<li><strong>U\u017cyj szczeg\u00f3\u0142\u00f3w, aby nada\u0107 kontekst:<\/strong>Nie zat\u0142aczaj g\u0142\u00f3wnej osi zbyt du\u017co tekstu. U\u017cyj formatu zdarzenia wieloliniowego, aby roz\u0142o\u017cy\u0107 \u201eco si\u0119 sta\u0142o\u201d, zamiast robi\u0107 etykiet\u0119 daty zbyt d\u0142ug\u0105.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Co to jest diagram czasowy? Diagram czasowy to narz\u0119dzie do wizualizacji chronologicznej s\u0142u\u017c\u0105ce do mapowania zdarze\u0144 lub punkt\u00f3w kontrolnych projektu wzd\u0142u\u017c liniowego odcinka czasu. Podczas gdy wykresy Gantta obs\u0142uguj\u0105 z\u0142o\u017cone zale\u017cno\u015bci zada\u0144 i ich trwanie, diagram czasowy skupia si\u0119 na&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":9,"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-2104","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 Timeline Syntax | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Document chronological project histories with Mermaid timeline charts in VPasCode, a lightweight 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\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mermaid Timeline Syntax | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Document chronological project histories with Mermaid timeline charts in VPasCode, a lightweight diagram-as-code tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-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_6a1904e148fe5.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minuty\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-timeline-syntax-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-timeline-syntax-guide\\\/\",\"name\":\"Mermaid Timeline Syntax | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-timeline-syntax-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-timeline-syntax-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a1904e148fe5.png\",\"datePublished\":\"2026-05-26T08:05:44+00:00\",\"description\":\"Document chronological project histories with Mermaid timeline charts in VPasCode, a lightweight diagram-as-code tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-timeline-syntax-guide\\\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-timeline-syntax-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-timeline-syntax-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a1904e148fe5.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/img_6a1904e148fe5.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/vpascode-docs\\\/mermaid-js-timeline-syntax-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Przewodnik po sk\u0142adni diagramu czasowego Mermaid.js\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/wp-content\\\/uploads\\\/sites\\\/9\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/pl\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mermaid Timeline Syntax | VPasCode Text to Diagram Guide","description":"Document chronological project histories with Mermaid timeline charts in VPasCode, a lightweight 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\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/","og_locale":"pl_PL","og_type":"article","og_title":"Mermaid Timeline Syntax | VPasCode Text to Diagram Guide","og_description":"Document chronological project histories with Mermaid timeline charts in VPasCode, a lightweight diagram-as-code tool.","og_url":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/","og_site_name":"VPasCode","og_image":[{"url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e148fe5.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Szacowany czas czytania":"2 minuty"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/","url":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/","name":"Mermaid Timeline Syntax | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/pl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e148fe5.png","datePublished":"2026-05-26T08:05:44+00:00","description":"Document chronological project histories with Mermaid timeline charts in VPasCode, a lightweight diagram-as-code tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/"]}]},{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e148fe5.png","contentUrl":"https:\/\/www.vpascode.com\/wp-content\/uploads\/2026\/05\/img_6a1904e148fe5.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/pl\/docs\/vpascode-docs\/mermaid-js-timeline-syntax-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/pl\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/pl\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"Przewodnik po sk\u0142adni diagramu czasowego Mermaid.js"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/pl\/#website","url":"https:\/\/www.vpascode.com\/pl\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/pl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/pl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/pl\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/pl\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/www.vpascode.com\/pl\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/pl\/wp-content\/uploads\/sites\/9\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/pl\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/ld_docs\/2104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/users\/4"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/media?parent=2104"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/pl\/wp-json\/wp\/v2\/ld_collection?post=2104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}