给stencil加入更多功能, 比如beforeDndSatrt, 还有悬浮在节点上的事件触发...
- Dominant language
- TypeScript
- Stars
- 6.7k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
### 功能描述
我想实现拖拽节点时, 给某些节点宽高或其他什么的属性做修改 再添加到画布中.

如图, 在stencil中尺寸是较小的, 但实际想要在画布中作为一个更大的表现.
### 期望解决方案


我从stenci插件中复制了源码作了实现, 希望官方可以支持.
还有stencil鼠标事件的支持, 用以实现鼠标悬浮时在合适的位置预览节点, 或者是做tooltip提示, 虽然现在也有方式做监听.

但graphs这个属性毕竟源代码中不希望用户使用.
Contributor guide
Research direction
Start by reviewing the Stencil plugin source copied by the reporter and the existing graphs-based event-listening approach. Clarify the intended public API for beforeDndStart, node hover events, and changing node properties during drag. Done should mean the requested behavior is supported through documented public hooks rather than copied or internal source.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100