You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Describe the bug
antv/x6是基于 antv/layout 包实现的布局算法,我按照官网教程尝试使用antv/layout包中的
dagre
布局,但是在实例化布局的时候遇到两个问题。1、提示
type
等参数不在DagreLayout配置中,我跳转到 ts 源码类型提示发现确实没有 type 相关的类型只有图二中nodeSize
和GraphLabel, NodeConfig, EdgeConfig父类型,可是无法跳转了。不知道官网文档示例是否已过时。2、new XXXLayout()实例化对象已经没有
layout
方法了,不知道官网文档示例是否已过时。只有如下类型提示即使我使用
execute
和assign
方法替代layout
,但是传递的data数据提示execute
和assign
的类型传不符。data 数据
我不知道该如何在 antv/x6 中使用
drage
布局算法。Your Example Website or App
https://codesandbox.io/p/sandbox/2xxwj5?file=%2Fsrc%2FApp.tsx
Steps to Reproduce the Bug or Issue
Expected behavior
antv/x6正常使用
dagre
布局Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: