@moritzbrantner/diagrams - v0.1.1
    Preparing search index...

    Type Alias DecisionTreeProps

    DecisionTreeProps: Omit<React.ComponentProps<"figure">, "children"> & {
        ariaLabel?: string;
        autoLayoutColumns?: number;
        branchActions?:
            | readonly DecisionTreeBranchAction[]
            | ((edge: DecisionTreeEdge) => readonly DecisionTreeBranchAction[]);
        caption?: React.ReactNode;
        defaultExpandedNodeIds?: readonly string[];
        defaultFocusedNodeId?: string | null;
        edges?: readonly DecisionTreeEdge[];
        emptyMessage?: React.ReactNode;
        expandedNodeIds?: readonly string[];
        focusedNodeId?: string | null;
        getNodeDisabled?: (node: PositionedDecisionTreeNode) => boolean;
        keyboardMode?: "tree" | "nodes" | "none";
        layout?: DecisionTreeLayout;
        nodeActions?:
            | readonly DecisionTreeNodeAction[]
            | (
                (
                    node: PositionedDecisionTreeNode,
                ) => readonly DecisionTreeNodeAction[]
            );
        nodes?: readonly DecisionTreeFlatNode[];
        onBranchSelect?: (edge: DecisionTreeEdge) => void;
        onExpandedNodeIdsChange?: (
            nodeIds: string[],
            node: PositionedDecisionTreeNode,
            expanded: boolean,
        ) => void;
        onFocusedNodeIdChange?: (node: PositionedDecisionTreeNode | null) => void;
        onNodeActionSelect?: (
            action: DecisionTreeNodeAction,
            node: PositionedDecisionTreeNode,
        ) => void;
        onNodeDeselect?: () => void;
        onNodeSelect?: (node: PositionedDecisionTreeNode) => void;
        padding?: number;
        renderNodeSelection?: (node: PositionedDecisionTreeNode) => React.ReactNode;
        root?: DecisionTreeNode;
        selectedNodeId?: string | null;
    } & DiagramInteractiveProps<PositionedDecisionTreeNode, DecisionTreeEdge>