decision-tree-maker
Version:
Decision tree maker lib
15 lines (14 loc) • 365 B
TypeScript
export declare type DecisionTreeAttributes = {
title: string;
description?: string;
dataPerChildPath: DataChildPath[];
};
export declare type DataChildPath = {
label: string;
};
export declare type DecisionTree = {
name: string;
attributes: DecisionTreeAttributes;
children: DecisionTree[];
parentNodeName?: string;
};