(connectionCount)
| 461 | let graphSimulation = null; // keep ref so we can stop it on close |
| 462 | |
| 463 | function graphNodeRadius(connectionCount) { |
| 464 | return 5 + Math.min(connectionCount * 2, 12); |
| 465 | } |
| 466 | |
| 467 | async function buildGraphData() { |
| 468 | await ensureAllNotesLoaded(); |