How arun110405/social-network-analysis---graph-metrics-and-modern-extensions works
This is a Streamlit social-network analysis platform. Users select a graph, then the application loads and preprocesses it, computes graph statistics and centrality rankings, and presents visual results; its pages expose comparison, community detection, robustness, performance, visual analytics, and node explanations. Persistent caching and exports support the analysis workflow. Edges are limited to relationships shown in the excerpts, SOURCE INDEX, or README; several page implementations and subsystem internals were not sampled.
Main entry points: app.py Dashboard workflow · cache_manager.py Persistent cache · loader.py Graph loading · Comparison.py Comparison page
Components 28
Application interface
- Dashboard workflow
app.py - Dashboard
pages/Dashboard.py - Comparison page
pages/Comparison.py - Community page
pages/Community.py - Robustness page
pages/Robustness.py - Performance page
pages/Performance.py - Visual analytics page
pages/Visual_Analytics.py - Explainability page
pages/Explainability.py
Network analysis
- Graph loading
modules/loader.py - Graph preprocessing
modules/preprocessing.py - Graph statistics
modules/graph_statistics.py - Centrality metrics
modules/centrality.py - Ranking correlation
modules/correlation.py - Ranking comparison
modules/comparison.py - Community detection
modules/community_detection.py - Robustness analysis
modules/robustness.py - PageRank sensitivity
evaluation/pagerank_sensitivity.py - Graph visualization
modules/visualization.py - Visual analytics
modules/visual_analytics.py - Node explanations
modules/explainability.py
Workflow support
- Persistent cache
modules/cache_manager.py - Performance records
modules/performance.py - Result export
modules/export.py - Application configuration
utils/config.py
Data sources
- Email-Eu-Core dataset
data/raw/email_eu/email-Eu-Core.txt - Web-Google dataset
data/raw/web_google/web-Google.txt - Built-in Karate Club
Other components
- Analyst
Connections 34
- Analyst → Dashboard workflow: selects dataset
README.md - Dashboard workflow → Graph loading: loads graph
app.py - Dashboard workflow → Graph preprocessing: preprocesses graph
app.py - Dashboard workflow → Graph statistics: computes statistics
app.py - Dashboard workflow → Centrality metrics: computes rankings
app.py - Dashboard workflow → Ranking correlation: computes correlation
app.py - Dashboard workflow → Graph visualization: plots graph
app.py - Dashboard workflow → Persistent cache: reads and writes
app.py - Dashboard workflow → Performance records: records timings
app.py - Dashboard workflow → Result export: exports plots
app.py - Graph loading → Email-Eu-Core dataset: loads dataset
- Graph loading → Web-Google dataset: loads dataset
- Graph loading → Built-in Karate Club: loads dataset
- Persistent cache → Application configuration: gets cache path
modules/cache_manager.py - Analyst → Dashboard: opens page
README.md - Analyst → Comparison page: opens page
README.md - Analyst → Community page: opens page
README.md - Analyst → Robustness page: opens page
README.md - Analyst → Performance page: opens page
README.md - Analyst → Visual analytics page: opens page
README.md - Analyst → Explainability page: opens page
README.md - Community page → Community detection: runs algorithms
pages/Community.py - Robustness page → Robustness analysis: runs experiments
pages/Robustness.py - Robustness analysis → Centrality metrics: recomputes metrics
- Performance page → Performance records: analyzes timings
pages/Performance.py - Visual analytics page → Visual analytics: uses analytics
pages/Visual_Analytics.py - Explainability page → Node explanations: requests explanations
pages/Explainability.py - Comparison page → Persistent cache: uses cache
pages/Comparison.py - Dashboard → Persistent cache: uses cache
pages/Dashboard.py - Explainability page → Persistent cache: uses cache
pages/Explainability.py - Robustness page → Persistent cache: uses cache
pages/Robustness.py - Visual analytics page → Persistent cache: uses cache
pages/Visual_Analytics.py - PageRank sensitivity → Persistent cache: uses cache
evaluation/pagerank_sensitivity.py - Comparison page → Ranking comparison: compares rankings