fix node layout error and support subtree
This commit is contained in:
1 parent
d3c5bf53e7
commit
258a006383
21 files changed
+6019
-11457
No files matched your search
@@ -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[];
|
||||
}
|
||||
Reference in new issue
Block a user