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

请问Circular布局能否指定第一个节点从最顶部排列? #219

Open
chi-gao opened this issue Jun 7, 2024 · 0 comments
Open

Comments

@chi-gao
Copy link

chi-gao commented Jun 7, 2024

开发者您好,我尝试使用Circular布局,我基于Demo地址完成了布局,但是发现第一个节点位置始终从最右侧开始的, 如下图:
image
我同时查看了NPM包中的CircularLayoutOptions 声明,也未找到类似的参数。想请问下,能否指定开始节点的位置?

可能的参数是:

{
  startNodePosition: 'top' | 'bottom' | 'left' | 'target';
}

复现链接: https://codesandbox.io/p/sandbox/beautiful-rosalind-h4g647?file=%2Findex.js

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