d2-playground icon indicating copy to clipboard operation
d2-playground copied to clipboard

Rendering artifacts when exporting to PNG with sketch mode on Firefox

Open UvixCreative opened this issue 1 year ago • 0 comments

When exporting to a PNG in the D2 playground on Firefox, weird rendering artifacts appear.

Conditions:

  • Any graph
  • Any layout engine
  • Sketch mode is enabled
  • D2 playground
  • On Firefox
  • Export to PNG
  • D2 version: v0.6.7-HEAD

This issue does not occur in Chromium, and it does not occur in Firefox when using the "watch" mode for d2 cli. I was not able to test this with exporting to PNG from CLI because I had problems getting playwright working and gave up.

thing -> other thing -> yet another thing

other thing -> example of a thing

image

UvixCreative avatar Oct 13 '24 23:10 UvixCreative