butterfly
butterfly copied to clipboard
做DAG图使用vue版本的组件,有没有不用设置绝对位置的方法
What problem does this feature solve?
如图,需要自己设定位置
能否组件设置好css,用户自己只需传入level ,就可以自动识别位置,而不需要自己设定left or top
可以使用布局来实现你的需求。
这是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