From 2f6d728123e392d1d52ee132da63ab4280cb8bb3 Mon Sep 17 00:00:00 2001 From: Per Brolin Date: Fri, 14 Jun 2024 14:45:24 +0200 Subject: [PATCH] Added attribute data-look to composite and nested states --- cypress/platform/per.html | 27 +++++++++---------- .../platform/state-refactor-neo-themes.html | 15 ++++++++--- docs/neo-style-to-do | 11 +++++--- .../rendering-elements/clusters.js | 6 +++-- packages/mermaid/src/styles.ts | 7 +++++ packages/mermaid/src/themes/theme-neo.js | 3 +-- 6 files changed, 43 insertions(+), 26 deletions(-) diff --git a/cypress/platform/per.html b/cypress/platform/per.html index b2484e848..e865b55e6 100644 --- a/cypress/platform/per.html +++ b/cypress/platform/per.html @@ -90,24 +90,23 @@ stateDiagram-v2 >
-      stateDiagram
-       StateA
-
+      stateDiagram-v2
+      [*] --> First
+      state First {
+          [*] --> second
+          second --> [*]
+      }
 
 
     
-      stateDiagram
-        direction LR
-        [*] --> A
-        A --> B
-        B --> C
-        state B {
-          direction LR
-          a --> b
-        }
-        B --> D
+      flowchart LR
+        A[Start] --Some text--> B(Continue)
+        B --> C{Evaluate}
+        C -- One --> D[Option 1]
+        C -- Two --> E[Option 2]
+        C -- Three --> F[fa:fa-car Option 3]