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

refactor: force layout support setFixedPosition API #215

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Conversation

Aarebecca
Copy link
Contributor

  • D3 Force 和 D3 Force 3D 支持 setFixedPosition API,用于在迭代过程中固定节点位置
  • 支持通过配置为 false 来关闭部分力的配置
{
  "center": false // 关闭内置的中心力
}

@hustcc hustcc merged commit 2324ff2 into v5 Apr 11, 2024
2 checks passed
@hustcc hustcc deleted the refactor/force branch April 11, 2024 03:20
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

Successfully merging this pull request may close these issues.

None yet

2 participants