UNPKG

decision-tree-maker

Version:

Decision tree maker lib

10 lines (9 loc) 406 B
import { DecisionTree, DecisionTreeAttributes } from '../decision-tree/types'; declare const useDecisionTree: () => { zoom: number; tree: DecisionTree; addChild: (parentName: string) => void; updateNodeProperties: (nodeName?: string, newProperties?: Partial<DecisionTreeAttributes>) => void; deleteNode: (toDeleteNode: DecisionTree) => void; }; export default useDecisionTree;