IGraphStorage
Persists and queries the code graph.GraphDatabaseStorage- Graph database (default)InMemoryGraphStorage- Testing
ILayoutCompute
Computes node positions using force-directed algorithms.GpuLayoutAdapter- GPU-accelerated via Rust server (Metal/Vulkan)CpuLayoutFallback- CPU fallback (planned)
IOverlayPlugin
Extends CodeGraph with custom data and visualizations.TestCoveragePlugin- Coverage dataGitActivityPlugin- Git metrics- Custom plugins via DLL loading
IStructuralAnalyzer
Analyzes source code and extracts structure.CSharpAnalyzer- C# analysis (default)- Future: other languages
Why Ports?
Testability
Mock any external dependency. Test business logic in isolation.
Swappability
Replace any component without touching core. Swap implementations freely.