antvis / antvis/X6

当graph中没有元素时,不会触发render:done事件

Open
#3,947 13 comments 0 reactions 0 assignees View on GitHub
oscp
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

当graph中没有元素时,不会触发render:done事件

### Your Example Website or App

none

### Steps to Reproduce the Bug or Issue

none

### Expected behavior

正常触发render:done事件

### Screenshots or Videos

_No response_

### Platform

- OS: Windows
- Browser: electron
- Version: [e.g. 2.11.1]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. Start by tracing the rendering lifecycle for an empty graph and the render:done event, then create a regression test or reproduction showing the event fires when no elements exist. Done means the event is triggered consistently for an empty graph.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.