(isRoot: boolean)
| 363 | }; |
| 364 | |
| 365 | const nodeBoxWidth = (isRoot: boolean) => (isRoot ? 280 : SVG_NODE_WIDTH); |
| 366 | const nodeBoxHeight = (isRoot: boolean) => (isRoot ? 104 : SVG_NODE_HEIGHT); |
| 367 | |
| 368 | const getNodeBounds = (node: Node<MindMapNodeData>) => { |