Installation¶
To add graphina to your project, run:
Or manually add it to your Cargo.toml:
Feature Flags¶
Graphina is modular. Enable only what you need using the respective feature flags.
centrality: Centrality measures (PageRank, Betweenness, etc.)community: Community detection (Louvain, Label Propagation, etc.)links: Link prediction algorithms (like Jaccard and Adamic-Adar indexes)approximation: Approximation algorithms for NP-hard problemsmetrics: Graph metrics (like Diameter, Clustering Coefficient)mst: Minimum Spanning Tree algorithmstraversal: Graph traversal algorithms (BFS and DFS)subgraphs: Subgraph extraction and filteringparallel: Parallel algorithm implementationsvisualization: Visualization helper functions
You can also add features via command line: