1 | import type { Node } from 'd3-hierarchy';
|
2 | type Layout = {
|
3 | tile?: 'treemapBinary' | 'treemapDice' | 'treemapSlice' | 'treemapSliceDice' | 'treemapSquarify' | 'treemapResquarify';
|
4 | size?: [number, number];
|
5 | round?: boolean;
|
6 | ignoreParentValue?: boolean;
|
7 | ratio?: number;
|
8 | padding?: number;
|
9 | paddingInner?: number;
|
10 | paddingOuter?: number;
|
11 | paddingTop?: number;
|
12 | paddingRight?: number;
|
13 | paddingBottom?: number;
|
14 | paddingLeft?: number;
|
15 | sort?(a: any, b: any): number;
|
16 | path?: (d: any) => any;
|
17 |
|
18 | layer?: number | ((d: any) => any);
|
19 | };
|
20 | export declare function treeDataTransform(data: any, layout: Layout, encode: any): [Node[], Node[]];
|
21 | export {};
|
22 |
|
\ | No newline at end of file |