#918 Fix for issue with nodes starting with a number in a subgraph

This commit is contained in:
knsv
2019-09-01 00:44:48 -07:00
parent 27d0b934a1
commit 699bd61045
26 changed files with 63 additions and 4 deletions

View File

@@ -149,6 +149,12 @@ describe('Flowcart', () => {
{})
})
it('should render labels with numbers at the start', async () => {
await imgSnapshotTest(page, `
graph TB;subgraph "number as labels";1;end;
`,
{})
})
it('should render subgraphs', async () => {
await imgSnapshotTest(page, `
graph TB