File tree 1 file changed +43
-0
lines changed
cypress/integration/rendering
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -857,6 +857,49 @@ flowchart LR
857
857
D --> E
858
858
A["A"]
859
859
860
+ ` ,
861
+ { flowchart : { titleTopMargin : 0 } }
862
+ ) ;
863
+ } ) ;
864
+ it ( '6080: should handle diamond shape intersections' , ( ) => {
865
+ imgSnapshotTest (
866
+ `---
867
+ config:
868
+ layout: elk
869
+ ---
870
+ flowchart LR
871
+ subgraph s1["Untitled subgraph"]
872
+ n1["Evaluate"]
873
+ n2["Option 1"]
874
+ n3["Option 2"]
875
+ n4["fa:fa-car Option 3"]
876
+ end
877
+ subgraph s2["Untitled subgraph"]
878
+ n5["Evaluate"]
879
+ n6["Option 1"]
880
+ n7["Option 2"]
881
+ n8["fa:fa-car Option 3"]
882
+ end
883
+ A["Start"] -- Some text --> B("Continue")
884
+ B --> C{"Evaluate"}
885
+ C -- One --> D["Option 1"]
886
+ C -- Two --> E["Option 2"]
887
+ C -- Three --> F["fa:fa-car Option 3"]
888
+ n1 -- One --> n2
889
+ n1 -- Two --> n3
890
+ n1 -- Three --> n4
891
+ n5 -- One --> n6
892
+ n5 -- Two --> n7
893
+ n5 -- Three --> n8
894
+ n1@{ shape: diam}
895
+ n2@{ shape: rect}
896
+ n3@{ shape: rect}
897
+ n4@{ shape: rect}
898
+ n5@{ shape: diam}
899
+ n6@{ shape: rect}
900
+ n7@{ shape: rect}
901
+ n8@{ shape: rect}
902
+
860
903
` ,
861
904
{ flowchart : { titleTopMargin : 0 } }
862
905
) ;
You can’t perform that action at this time.
0 commit comments