@enumura/chatbot-flow-editor
Version:
Visual chatbot flow editor - Development tool for creating conversational flows
12 lines • 438 B
TypeScript
import { ChatbotFlow, NodePositions } from '../../types/chatbot';
interface FlowDiagramProps {
flow: ChatbotFlow;
nodePositions: NodePositions;
currentNodeId: number;
onNodeSelect: (nodeId: number) => void;
onDeleteNode?: (nodeId: number) => void;
onAddNode?: (parentId: number) => void;
}
declare const FlowDiagram: React.FC<FlowDiagramProps>;
export default FlowDiagram;
//# sourceMappingURL=FlowDiagram.d.ts.map