mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-08 11:39:11 +08:00
Added the nodeSize function to TreeLayout
Documentation https://github.com/mbostock/d3/wiki/Tree-Layout#nodeSize
This commit is contained in:
1 parent
99805384e2
commit
e3a212a892
1 file changed
+13
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