(node)
| 3239 | } |
| 3240 | |
| 3241 | function graphAnchor(node) { |
| 3242 | const type = graphType(node); |
| 3243 | if (type === "method") return { x: 64, y: 42 }; |
| 3244 | if (type === "paper") return { x: 46, y: 74 }; |
| 3245 | if (type === "frontier") return { x: 74, y: 30 }; |
| 3246 | return { x: 34, y: 42 }; |
| 3247 | } |
| 3248 | |
| 3249 | function graphDegreeMap(nodes, edges) { |
| 3250 | const degree = Object.fromEntries(nodes.map((node) => [graphId(node), 0])); |
nothing calls this directly
no test coverage detected