fix copy & debug
This commit is contained in:
1 parent
8564fc1ebe
commit
af3f00b3b2
4 files changed
+7
-4
No files matched your search
@@ -39,6 +39,7 @@ export interface GraphNodeModel extends TreeGraphData {
|
||||
output?: string[];
|
||||
children?: GraphNodeModel[];
|
||||
conf: BehaviorNodeTypeModel;
|
||||
debug?: boolean;
|
||||
|
||||
size?: number[];
|
||||
}
|
||||
@@ -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 = [];
|
||||
|
||||
Reference in new issue
Block a user