antvis / antvis/X6

节点和线在拖拽过程中,不实时更改画布数据,只渲染一个中间过程虚拟节点

Open
#3,733 3 comments 0 reactions 0 assignees View on GitHub
type: feature 新功能
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### 功能描述

如下图所示,节点和线在拖拽过程中,不实时更改画布数据,只渲染一个中间过程虚拟节点,减少中间状态对数据的持续影响,也能提升性能

![图形拖拽虚拟图形](https://github.com/antvis/X6/assets/26325346/de50c1de-5292-4d2f-916a-cac72dc7ecdd)

### 期望解决方案

有没有好的解决思路

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are identified in the issue. Begin by tracing the node and edge drag lifecycle, including how canvas data is updated and how the intermediate rendering is produced. Done means drag interactions render a virtual intermediate node or edge without continuously changing the canvas data, with the expected behavior verified by tests or a reproducible example.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.