fix node layout error and support subtree

This commit is contained in:
codetypes committed 2024-03-11 09:35:39 +08:00
1 parent d3c5bf53e7
commit 258a006383
21 files changed
+6019 -11457

No files matched your search

+6 -3
View File
@@ -1,8 +1,8 @@
import { TreeGraphData } from "@antv/g6/lib/types";
export interface ArgsOptional{
name:string;
value:string|number;
export interface ArgsOptional {
name: string;
value: string | number;
}
export interface ArgsDefType {
@@ -31,6 +31,7 @@ export interface BehaviorNodeModel {
output?: string[];
children?: BehaviorNodeModel[];
debug?: boolean;
path?: string;
}
export interface BehaviorTreeModel {
@@ -48,6 +49,8 @@ export interface GraphNodeModel extends TreeGraphData {
children?: GraphNodeModel[];
conf: BehaviorNodeTypeModel;
debug?: boolean;
parent?: string;
path?: string;
size?: number[];
}