style: format codes

This commit is contained in:
duanhongbo committed 2020-11-12 17:24:08 +08:00
1 parent c3ea18e307
commit 00e79d641e
14 files changed
+2152 -2186

No files matched your search

+44 -44
View File
@@ -1,44 +1,44 @@
import { TreeGraphData } from "@antv/g6/lib/types";
export interface ArgsDefType {
name: string,
type: string,
desc: string,
}
export interface BehaviorNodeTypeModel {
name: string;
type?: string;
desc?: string;
args?: ArgsDefType[];
input?: string[];
output?: string[];
doc?: string;
}
export interface BehaviorNodeModel {
id: number;
name: string;
desc?: string;
args?: {[key: string]: any};
input?: string[];
output?: string[];
children?: BehaviorNodeModel[];
debug?: boolean;
}
export interface BehaviorTreeModel {
name: string;
root: BehaviorNodeModel;
}
export interface GraphNodeModel extends TreeGraphData {
name: string;
desc?: string;
args?: {[key: string]: any};
input?: string[];
output?: string[];
children?: GraphNodeModel[];
conf: BehaviorNodeTypeModel;
size?: number[];
}
import { TreeGraphData } from "@antv/g6/lib/types";
export interface ArgsDefType {
name: string;
type: string;
desc: string;
}
export interface BehaviorNodeTypeModel {
name: string;
type?: string;
desc?: string;
args?: ArgsDefType[];
input?: string[];
output?: string[];
doc?: string;
}
export interface BehaviorNodeModel {
id: number;
name: string;
desc?: string;
args?: { [key: string]: any };
input?: string[];
output?: string[];
children?: BehaviorNodeModel[];
debug?: boolean;
}
export interface BehaviorTreeModel {
name: string;
root: BehaviorNodeModel;
}
export interface GraphNodeModel extends TreeGraphData {
name: string;
desc?: string;
args?: { [key: string]: any };
input?: string[];
output?: string[];
children?: GraphNodeModel[];
conf: BehaviorNodeTypeModel;
size?: number[];
}