@jalez/react-flow-automated-layout
Version:
A React library for automated layout of nested node graphs with parent-child relationships using React Flow
16 lines (15 loc) • 548 B
TypeScript
import React from 'react';
interface LayoutControlsProps {
showDirectionControls?: boolean;
showSpacingControls?: boolean;
showAutoLayoutToggle?: boolean;
showApplyLayoutButton?: boolean;
standalone?: boolean;
position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
}
/**
* Layout controls component that provides UI for controlling layout options
* Can be used standalone or integrated with React Flow Controls
*/
declare const LayoutControls: React.FC<LayoutControlsProps>;
export default LayoutControls;