Skip to content

1.0.4

Choose a tag to compare

@mrjw717 mrjw717 released this 08 Jul 21:02

Code Graph 1.0.4

Remove hardcoded testbench values

  • Empty colorGroups default (was 4 calculator-specific groups)
  • v9 migration clears old calculator defaults for existing users
  • Full create/edit/delete UI for color groups in the side panel
  • Auto-seed groups button discovers domains from the graph
  • diagnose-graph.ts reads paths from env/argv with fallbacks

Scale to monolithic codebases (3000+ files, 80k edges)

  • maxNodes render cap with top-N-by-degree sampling + auto-degrade
  • buildData derived-data cache keyed off model.builtAt
  • Folder aggregation + community clustering (self-evolving)
  • Saved/cached converged layouts
  • LOD for zone auras and edge animations

Physics — golden-ratio spring system

  • Node mass proportional to degree x phi — hubs anchor, leaves resist
  • Per-edge rest length: intra-folder = base/phi, cross-folder = base*phi
  • Stretchiness slider (default 1.618 = golden ratio)
  • Drag-to-pin / drag-to-unpin
  • Semi-transparent edges during canvas pan
  • Isolated nodes placed in golden-angle ring

Edge animation — neural-net-visualizer style

  • Electric pulse with radial-gradient glow + additive blending
  • Bullet-time: non-connected edges freeze when hovering
  • Pulses follow exact Bezier curve via vis-network via points
  • LOD: dot-only at low zoom, full detail at high zoom

Rendering fixes

  • Always-curved edges with parallel-edge fan-out
  • Fixed vis-network grey hover override
  • Hover focus shows ALL connections (cap raised 50 to 500)
  • Zone auras only draw after layout stabilizes
  • Camera state saved/restored across toggles