mirror of
https://github.com/OFFIS-ESC/constellation-analyzer
synced 2026-01-27 07:43:41 +00:00
Implements section 6.1 from UX_ANALYSIS.md - Graph Metrics and Analysis. Transforms the empty "No Selection" state in the right panel into a valuable analysis dashboard. Features: - Graph analysis utility with metric calculations: - Actor/relation counts - Graph density (connectivity ratio) - Average connections per actor - Most connected actors (top 5) - Isolated actors count - Connected components detection - Breakdown by actor/relation type - GraphMetrics component with sections: - Overview: basic stats and density - Most Connected Actors: ranked list - Graph Structure: isolated nodes, components - Type breakdowns: actors and relations by type - Visual polish: icons, tooltips, hover states - Warning highlights for isolated actors - Info highlights for multiple components - Integration: - Replaces empty state in RightPanel - Automatically updates when graph changes - Memoized calculations for performance - Consistent styling with existing panels Now provides immediate analytical value when opening a document, making the application live up to its "Analyzer" name. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| colorUtils.ts | ||
| edgeUtils.ts | ||
| graphAnalysis.ts | ||
| graphExport.ts | ||
| iconUtils.tsx | ||
| nodeUtils.ts | ||