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

做DAG图使用vue版本的组件,有没有不用设置绝对位置的方法 #929

Open
goody9807 opened this issue Feb 28, 2023 · 1 comment

Comments

@goody9807
Copy link

What problem does this feature solve?

如图,需要自己设定位置

image

能否组件设置好css,用户自己只需传入level ,就可以自动识别位置,而不需要自己设定left or top

@Zt448143356
Copy link
Contributor

可以使用布局来实现你的需求。

这是vue的example:里面有layout的使用方式。
https://github.com/alibaba/butterfly/tree/master/vue/example

这是layout
https://github.com/alibaba/butterfly/blob/master/docs/zh-CN/layout.md

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

2 participants