antvis / antvis/G6

[Feat]: 从外部拖拽一个html到自定义节点上没有触发节点的node:drop,node:pointerenter等事件

Open
#7,550 2 comments 0 reactions 0 assignees View on GitHub
feature 💡
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the feature / 功能描述

希望支持从Canvas外部拖拽html到节点上的相关事件,现在是通过监听画布所在的html的drop事件然后通过坐标去找对应的目标节点,在拖拽过程中想要加拖拽的effect的话每次都要根据坐标找节点性能就不太好,所以希望node的相关事件不止是通过内部节点触发

### Are you willing to contribute? / 是否愿意参与贡献?

Please select / 请选择

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name files, tests, or an entry point. Start by reviewing the canvas-level HTML drop handling and the coordinate-based target lookup described in the issue. Done means dragging HTML from outside the canvas can trigger node:drop and node:pointerenter on the target node without requiring repeated coordinate lookup.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.