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

react-shape 自定义节点, primer: 'polygon', 菱形的 高度 和宽度丢失导致 节点的 attrs 无法生效 #2173

Closed
980792492 opened this issue Jun 1, 2022 · 3 comments
Labels
type: bug 缺陷 Defects and unexpected behaviors

Comments

@980792492
Copy link

问题描述

react-shape 自定义节点, primer: 'polygon', 菱形的 高度 和宽度丢失导致 节点的 attrs 无法生效

重现链接

重现步骤

预期行为

image
自定义 react-shape的菱形节点,能够设置 stroke / strokeWidth / fill

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • X6 版本: [1.28.2 ... ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Jun 1, 2022

👋 @980792492

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@NewByVector NewByVector added the type: bug 缺陷 Defects and unexpected behaviors label Jun 6, 2022
@NewByVector
Copy link
Contributor

如果是 polygon 的话,需要设置 points 属性。

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 10, 2023

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 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug 缺陷 Defects and unexpected behaviors
Projects
None yet
Development

No branches or pull requests

2 participants