Skip to content
New issue

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

Is it possible that table or polygon (if exported to SVG) get round corners similar to border-radius? #21

Open
gusbemacbe opened this issue Nov 18, 2023 · 1 comment

Comments

@gusbemacbe
Copy link

Hello!

I would like to add the round corners for the HTML table element or SVG polygon element. I made a small test on a YAML file and it did not work:

styles:
  global:
    fillcolor: "#CCCCCC"
    strokeWidth: 4
    strokeLineCap: round
    strokeLineJoin: round
  male:
    color: "#2E3482"
    fillcolor: "#E1E1FF"
  female:
    color: "#E20042"
    fillcolor: "#FEF2F6"

The HTML table element does not have depreciated attributes similar to border-radius. The SVG polygon element has attributes, but they are not similar to border-radius because if you add the zero for the stroke-width attribute even if with stroke-linecap and stroke-linejoin attributes with the value round, you will not see the round corners. The addition of style for both these elements will not work either.

@gusbemacbe
Copy link
Author

Cc: @AlexanderWillner and @vorburger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant