test: Add test for edge marker color rendering

This commit is contained in:
Knut Sveidqvist
2025-03-12 10:45:26 +01:00
parent bb895d8cf4
commit f6335571cc

View File

@@ -917,4 +917,21 @@ graph TD
}
);
});
it('#6369: edge color should affect arrow head', () => {
imgSnapshotTest(
`
flowchart LR
A --> B
A --> C
C --> D
linkStyle 0 stroke:#D50000
linkStyle 2 stroke:#D50000
`,
{
flowchart: { htmlLabels: true },
securityLevel: 'loose',
}
);
});
});