We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当前使用的版本:0.1.19
我是在x6(版本:1.28.1)中使用到这个库的。
x6中定义一条边的source和target允许使用 TerminalCellData ,这样可以定义连接桩。
interface TerminalCellData extends SetCellTerminalArgs { cell: string; port?: string; }
而layout库里定义一条边,source和target只能为string
export interface Edge { source: string; target: string; }
期望两边类型能够统一。
ps: 我暂时是通过断言绕过去类型问题,运行时不报错。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当前使用的版本:0.1.19
我是在x6(版本:1.28.1)中使用到这个库的。
x6中定义一条边的source和target允许使用 TerminalCellData ,这样可以定义连接桩。
而layout库里定义一条边,source和target只能为string
期望两边类型能够统一。
ps: 我暂时是通过断言绕过去类型问题,运行时不报错。
The text was updated successfully, but these errors were encountered: