(scope: GraphScope)
| 90 | |
| 91 | /** The tooltip of a Galaxy scope's name. */ |
| 92 | export function scopeTitle(scope: GraphScope): string { |
| 93 | const shown = scopeDisplayName(scope); |
| 94 | return (scope.kind === 'node' || scope.kind === 'symbol') && shown !== scope.name ? galaxyNodeNameText.branchTitle(shown, scope.name, scope.qualifiedName) : shown; |
| 95 | } |
no test coverage detected