(node)
| 3201 | } |
| 3202 | |
| 3203 | function graphType(node) { |
| 3204 | const source = node || {}; |
| 3205 | const raw = String(source.node_type || source.type || "topic").toLowerCase(); |
| 3206 | if (raw === "paper") return "paper"; |
| 3207 | if (raw === "section") return "method"; |
| 3208 | if (raw === "trajectory" || raw === "profile") return "frontier"; |
| 3209 | if (raw === "method" || raw === "frontier" || raw === "topic") return raw; |
| 3210 | return "topic"; |
| 3211 | } |
| 3212 | |
| 3213 | function graphTypeLabel(node) { |
| 3214 | const type = graphType(node); |
no outgoing calls
no test coverage detected