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
使用美化插件@logicflow/layout的dagre后,会丢失节点的高度,且再使用节点设置高度时,不再生效
美化插件调用逻辑如下: switch (type) { case 'beautify': console.log("beautify selected", props.lf.extension.dagre) props.lf.extension.dagre && props.lf.extension.dagre.layout({ nodesep: 2, ranksep: 20, begin: [100, 100], }); break;
美化前View: 添加字段后可以动态修改高度:
美化后VIew: 原高度丢失,且修改高度不再生效,修改高度的代码如下:
"@logicflow/core": "^2.0.9",
"@logicflow/extension": "^2.0.13",
使用Electron构建:"electron": "^31.0.2", "electron-builder": "^24.13.3", "electron-vite": "^2.3.0",
Chrome
The text was updated successfully, but these errors were encountered:
No branches or pull requests
发生了什么?
使用美化插件@logicflow/layout的dagre后,会丢失节点的高度,且再使用节点设置高度时,不再生效
美化插件调用逻辑如下:
switch (type) {
case 'beautify':
console.log("beautify selected", props.lf.extension.dagre)
props.lf.extension.dagre && props.lf.extension.dagre.layout({
nodesep: 2,
ranksep: 20,
begin: [100, 100],
});
break;
美化前View:
添加字段后可以动态修改高度:
美化后VIew:
原高度丢失,且修改高度不再生效,修改高度的代码如下:
logicflow/core版本
"@logicflow/core": "^2.0.9",
logicflow/extension版本
"@logicflow/extension": "^2.0.13",
logicflow/engine版本
使用Electron构建:"electron": "^31.0.2", "electron-builder": "^24.13.3", "electron-vite": "^2.3.0",
浏览器&环境
Chrome
The text was updated successfully, but these errors were encountered: