Skip to content

🐞dagre布局示例报错 #5056

Description

@shwull

问题描述

"@antv/layout": "^1.2.14-beta.8",
"@antv/x6": "^3.1.7",
使用codeSandBox 提示dagreLayout.layout is not a function

重现链接

https://codesandbox.io/p/sandbox/gsk11f?file=%2Findex.ts%3A2%2C10-2%2C21

重现步骤

使用
"@antv/layout": "^1.2.14-beta.8",
"@antv/x6": "^3.1.7",

预期行为

TypeError
dagreLayout.layout is not a function

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox ...]
  • X6 版本: [3.1.0 ...]

屏幕截图或视频(可选但最好有)

No response

补充说明(可选)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for maintainerTriage or intervention needed from a maintainer

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions