diff --git a/cypress/platform/neo-test.html b/cypress/platform/neo-test.html index ba47fd652..1dbf8fbec 100644 --- a/cypress/platform/neo-test.html +++ b/cypress/platform/neo-test.html @@ -95,9 +95,8 @@ neo-dark neo-default neo-forest - handdrawn + handdrawn-default classic-default - @@ -105,9 +104,10 @@
-      stateId
-  
+ stateId +
+
@@ -174,21 +174,21 @@ stateDiagram-v2
       
       
         
-%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
-stateDiagram-v2
-    state "This is a state description" as s2
-      
- - -
 %%{init: {"look": "neo", "theme": "neo","fontFamily": "Arial"} }%%
 stateDiagram-v2
     state "This is a state description" as s2
       
-
+        
 %%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
+stateDiagram-v2
+    state "This is a state description" as s2
+      
+ + +
+%%{init: {"look": "neo", "theme": "default","fontFamily": "Arial"} }%%
 stateDiagram-v2
     state "This is a state description" as s3
       
@@ -202,7 +202,14 @@ stateDiagram-v2
-%%{init: {"look": "neo", "theme": "base","fontFamily": "Arial"} }%%
+%%{init: {"look": "handdrawn", "theme": "default","fontFamily": "Arial"} }%%
+stateDiagram-v2
+    state "This is a state description" as s4
+      
+ + +
+%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
 stateDiagram-v2
     state "This is a state description" as s4
       
@@ -224,23 +231,23 @@ stateDiagram-v2 - -
-          %%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
-stateDiagram-v2
-    s21 : This is a state description
-      
-
           %%{init: {"look": "neo", "theme": "neo","fontFamily": "Arial"} }%%
+stateDiagram-v2
+    s21 : This is a state description
+      
+ + +
+          %%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
 stateDiagram-v2
     s21 : This is a state description
       
-%%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
+%%{init: {"look": "neo", "theme": "default","fontFamily": "Arial"} }%%
 stateDiagram-v2
     s22 : This is a state description
 
@@ -256,13 +263,20 @@ stateDiagram-v2
       
       
         
-%%{init: {"look": "neo", "theme": "base","fontFamily": "Arial"} }%%
+%%{init: {"look": "handdrawn", "theme": "default","fontFamily": "Arial"} }%%
 stateDiagram-v2
     s23 : This is a state description
 
       
+ +
+%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
+stateDiagram-v2
+    s23 : This is a state description
 
+      
+ @@ -285,14 +299,6 @@ stateDiagram-v2
-%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
-    stateDiagram-v2
-    s31 --> s32
-
-      
- - -
 %%{init: {"look": "neo", "theme": "neo","fontFamily": "Arial"} }%%
     stateDiagram-v2
     s31 --> s32
@@ -300,8 +306,16 @@ stateDiagram-v2
       
-
+        
 %%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
+    stateDiagram-v2
+    s31 --> s32
+
+      
+ + +
+%%{init: {"look": "neo", "theme": "default","fontFamily": "Arial"} }%%
 
    stateDiagram-v2
     s41 --> s42
@@ -310,7 +324,7 @@ stateDiagram-v2
       
-
+        
 %%{init: {"look": "neo", "theme": "forest","fontFamily": "Arial"} }%%
 
      stateDiagram-v2
@@ -318,10 +332,19 @@ stateDiagram-v2
 
 
         
- - + +
-%%{init: {"look": "neo", "theme": "base","fontFamily": "Arial"} }%%
+%%{init: {"look": "handdrawn", "theme": "default","fontFamily": "Arial"} }%%
+stateDiagram-v2
+    s61 --> s62
+
+
+      
+ + +
+%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
 stateDiagram-v2
     s61 --> s62
 
@@ -329,14 +352,12 @@ stateDiagram-v2
       
- -
-%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
-    stateDiagram-v2
-    state if_state <>
-    [*] --> IsPositive
-    IsPositive --> if_state
-    if_state --> False: if n < 0
-    if_state --> True : if n >= 0
+%%{init: {"look": "neo", "theme": "neo","fontFamily": "Arial"} }%%
+                    stateDiagram-v2
+                      state if_state <>
+                      [*] --> IsPositive
+                      IsPositive --> if_state
+                      if_state --> False: if n < 0
+                      if_state --> True : if n >= 0
       
-%%{init: {"look": "neo", "theme": "neo","fontFamily": "Arial"} }%%
+%%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
     stateDiagram-v2
     state if_state <>
     [*] --> IsPositive
@@ -922,7 +1008,7 @@ stateDiagram-v2
       
       
         
-%%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
+%%{init: {"look": "neo", "theme": "default","fontFamily": "Arial"} }%%
 
    stateDiagram-v2
    state if_state <>
@@ -932,8 +1018,8 @@ stateDiagram-v2
     if_state --> True : if n >= 0
       
- -
+      
+        
 %%{init: {"look": "neo", "theme": "forest","fontFamily": "Arial"} }%%
 
      stateDiagram-v2
@@ -943,10 +1029,21 @@ stateDiagram-v2
       if_state --> False: if n < 0
       if_state --> True : if n >= 0
         
- - + +
-%%{init: {"look": "neo", "theme": "base","fontFamily": "Arial"} }%%
+%%{init: {"look": "handdrawn", "theme": "default","fontFamily": "Arial"} }%%
+ stateDiagram-v2
+   state if_state <>
+    [*] --> IsPositive
+    IsPositive --> if_state
+    if_state --> False: if n < 0
+    if_state --> True : if n >= 0
+      
+ + +
+%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
  stateDiagram-v2
    state if_state <>
     [*] --> IsPositive
@@ -955,7 +1052,6 @@ stateDiagram-v2
     if_state --> True : if n >= 0
       
- @@ -989,23 +1085,6 @@ stateDiagram-v2
-%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
-   stateDiagram-v2
-    state fork_state <>
-      [*] --> fork_state
-      fork_state --> State2
-      fork_state --> State3
-
-      state join_state <>
-      State2 --> join_state
-      State3 --> join_state
-      join_state --> State4
-      State4 --> [*]
-
-      
- - -
 %%{init: {"look": "neo", "theme": "neo","fontFamily": "Arial"} }%%
    stateDiagram-v2
     state fork_state <>
@@ -1022,7 +1101,7 @@ stateDiagram-v2
       
-
+        
 %%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
    stateDiagram-v2
     state fork_state <>
@@ -1040,6 +1119,23 @@ stateDiagram-v2
       
       
         
+%%{init: {"look": "neo", "theme": "default","fontFamily": "Arial"} }%%
+   stateDiagram-v2
+    state fork_state <>
+      [*] --> fork_state
+      fork_state --> State2
+      fork_state --> State3
+
+      state join_state <>
+      State2 --> join_state
+      State3 --> join_state
+      join_state --> State4
+      State4 --> [*]
+
+      
+ + +
 %%{init: {"look": "neo", "theme": "forest","fontFamily": "Arial"} }%%
    stateDiagram-v2
     state fork_state <>
@@ -1057,7 +1153,7 @@ stateDiagram-v2
       
       
         
-%%{init: {"look": "neo", "theme": "base","fontFamily": "Arial"} }%%
+%%{init: {"look": "handdrawn", "theme": "default","fontFamily": "Arial"} }%%
    stateDiagram-v2
     state fork_state <>
       [*] --> fork_state
@@ -1072,7 +1168,23 @@ stateDiagram-v2
 
       
+ +
+%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
+   stateDiagram-v2
+    state fork_state <>
+      [*] --> fork_state
+      fork_state --> State2
+      fork_state --> State3
 
+      state join_state <>
+      State2 --> join_state
+      State3 --> join_state
+      join_state --> State4
+      State4 --> [*]
+
+      
+ @@ -1101,20 +1213,6 @@ stateDiagram-v2
-%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
-   stateDiagram-v2
-     TN1: The state with a note
-        note right of TN1
-            Important information! You can write
-            notes.
-        end note
-        TN1 --> TN2
-        note left of TN2 : This is the note to the left.
-
-      
- - -
 %%{init: {"look": "neo", "theme": "neo","fontFamily": "Arial"} }%%
    stateDiagram-v2
      TN1: The state with a note
@@ -1128,8 +1226,22 @@ stateDiagram-v2
       
-
+        
 %%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
+   stateDiagram-v2
+     TN1: The state with a note
+        note right of TN1
+            Important information! You can write
+            notes.
+        end note
+        TN1 --> TN2
+        note left of TN2 : This is the note to the left.
+
+      
+ + +
+%%{init: {"look": "neo", "theme": "default","fontFamily": "Arial"} }%%
    stateDiagram-v2
      TN3: The state with a note
         note right of TN3
@@ -1155,7 +1267,21 @@ stateDiagram-v2
       
       
         
-%%{init: {"look": "neo", "theme": "base","fontFamily": "Arial"} }%%
+%%{init: {"look": "handdrawn", "theme": "default","fontFamily": "Arial"} }%%
+   stateDiagram-v2
+     TN5: The state with a note
+        note right of TN5
+            Important information! You can write
+            notes.
+        end note
+        TN5 --> TN6
+        note left of TN6 : This is the note to the left.
+
+      
+ + +
+%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
    stateDiagram-v2
      TN5: The state with a note
         note right of TN5
