antvis / antvis/X6

画布扩展支持配置按实际大小扩展,而不是每次扩展一块初始画布的大小

Open
#3,083 4 comments 0 reactions 0 assignees View on GitHub
type: discussion 讨论
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### 功能描述

画布扩展支持配置按实际大小扩展,而不是每次扩展一块初始画布的大小。像下面这样,每次扩展一整块画布,会有太多的留白处

![画布扩展](https://user-images.githubusercontent.com/26325346/209044306-e65c6508-b3c7-4d19-b8e2-a4cefd599fd5.gif)

### 期望解决方案

画布扩展支持配置按实际大小扩展

Contributor guide

Open the contributing guide

Research direction

The issue provides only a description and GIF, with no file, test, or entry point named. Start by locating the canvas-expansion implementation and its existing tests, then determine how expansion currently uses the initial canvas size. Done means configurable expansion can use the actual required size without unnecessary blank space.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.