@mx-cartographer/experiences 7.0.50-alpha.mega1 → 7.0.51-alpha.bb1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,28 +32,11 @@ export declare const getScale: (min: number, max: number) => d3.ScaleLinear<numb
32
32
  */
33
33
  export declare const simulate: (budgets: DetailedBudget[]) => d3.Simulation<BubbleData, undefined>;
34
34
  export declare const getSmartScale: (count: number, height: number, maxValue: number, minValue: number, width: number) => d3.ScaleLinear<number, number, never>;
35
- export declare const computeScaledNodes: (nodes: BubbleData[], budgets: DetailedBudget[], isCompact: boolean | undefined, height: number, width: number) => {
36
- radius: number;
37
- budgetColors: import('../../common').BudgetColors;
38
- category: import('../../common').DetailedCategory;
39
- description: string;
40
- percentage: number;
41
- subBudgets: DetailedBudget[];
42
- amount: number;
43
- category_guid: string;
44
- end_date?: number;
45
- flags?: string[];
46
- guid: string;
47
- parent_guid?: string;
48
- revision: number;
49
- start_date: number;
50
- transaction_total: number;
51
- user_guid: string;
52
- index?: number | undefined;
53
- x?: number | undefined;
54
- y?: number | undefined;
55
- vx?: number | undefined;
56
- vy?: number | undefined;
57
- fx?: number | null | undefined;
58
- fy?: number | null | undefined;
59
- }[];
35
+ /**
36
+ * Simulate a compact layout for smaller viewports
37
+ * @param budgets Budget data
38
+ * @param height Height of the container
39
+ * @param width Width of the container
40
+ * @returns A D3 simulation for the compact layout
41
+ */
42
+ export declare const simulateCompact: (budgets: DetailedBudget[], height: number, width: number) => d3.Simulation<BubbleData, undefined>;