@enumura/chatbot-flow-editor
Version:
Visual chatbot flow editor - Development tool for creating conversational flows
20 lines • 421 B
TypeScript
export interface ChatOption {
label: string;
nextId: number;
}
export interface ChatNode {
id: number;
title: string;
options: ChatOption[];
parentId?: number;
hierarchyPath?: string;
}
export interface NodePosition {
x: number;
y: number;
}
export interface NodePositions {
[key: number]: NodePosition;
}
export type ChatbotFlow = ChatNode[];
//# sourceMappingURL=chatbot.d.ts.map