This commit is contained in:
Knut Sveidqvist
2021-05-09 15:34:02 +02:00
parent 43f6ae7ba0
commit d3d0df59cb
2 changed files with 20 additions and 8 deletions

View File

@@ -398,6 +398,26 @@ stateDiagram-v2
}
);
});
it('v2 should handle different rendering directions in composite states', () => {
imgSnapshotTest(
`
stateDiagram
direction LR
state A {
direction BT
a --> b
}
state C {
direction RL
c --> d
}
A --> C
`,
{
logLevel: 0, fontFamily: 'courier',
}
);
});
it('v2 handle transition from one state in a composite state to a composite state', () => {
imgSnapshotTest(
`