We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can successfully set stroke on both a shape and a connection, but stroke-dash is apparently ignored on shapes.
stroke
stroke-dash
Example:
a b: { style: { stroke: "#ff0000" stroke-dash: 4 } } a -> b: { style: { stroke: "#ff0000" stroke-dash: 4 } }
Generates the following output:
But what I want is this (obtained by manually editing the generated SVG):
The documentation doesn't specify that stroke-dash only applies to connections so I'd expect this to work.
d2 version: v0.0.13 on macOS
The text was updated successfully, but these errors were encountered:
ty for the report, this will be merged and included in the next release: #189
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I can successfully set
stroke
on both a shape and a connection, butstroke-dash
is apparently ignored on shapes.Example:
Generates the following output:
But what I want is this (obtained by manually editing the generated SVG):
The documentation doesn't specify that
stroke-dash
only applies to connections so I'd expect this to work.d2 version: v0.0.13 on macOS
The text was updated successfully, but these errors were encountered: