Skip to content

Connections in d2-legend disappear when exporting to svg #157

@presquilerecords

Description

@presquilerecords

Hello,

In VS code, I have some connections in a legend:

Image

When I export to svg (via "Compile D2 to SVG"), the connections seem to "disappear":

Image

PS: the 2 examples provided in the documentation seem to have the same issue (see https://d2lang.com/tour/legend/)
Example with the "good relationship" connection:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions