fix copy & debug

This commit is contained in:
zhandouxiaojiji committed 2020-11-27 18:01:54 +08:00
1 parent 8564fc1ebe
commit af3f00b3b2
4 files changed
+7 -4

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ export interface GraphNodeModel extends TreeGraphData {
output?: string[];
children?: GraphNodeModel[];
conf: BehaviorNodeTypeModel;
debug?: boolean;
size?: number[];
}
+2
View File
@@ -71,6 +71,7 @@ export const createTreeData = (bNode: BehaviorNodeModel, settings: Settings) =>
args: bNode.args,
input: bNode.input,
output: bNode.output,
debug: bNode.debug,
conf: settings.getNodeConf(bNode.name),
};
treeData.size = calcTreeNodeSize(treeData);
@@ -92,6 +93,7 @@ export const createFileData = (gNode: GraphNodeModel) => {
args: gNode.args || undefined,
input: gNode.input || undefined,
output: gNode.output || undefined,
debug: gNode.debug,
};
if (gNode.children) {
nodeData.children = [];