Skip to content

[Bug] Some Sankey diagram data can cause the page to crash when the focus of emphasis is set to trajectory (中文: 部分桑基图数据会导致页面崩溃,当emphasis的focus设置为trajectory时候) #20955

@WkKyo1024

Description

@WkKyo1024

Version

=5.4.3

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=sankey-simple

Steps to Reproduce

error-sankey-options.txt
Paste the options configuration in the link address into the official example

emphasis: {
focus: 'adjacency', // success
// focus: 'trajectory', // error
blurScope: 'coordinateSystem'
}

Setting "focus" to "trajectory" will cause the page to crash
(中文: 把链接地址里的options配置粘贴到官方示例里
emphasis: {
focus: 'adjacency', // success
// focus: 'trajectory', // error
blurScope: 'coordinateSystem'
}
focus设置为'trajectory'会导致页面崩溃)

Current Behavior

The nodes and links provided in the file can cause problems to occur(中文: 文件里提供的nodes和links会导致问题出现)

Expected Behavior

focus: Setting it as trajectory should not cause the page to crash. Although other data may be fine, the data I provided has this bug(中文: focus:设置为trajectory不应该导致页面崩溃,虽然别的数据可能没有问题,但是我提供的数据是有这个bug的)

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions