Declan Whelan
Declan Whelan
> Cypress e2e image snapshots actually use the same library as the recommended library for [vitest image snapshots](https://vitest.dev/guide/snapshot.html#image-snapshots)! Yes. The improvement I am foreseeing is not from the library but...
I have results from using vitest _non-image_ snapshots. So in a snapshot the `document.body` is serialized as a string to a vitest snapshot file. I cloned `classDiagram-v2.spec.js` cypress test and...
> Can't shake the feeling that we're doing some config wrong. What's your gut feel @sidharthv96? Say more ... I would be happy to provide a fresh set of eyes...
I just checked Obsidian PDF export of: ```mermaid graph TD; A --> B --> C ``` And the PDF looks like: So I think this is no longer an issue.
This will be fixed by #1871 which created unique marker ids for each marker.
Hey @sidharthv96! I have a fix for #1871 where markers spilled over with multiple diagrams on the same html page. The fix was to create unique id's for each marker...
I believe the challenge here is that the arrowheads (markers) are actually shared by all lines that use them whereas the line is unique. So updating the color of the...
Hey thanks for the great feedback @knsv! I will definitely try all the things you mentioned. I didn't catch these errors locally because I could not get a clean `e2e`...
@knsv I have a fix for this where the marker id is now prefixed with the id of its diagram svg element. I think this is an important fix as...
@chrisjowen were you able to resolve this?