From 769d5660f5ed63f5cd8323d9a66cf4f1fff310b9 Mon Sep 17 00:00:00 2001 From: NicolasNewman Date: Thu, 16 May 2024 11:26:58 -0500 Subject: [PATCH] feat(arch): added aws icons --- demos/architecture.html | 12 + packages/mermaid/src/config.type.ts | 16 +- packages/mermaid/src/mermaidAPI.ts | 11 +- .../src/rendering-util/svg/aws/aws_common.ts | 237 ++ .../src/rendering-util/svg/aws/aws_full.ts | 2816 +++++++++++++++++ .../rendering-util/svg/{ => default}/blank.ts | 2 +- .../rendering-util/svg/{ => default}/cloud.ts | 2 +- .../svg/{ => default}/database.ts | 2 +- .../rendering-util/svg/{ => default}/disk.ts | 2 +- .../svg/{ => default}/internet.ts | 2 +- .../svg/{ => default}/server.ts | 2 +- .../svg/{ => default}/unknown.ts | 4 +- .../mermaid/src/rendering-util/svg/index.ts | 16 +- .../mermaid/src/rendering-util/svgRegister.ts | 2 +- .../mermaid/src/schemas/config.schema.yaml | 2 +- 15 files changed, 3101 insertions(+), 27 deletions(-) create mode 100644 packages/mermaid/src/rendering-util/svg/aws/aws_common.ts create mode 100644 packages/mermaid/src/rendering-util/svg/aws/aws_full.ts rename packages/mermaid/src/rendering-util/svg/{ => default}/blank.ts (76%) rename packages/mermaid/src/rendering-util/svg/{ => default}/cloud.ts (92%) rename packages/mermaid/src/rendering-util/svg/{ => default}/database.ts (95%) rename packages/mermaid/src/rendering-util/svg/{ => default}/disk.ts (96%) rename packages/mermaid/src/rendering-util/svg/{ => default}/internet.ts (95%) rename packages/mermaid/src/rendering-util/svg/{ => default}/server.ts (97%) rename packages/mermaid/src/rendering-util/svg/{ => default}/unknown.ts (81%) diff --git a/demos/architecture.html b/demos/architecture.html index 32edb6f1d..163afff0a 100644 --- a/demos/architecture.html +++ b/demos/architecture.html @@ -226,6 +226,17 @@
+

AWS Icon Demo

+
+    architecture
+      service s3(s3)[Cloud Store]
+      service ec2(ec2)[Server]
+      service wave(wavelength)[Wave]
+
+      s3 L--R ec2
+      s3 T--B wave
+  
+