[Bug]: The ports of the jsx custom node settings are located in the upper left corner #6728
Open
2 of 10 tasks
Labels
status: waiting for maintainer
These issues have not yet been reviewed by a maintainer
Describe the bug / 问题描述
使用的是官方的示例:https://g6.antv.antgroup.com/zh/examples/element/custom-node/#react-g
具体修改代码如下(只给node配置了ports属性):
ports显示如下图所示:
![CleanShot 2025-01-15 at 08 24 23](https://private-user-images.githubusercontent.com/30115708/403181847-97c9e5f8-13c0-4723-82e0-23c089a8746c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NjU4OTQsIm5iZiI6MTczODk2NTU5NCwicGF0aCI6Ii8zMDExNTcwOC80MDMxODE4NDctOTdjOWU1ZjgtMTNjMC00NzIzLTgyZTAtMjNjMDg5YTg3NDZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIxNTk1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE1NDBmMDljNjYyODU0YjBhZTI3ZjIyN2RkNGQyMWQ0OWMyOTY4NmUxMTg0Mzk3YzljOGY3Yzk0NjFkMGE4NTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tqmm_vrExtVh31H3lhtZtGsqYSLhkYSq7oox5mYLbCc)
Reproduction link / 复现链接
https://g6.antv.antgroup.com/zh/examples/element/custom-node/#react-g
Steps to Reproduce the Bug or Issue / 重现步骤
在节点style中配置如下属性
G6 Version / G6 版本
🆕 5.x
OS / 操作系统
Browser / 浏览器
The text was updated successfully, but these errors were encountered: