From a3d95ceec44d0a98e79a9f1c7131e0443567e6cc Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 6 Jul 2023 11:36:16 +0530 Subject: [PATCH 1/4] Bump zenuml package version --- packages/mermaid-zenuml/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid-zenuml/package.json b/packages/mermaid-zenuml/package.json index cb8da96b6..1050dd781 100644 --- a/packages/mermaid-zenuml/package.json +++ b/packages/mermaid-zenuml/package.json @@ -1,6 +1,6 @@ { "name": "@mermaid-js/mermaid-zenuml", - "version": "0.1.0", + "version": "0.1.1", "description": "MermaidJS plugin for ZenUML integration", "module": "dist/mermaid-zenuml.core.mjs", "types": "dist/detector.d.ts", From 60cf043c3d2c10a7f0bc048272a4fa3e36cc17b6 Mon Sep 17 00:00:00 2001 From: Brian Graham <379322+Incognito@users.noreply.github.com> Date: Sun, 23 Jul 2023 08:27:54 +0200 Subject: [PATCH 2/4] Corrects name of C4 link --- packages/mermaid/src/docs/.vitepress/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid/src/docs/.vitepress/config.ts b/packages/mermaid/src/docs/.vitepress/config.ts index 8fceb810b..054b57ae3 100644 --- a/packages/mermaid/src/docs/.vitepress/config.ts +++ b/packages/mermaid/src/docs/.vitepress/config.ts @@ -134,7 +134,7 @@ function sidebarSyntax() { { text: 'Quadrant Chart', link: '/syntax/quadrantChart' }, { text: 'Requirement Diagram', link: '/syntax/requirementDiagram' }, { text: 'Gitgraph (Git) Diagram 馃敟', link: '/syntax/gitgraph' }, - { text: 'C4C Diagram (Context) Diagram 馃鈿狅笍', link: '/syntax/c4c' }, + { text: 'C4 Diagram 馃鈿狅笍', link: '/syntax/c4c' }, { text: 'Mindmaps 馃敟', link: '/syntax/mindmap' }, { text: 'Timeline 馃敟', link: '/syntax/timeline' }, { text: 'Zenuml 馃敟', link: '/syntax/zenuml' }, From 28bb0df6c8017c5f2be29f7f47231e20fe4362b3 Mon Sep 17 00:00:00 2001 From: Steph <35910788+huynhicode@users.noreply.github.com> Date: Tue, 18 Jul 2023 07:27:56 -0700 Subject: [PATCH 3/4] update latest news section --- docs/news/announcements.md | 6 +++--- docs/news/blog.md | 6 ++++++ packages/mermaid/src/docs/news/announcements.md | 6 +++--- packages/mermaid/src/docs/news/blog.md | 6 ++++++ 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/docs/news/announcements.md b/docs/news/announcements.md index ff67c57d0..b7620ec09 100644 --- a/docs/news/announcements.md +++ b/docs/news/announcements.md @@ -6,8 +6,8 @@ # Announcements -## [Mermaid Chart鈥檚 ChatGPT Plugin Combines Generative AI and Smart Diagramming For Users](https://www.mermaidchart.com/blog/posts/mermaid-chart-chatgpt-plugin-combines-generative-ai-and-smart-diagramming) +## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin) -29 June 2023 路 4 mins +17 July 2023 路 3 mins -Mermaid Chart鈥檚 new ChatGPT plugin integrates AI-powered text prompts with Mermaid鈥檚 intuitive diagramming editor, enabling users to generate, edit, and share complex diagrams with ease and efficiency. +New Integration Enhances Workflows By Enabling Developers To Reference And Edit Diagrams Within Visual Studio Code. diff --git a/docs/news/blog.md b/docs/news/blog.md index 6b187d406..8701569b1 100644 --- a/docs/news/blog.md +++ b/docs/news/blog.md @@ -6,6 +6,12 @@ # Blog +## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin) + +17 July 2023 路 3 mins + +New Integration Enhances Workflows By Enabling Developers To Reference And Edit Diagrams Within Visual Studio Code. + ## [Mermaid Chart鈥檚 ChatGPT Plugin Combines Generative AI and Smart Diagramming For Users](https://www.mermaidchart.com/blog/posts/mermaid-chart-chatgpt-plugin-combines-generative-ai-and-smart-diagramming) 29 June 2023 路 4 mins diff --git a/packages/mermaid/src/docs/news/announcements.md b/packages/mermaid/src/docs/news/announcements.md index b8d0669ec..c4313a7f1 100644 --- a/packages/mermaid/src/docs/news/announcements.md +++ b/packages/mermaid/src/docs/news/announcements.md @@ -1,7 +1,7 @@ # Announcements -## [Mermaid Chart鈥檚 ChatGPT Plugin Combines Generative AI and Smart Diagramming For Users](https://www.mermaidchart.com/blog/posts/mermaid-chart-chatgpt-plugin-combines-generative-ai-and-smart-diagramming) +## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin) -29 June 2023 路 4 mins +17 July 2023 路 3 mins -Mermaid Chart鈥檚 new ChatGPT plugin integrates AI-powered text prompts with Mermaid鈥檚 intuitive diagramming editor, enabling users to generate, edit, and share complex diagrams with ease and efficiency. +New Integration Enhances Workflows By Enabling Developers To Reference And Edit Diagrams Within Visual Studio Code. diff --git a/packages/mermaid/src/docs/news/blog.md b/packages/mermaid/src/docs/news/blog.md index b536cb87e..d3f5f70af 100644 --- a/packages/mermaid/src/docs/news/blog.md +++ b/packages/mermaid/src/docs/news/blog.md @@ -1,5 +1,11 @@ # Blog +## [Mermaid Chart Announces Visual Studio Code Plugin to Simplify Development Workflows](https://www.mermaidchart.com/blog/posts/mermaid-chart-announces-visual-studio-code-plugin) + +17 July 2023 路 3 mins + +New Integration Enhances Workflows By Enabling Developers To Reference And Edit Diagrams Within Visual Studio Code. + ## [Mermaid Chart鈥檚 ChatGPT Plugin Combines Generative AI and Smart Diagramming For Users](https://www.mermaidchart.com/blog/posts/mermaid-chart-chatgpt-plugin-combines-generative-ai-and-smart-diagramming) 29 June 2023 路 4 mins From 27d98728a6ff25797528c504bf1e71572969fe2a Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 25 Jul 2023 17:42:12 +0530 Subject: [PATCH 4/4] chore: Rename C4C to C4 --- docs/syntax/{c4c.md => c4.md} | 6 +++--- packages/mermaid/src/docs/.vitepress/config.ts | 2 +- packages/mermaid/src/docs/.vitepress/theme/redirect.ts | 3 ++- packages/mermaid/src/docs/syntax/{c4c.md => c4.md} | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) rename docs/syntax/{c4c.md => c4.md} (99%) rename packages/mermaid/src/docs/syntax/{c4c.md => c4.md} (99%) diff --git a/docs/syntax/c4c.md b/docs/syntax/c4.md similarity index 99% rename from docs/syntax/c4c.md rename to docs/syntax/c4.md index dd5fa21b0..5c8967168 100644 --- a/docs/syntax/c4c.md +++ b/docs/syntax/c4.md @@ -2,13 +2,13 @@ > > ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT. > -> ## Please edit the corresponding file in [/packages/mermaid/src/docs/syntax/c4c.md](../../packages/mermaid/src/docs/syntax/c4c.md). +> ## Please edit the corresponding file in [/packages/mermaid/src/docs/syntax/c4.md](../../packages/mermaid/src/docs/syntax/c4.md). # C4 Diagrams > C4 Diagram: This is an experimental diagram for now. The syntax and properties can change in future releases. Proper documentation will be provided when the syntax is stable. -Mermaid's c4 diagram syntax is compatible with plantUML. See example below: +Mermaid's C4 diagram syntax is compatible with plantUML. See example below: ```mermaid-example C4Context @@ -114,7 +114,7 @@ For an example, see the source code demos/index.html - Dynamic diagram (C4Dynamic) - Deployment diagram (C4Deployment) -Please refer to the linked document [C4-PlantUML syntax](https://github.com/plantuml-stdlib/C4-PlantUML/blob/master/README.md) for how to write the c4 diagram. +Please refer to the linked document [C4-PlantUML syntax](https://github.com/plantuml-stdlib/C4-PlantUML/blob/master/README.md) for how to write the C4 diagram. C4 diagram is fixed style, such as css color, so different css is not provided under different skins. updateElementStyle and UpdateElementStyle are written in the diagram last part. updateElementStyle is inconsistent with the original definition and updates the style of the relationship, including the offset of the text label relative to the original position. diff --git a/packages/mermaid/src/docs/.vitepress/config.ts b/packages/mermaid/src/docs/.vitepress/config.ts index 054b57ae3..b7b952950 100644 --- a/packages/mermaid/src/docs/.vitepress/config.ts +++ b/packages/mermaid/src/docs/.vitepress/config.ts @@ -134,7 +134,7 @@ function sidebarSyntax() { { text: 'Quadrant Chart', link: '/syntax/quadrantChart' }, { text: 'Requirement Diagram', link: '/syntax/requirementDiagram' }, { text: 'Gitgraph (Git) Diagram 馃敟', link: '/syntax/gitgraph' }, - { text: 'C4 Diagram 馃鈿狅笍', link: '/syntax/c4c' }, + { text: 'C4 Diagram 馃鈿狅笍', link: '/syntax/c4' }, { text: 'Mindmaps 馃敟', link: '/syntax/mindmap' }, { text: 'Timeline 馃敟', link: '/syntax/timeline' }, { text: 'Zenuml 馃敟', link: '/syntax/zenuml' }, diff --git a/packages/mermaid/src/docs/.vitepress/theme/redirect.ts b/packages/mermaid/src/docs/.vitepress/theme/redirect.ts index 936d6f7e2..24b9a4d1f 100644 --- a/packages/mermaid/src/docs/.vitepress/theme/redirect.ts +++ b/packages/mermaid/src/docs/.vitepress/theme/redirect.ts @@ -28,7 +28,7 @@ const idRedirectMap: Record = { '8.6.0_docs': '', accessibility: 'config/theming', breakingchanges: '', - c4c: 'syntax/c4c', + c4c: 'syntax/c4', classdiagram: 'syntax/classDiagram', configuration: 'config/configuration', demos: 'ecosystem/integrations', @@ -70,6 +70,7 @@ const idRedirectMap: Record = { const urlRedirectMap: Record = { '/misc/faq.html': 'configure/faq.html', + '/syntax/c4c.html': 'syntax/c4.html', }; /** diff --git a/packages/mermaid/src/docs/syntax/c4c.md b/packages/mermaid/src/docs/syntax/c4.md similarity index 99% rename from packages/mermaid/src/docs/syntax/c4c.md rename to packages/mermaid/src/docs/syntax/c4.md index 78528f7b9..489b423c0 100644 --- a/packages/mermaid/src/docs/syntax/c4c.md +++ b/packages/mermaid/src/docs/syntax/c4.md @@ -2,7 +2,7 @@ > C4 Diagram: This is an experimental diagram for now. The syntax and properties can change in future releases. Proper documentation will be provided when the syntax is stable. -Mermaid's c4 diagram syntax is compatible with plantUML. See example below: +Mermaid's C4 diagram syntax is compatible with plantUML. See example below: ```mermaid-example C4Context @@ -61,7 +61,7 @@ For an example, see the source code demos/index.html - Dynamic diagram (C4Dynamic) - Deployment diagram (C4Deployment) -Please refer to the linked document [C4-PlantUML syntax](https://github.com/plantuml-stdlib/C4-PlantUML/blob/master/README.md) for how to write the c4 diagram. +Please refer to the linked document [C4-PlantUML syntax](https://github.com/plantuml-stdlib/C4-PlantUML/blob/master/README.md) for how to write the C4 diagram. C4 diagram is fixed style, such as css color, so different css is not provided under different skins. updateElementStyle and UpdateElementStyle are written in the diagram last part. updateElementStyle is inconsistent with the original definition and updates the style of the relationship, including the offset of the text label relative to the original position.