diff --git a/cSpell.json b/cSpell.json index 76f395915f..3ea9594f75 100644 --- a/cSpell.json +++ b/cSpell.json @@ -26,6 +26,7 @@ "città", "classdef", "codedoc", + "codemia", "colour", "commitlint", "cpettitt", diff --git a/cypress/integration/rendering/flowchart-v2.spec.js b/cypress/integration/rendering/flowchart-v2.spec.js index e23820ffa3..b7583ccf19 100644 --- a/cypress/integration/rendering/flowchart-v2.spec.js +++ b/cypress/integration/rendering/flowchart-v2.spec.js @@ -886,93 +886,4 @@ end }); }); }); - describe('Subgraph title margins', () => { - it('Should render subgraphs with title margins set (LR)', () => { - imgSnapshotTest( - `flowchart LR - - subgraph TOP - direction TB - subgraph B1 - direction RL - i1 -->f1 - end - subgraph B2 - direction BT - i2 -->f2 - end - end - A --> TOP --> B - B1 --> B2 - `, - { flowchart: { subGraphTitleMargin: { top: 10, bottom: 5 } } } - ); - }); - it('Should render subgraphs with title margins set (TD)', () => { - imgSnapshotTest( - `flowchart TD - - subgraph TOP - direction LR - subgraph B1 - direction RL - i1 -->f1 - end - subgraph B2 - direction BT - i2 -->f2 - end - end - A --> TOP --> B - B1 --> B2 - `, - { flowchart: { subGraphTitleMargin: { top: 8, bottom: 16 } } } - ); - }); - it('Should render subgraphs with title margins set (LR) and htmlLabels set to false', () => { - imgSnapshotTest( - `flowchart LR - - subgraph TOP - direction TB - subgraph B1 - direction RL - i1 -->f1 - end - subgraph B2 - direction BT - i2 -->f2 - end - end - A --> TOP --> B - B1 --> B2 - `, - { - htmlLabels: false, - flowchart: { htmlLabels: false, subGraphTitleMargin: { top: 10, bottom: 5 } }, - } - ); - }); - it('Should render subgraphs with title margins and edge labels', () => { - imgSnapshotTest( - `flowchart LR - - subgraph TOP - direction TB - subgraph B1 - direction RL - i1 --lb1-->f1 - end - subgraph B2 - direction BT - i2 --lb2-->f2 - end - end - A --lb3--> TOP --lb4--> B - B1 --lb5--> B2 - `, - { flowchart: { subGraphTitleMargin: { top: 10, bottom: 5 } } } - ); - }); - }); }); diff --git a/demos/sequence.html b/demos/sequence.html index 3345fed17a..b2733a384e 100644 --- a/demos/sequence.html +++ b/demos/sequence.html @@ -164,13 +164,6 @@

Sequence diagram demos

end -
-    sequenceDiagram
-      actor Alice
-      actor John
-      Alice-xJohn: Hello John, how are you?
-      John--xAlice: Great!
-