Commit 7b64ef2
Fix 'Unknown' showing in edge click modal
When clicking edges in the graph, the modal was showing "Unknown is the
subject of..." because the backend optimizes responses by not duplicating
node data - edgesFrom only includes endNode (current node IS startNode),
and edgesTo only includes startNode (current node IS endNode).
Now the frontend fills in the missing node reference when creating edge
data, so the modal can display proper names.
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 5b222fe commit 7b64ef2
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
292 | 296 | | |
293 | 297 | | |
294 | 298 | | |
| |||
339 | 343 | | |
340 | 344 | | |
341 | 345 | | |
342 | | - | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
343 | 351 | | |
344 | 352 | | |
345 | 353 | | |
| |||
0 commit comments