* Tree layout generator. Supports both 'tidy' and 'cluster' layouts.
(method)
| 137198 | /** |
| 137199 | * Tree layout generator. Supports both 'tidy' and 'cluster' layouts. |
| 137200 | */ layout (method) { |
| 137201 | const m = method || "tidy"; |
| 137202 | if ((0, _vegaUtil.hasOwnProperty)(Layouts, m)) return Layouts[m](); |
| 137203 | else (0, _vegaUtil.error)("Unrecognized Tree layout method: " + m); |
| 137204 | }, |
| 137205 | params: [ |
| 137206 | "size", |
| 137207 | "nodeSize" |