refactor: add options field for enum args

This commit is contained in:
duanhongbo committed 2020-12-03 18:50:58 +08:00
1 parent 7994e9c515
commit a6c1f51b5d
2 files changed
+12 -5

No files matched your search

+6
View File
@@ -1,10 +1,16 @@
import { TreeGraphData } from "@antv/g6/lib/types";
export interface ArgsOptional{
name:string;
value:string|number;
}
export interface ArgsDefType {
name: string;
type: string;
desc: string;
default: string;
options: ArgsOptional[];
}
export interface BehaviorNodeTypeModel {
name: string;