change node name

This commit is contained in:
zhandouxiaojiji committed 2020-11-03 13:19:57 +08:00
1 parent cad9a2c4d6
commit a4810121d1
4 files changed
+21 -7

No files matched your search

+3 -3
View File
@@ -165,7 +165,7 @@ export default function (settings: Settings) {
}
const args: any = cfg.args;
if (args && Object.keys(args).length > 0) {
if (nodeConf.args && args && Object.keys(args).length > 0) {
y += 20;
group.addShape('text', {
attrs: {
@@ -181,7 +181,7 @@ export default function (settings: Settings) {
}
const input: [] = cfg.input ? cfg.input as [] : [];
if (input.length > 0) {
if (nodeConf.input && input.length > 0) {
y += 20;
group.addShape('text', {
attrs: {
@@ -197,7 +197,7 @@ export default function (settings: Settings) {
}
const output: [] = cfg.output ? cfg.output as [] : [];
if (output.length > 0) {
if (nodeConf.output && output.length > 0) {
y += 20;
group.addShape('text', {
attrs: {