(node: GraphNode)
| 105 | * Layout-`id` bleibt dabei absichtlich draussen; warum, steht dort. |
| 106 | */ |
| 107 | export function targetRefOfNode(node: GraphNode): SymbolRef | undefined { |
| 108 | return twinTargetOf({ |
| 109 | name: node.name, |
| 110 | qualifiedName: node.qualified_name, |
| 111 | kind: symbolKindOf(node.label), |
| 112 | filePath: node.file_path, |
| 113 | startLine: node.start_line, |
| 114 | endLine: node.end_line, |
| 115 | }); |
| 116 | } |
| 117 | |
| 118 | /** Was das Panel ueber einen geladenen Stand sagt. */ |
| 119 | export function layoutSummary(data: GraphData, budget: number = LAYOUT_NODE_BUDGET): string { |
no test coverage detected