MCPcopy Create free account
hub / github.com/OpenDCAI/Paper2Any / nodeBoxWidth

Function nodeBoxWidth

frontend-workflow/src/utils/mindmapTree.ts:365–365  ·  view source on GitHub ↗
(isRoot: boolean)

Source from the content-addressed store, hash-verified

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

Callers 1

getNodeBoundsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected