Skip to content

给stencil加入更多功能, 比如beforeDndSatrt, 还有悬浮在节点上的事件触发... #4606

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

Open
Alexhueng opened this issue Apr 11, 2025 · 1 comment

Comments

@Alexhueng
Copy link

功能描述

我想实现拖拽节点时, 给某些节点宽高或其他什么的属性做修改 再添加到画布中.

Image
如图, 在stencil中尺寸是较小的, 但实际想要在画布中作为一个更大的表现.

期望解决方案

Image

Image
我从stenci插件中复制了源码作了实现, 希望官方可以支持.

还有stencil鼠标事件的支持, 用以实现鼠标悬浮时在合适的位置预览节点, 或者是做tooltip提示, 虽然现在也有方式做监听.

Image
但graphs这个属性毕竟源代码中不希望用户使用.

@x6-bot
Copy link
Contributor

x6-bot bot commented Apr 11, 2025

👋 @Alexhueng

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.

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