(scope: GraphScope)
| 85 | |
| 86 | /** The shown name of a Galaxy scope; folders and files keep their paths. */ |
| 87 | export function scopeDisplayName(scope: GraphScope): string { |
| 88 | return scope.kind === 'node' || scope.kind === 'symbol' ? nodeDisplayName({ name: scope.name, qualifiedName: scope.qualifiedName }) : scope.name; |
| 89 | } |
| 90 | |
| 91 | /** The tooltip of a Galaxy scope's name. */ |
| 92 | export function scopeTitle(scope: GraphScope): string { |
no test coverage detected