#6186 Fix for flowchart new syntax with link

This commit is contained in:
Ashish Jain
2025-01-15 13:45:04 +01:00
parent 04800ff677
commit 1d9c2aab8d
3 changed files with 25 additions and 1 deletions

View File

@@ -1103,5 +1103,14 @@ end
{}
);
});
it('should be possible to use @ syntax to add labels with trail spaces and edge/link', () => {
imgSnapshotTest(
`flowchart TD
A["A"] --> B["for B"] & C@{ label: "for c"} & E@{label : "for E"}
D@{label: "for D"}
`,
{}
);
});
});
});