cookie-traceability/src/lib/flowmap/data/FlowMapState.ts
import { LocationFilterMode, ViewportProps } from './types';
export interface FilterState {
selectedLocations: string[] | undefined;
selectedTimeRange: [Date, Date] | undefined;
locationFilterMode: LocationFilterMode;
}
export interface SettingsState {
animationEnabled: boolean;
fadeEnabled: boolean;
locationTotalsEnabled: boolean;
adaptiveScalesEnabled: boolean;
clusteringEnabled: boolean;
clusteringAuto: boolean;
clusteringLevel?: number;
darkMode: boolean;
fadeAmount: number;
colorScheme: string | undefined;
}
export interface FlowMapState {
filterState: FilterState;
settingsState: SettingsState;
viewport: ViewportProps;
}