feat(flowchart): Allow default in the node ID

This commit is contained in:
Yash-Singh1
2021-11-25 13:35:24 -08:00
parent 17a23a1103
commit a3b2ba736d
10 changed files with 37 additions and 14 deletions

View File

@@ -643,4 +643,15 @@ flowchart RL
{htmlLabels: true, flowchart: {htmlLabels: true}, securityLevel: 'loose'}
);
});
it('2388: handling default in the node name', () => {
imgSnapshotTest(
`
flowchart LR
default-index.js --> dot.template.js
index.js --> module-utl.js
`,
{htmlLabels: true, flowchart: {htmlLabels: true}, securityLevel: 'loose'}
)
})
});