(node: GraphNode)
| 63 | |
| 64 | /** The tooltip: the shown name, and for a Branch node what it is and its name in the index. */ |
| 65 | export function graphNodeTitle(node: GraphNode): string { |
| 66 | const shown = graphNodeName(node); |
| 67 | return branchNodeOf(partsOf(node)) ? galaxyNodeNameText.branchTitle(shown, node.name, node.qualified_name) : shown; |
| 68 | } |
| 69 | |
| 70 | /** The detail line of a Branch node: its name in the index; undefined for every other node. */ |
| 71 | export function graphNodeIndexName(node: GraphNode): string | undefined { |
no test coverage detected