Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

节点多了之后,根节点出现异常分叉连线 #4559

Open
Kygo4 opened this issue Jan 16, 2025 · 0 comments
Open

节点多了之后,根节点出现异常分叉连线 #4559

Kygo4 opened this issue Jan 16, 2025 · 0 comments

Comments

@Kygo4
Copy link

Kygo4 commented Jan 16, 2025

Describe the bug

使用的orth路由,大概500个节点以上就会复现,根节点会出现异常分叉连线
image

Your Example Website or App

暂无

Steps to Reproduce the Bug or Issue

使用的曼哈顿路由,大概500个节点以上就会复现,根节点会出现异常分叉连线,连线配置代码如下:
{
router: {
name: 'orth',
args: {
startDirections: ['right'],
endDirections: ['left'],
excludeShapes: allShapesNode,
},
},
connector: {
name: 'rounded',
},
attrs: {
line: {
targetMarker: '',
stroke: '#A2B1C3',
strokeLinejoin: 'round',
strokeWidth: 2,
connection: true,
},
},
zIndex: 0,
},

Expected behavior

预期连线不应该出现异常的分叉

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 2.11.1]

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant