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

Graph highlighting cannot render rounded rectangle using rx and ry #3549

Closed
johnnylc opened this issue Apr 27, 2023 · 2 comments
Closed

Graph highlighting cannot render rounded rectangle using rx and ry #3549

johnnylc opened this issue Apr 27, 2023 · 2 comments

Comments

@johnnylc
Copy link

Describe the bug

Set the highlighting parameter as below:

highlighting: {
    magnetAvailable: {
      name: "stroke",
      args: {
        rx:4,
        ry:4,
        padding: 4,
        attrs: {
          "stroke-width": 2,
          stroke: "red",
        },
      },
    },
  },

the box is just a rectangle without rounded corners.

Your Example Website or App

xxx

Steps to Reproduce the Bug or Issue

Set highlighting parameter as above, then check the rendered scene.

Expected behavior

Rectangle rendered correctly with rounded corners.

Screenshots or Videos

No response

Platform

  • OS: macOS, Windows
  • Browser: Chrome
  • Version: 112.0.5615.138

Additional context

No response

@NewByVector
Copy link
Contributor

我本地试了一下 rx 和 ry 是生效的,如果还有问题,请重新提一个新的 issue。

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 6, 2024

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants