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
dagre布局,连线是polyline类型,通过graph.updateLayout()方法切换controlPoints的值,只会将controlPoints切换成true和false,如下: graph.updateLayout({ controlPoints: true, }); 调用完updateLayout方法后连线的控制点没有改变,希望看到有控制点和无控制点两种情况,如下图:
无
希望调用graph.updateLayout()方法后可立即切换连线样式,不希望重新创建图的实例来实现目标
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述
dagre布局,连线是polyline类型,通过graph.updateLayout()方法切换controlPoints的值,只会将controlPoints切换成true和false,如下:
graph.updateLayout({
controlPoints: true,
});
调用完updateLayout方法后连线的控制点没有改变,希望看到有控制点和无控制点两种情况,如下图:
重现链接
无
重现步骤
无
预期行为
希望调用graph.updateLayout()方法后可立即切换连线样式,不希望重新创建图的实例来实现目标
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: