From 703c25a6e2ff69087634486f108c455adb34a5a8 Mon Sep 17 00:00:00 2001 From: Ashish Jain Date: Tue, 30 Apr 2024 16:57:57 +0200 Subject: [PATCH] #5237 node text cut off --- cypress/platform/knsv2.html | 6 +----- packages/mermaid/src/diagrams/state/stateDb.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cypress/platform/knsv2.html b/cypress/platform/knsv2.html index 718fdfcdf..803daa224 100644 --- a/cypress/platform/knsv2.html +++ b/cypress/platform/knsv2.html @@ -78,11 +78,7 @@
 stateDiagram-v2
-    [*] --> First
-    state First {
-        [*] --> second
-        second --> [*]
-    }
+    stateId
 
 
   
{ extract(getRootDocV2()); const diagramStates = getStates(); - const useRough = true; + const useRough = false; dataFetcher(undefined, getRootDocV2(), diagramStates, nodes, edges, true, useRough); return { nodes, edges, other: {} };