node fit height

This commit is contained in:
zhandouxiaojiji committed 2020-10-26 21:58:35 +08:00
1 parent 486c11f655
commit 6c3a83ce77
4 files changed
+56 -19

No files matched your search

+16
View File
@@ -1,3 +1,5 @@
import { TreeGraphData } from "@antv/g6/lib/types";
export interface BehaviorNodeTypeModel {
name: string;
type?: string;
@@ -12,10 +14,24 @@ export interface BehaviorNodeModel {
id: number;
name: string;
desc?: string;
args?: string[][3];
input?: string[];
output?: string;
children?: BehaviorNodeModel[];
}
export interface BehaviorTreeModel {
name: string;
root: BehaviorNodeModel;
}
export interface GraphNodeModel extends TreeGraphData {
name: string;
desc?: string;
args?: string[][3];
input?: string[];
output?: string;
children?: GraphNodeModel[];
size?: number[];
}