@@ -1205,28 +1331,6 @@ state Active {
       
       
         
-%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
-     stateDiagram-v2
-    [*] --> Active
-
-    state Active {
-        [*] --> NumLockOff
-        NumLockOff --> NumLockOn : EvNumLockPressed
-        NumLockOn --> NumLockOff : EvNumLockPressed
-        --
-        [*] --> CapsLockOff
-        CapsLockOff --> CapsLockOn : EvCapsLockPressed
-        CapsLockOn --> CapsLockOff : EvCapsLockPressed
-        --
-        [*] --> ScrollLockOff
-        ScrollLockOff --> ScrollLockOn : EvScrollLockPressed
-        ScrollLockOn --> ScrollLockOff : EvScrollLockPressed
-    }
-
-      
- - -
 %%{init: {"look": "neo", "theme": "neo","fontFamily": "Arial"} }%%
      stateDiagram-v2
     [*] --> Active
@@ -1248,11 +1352,33 @@ state Active {
       
-
+        
 %%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
      stateDiagram-v2
     [*] --> Active
 
+    state Active {
+        [*] --> NumLockOff
+        NumLockOff --> NumLockOn : EvNumLockPressed
+        NumLockOn --> NumLockOff : EvNumLockPressed
+        --
+        [*] --> CapsLockOff
+        CapsLockOff --> CapsLockOn : EvCapsLockPressed
+        CapsLockOn --> CapsLockOff : EvCapsLockPressed
+        --
+        [*] --> ScrollLockOff
+        ScrollLockOff --> ScrollLockOn : EvScrollLockPressed
+        ScrollLockOn --> ScrollLockOff : EvScrollLockPressed
+    }
+
+      
+ + +
+%%{init: {"look": "neo", "theme": "default","fontFamily": "Arial"} }%%
+     stateDiagram-v2
+    [*] --> Active
+
     state Active {
         [*] --> NumLockOff
         NumLockOff --> NumLockOn : EvNumLockPressed
@@ -1291,7 +1417,7 @@ state Active {
       
       
         
-%%{init: {"look": "neo", "theme": "base","fontFamily": "Arial"} }%%
+%%{init: {"look": "handdrawn", "theme": "default","fontFamily": "Arial"} }%%
      stateDiagram-v2
     [*] --> Active
 
@@ -1312,6 +1438,28 @@ state Active {
       
+ +
+%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
+     stateDiagram-v2
+    [*] --> Active
+
+    state Active {
+        [*] --> NumLockOff
+        NumLockOff --> NumLockOn : EvNumLockPressed
+        NumLockOn --> NumLockOff : EvNumLockPressed
+        --
+        [*] --> CapsLockOff
+        CapsLockOff --> CapsLockOn : EvCapsLockPressed
+        CapsLockOn --> CapsLockOff : EvCapsLockPressed
+        --
+        [*] --> ScrollLockOff
+        ScrollLockOff --> ScrollLockOn : EvScrollLockPressed
+        ScrollLockOn --> ScrollLockOff : EvScrollLockPressed
+    }
+
+      
+ @@ -1343,21 +1491,6 @@ direction LR
-%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
-     stateDiagram-v2
-    direction LR
-    [*] --> D1
-    D1 --> D2
-    D2 --> D3
-    state D3 {
-      direction TB
-      D11 --> D22
-    }
-    D2 --> D4
-      
- - -
 %%{init: {"look": "neo", "theme": "neo","fontFamily": "Arial"} }%%
      stateDiagram-v2
     direction LR
@@ -1372,9 +1505,24 @@ direction LR
       
-
+        
 %%{init: {"look": "neo", "theme": "dark","fontFamily": "Arial"} }%%
      stateDiagram-v2
+    direction LR
+    [*] --> D1
+    D1 --> D2
+    D2 --> D3
+    state D3 {
+      direction TB
+      D11 --> D22
+    }
+    D2 --> D4
+      
+ + +
+%%{init: {"look": "neo", "theme": "default","fontFamily": "Arial"} }%%
+     stateDiagram-v2
    direction LR
     [*] --> D1
     D1 --> D2
@@ -1403,7 +1551,22 @@ direction LR
       
       
         
-%%{init: {"look": "neo", "theme": "base","fontFamily": "Arial"} }%%
+%%{init: {"look": "handdrawn", "theme": "default","fontFamily": "Arial"} }%%
+     stateDiagram-v2
+    direction LR
+    [*] --> D1
+    D1 --> D2
+    D2 --> D3
+    state D3 {
+      direction TB
+      D11 --> D22
+    }
+    D2 --> D4
+      
+ + +
+%%{init: {"look": "classic", "theme": "default","fontFamily": "Arial"} }%%
      stateDiagram-v2
     direction LR
     [*] --> D1
@@ -1416,7 +1579,6 @@ direction LR
     D2 --> D4
       
- @@ -1469,7 +1631,7 @@ direction LR let coll = document.getElementsByClassName("collapsible"); for (const element of coll) { - element.addEventListener("click", function () { + element.addEventListener("click", function () { this.classList.toggle("active"); let content = this.nextElementSibling; if (content.style.maxHeight) {