mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-22 11:40:10 +08:00
Added the nodeSize function to TreeLayout
Documentation https://github.com/mbostock/d3/wiki/Tree-Layout#nodeSize
This commit is contained in:
Vendored
+13
@@ -1159,6 +1159,19 @@ declare module D3 {
|
||||
*/
|
||||
(size: Array<number>): TreeLayout;
|
||||
};
|
||||
/**
|
||||
* Gets or sets the available node size
|
||||
*/
|
||||
nodeSize: {
|
||||
/**
|
||||
* Gets the available node size
|
||||
*/
|
||||
(): Array<number>;
|
||||
/**
|
||||
* Sets the available node size
|
||||
*/
|
||||
(size: Array<number>): TreeLayout;
|
||||
};
|
||||
}
|
||||
|
||||
export interface PieLayout {
|
||||
|
||||
Reference in New Issue
Block a user