| Crates.io | icentral-graph |
| lib.rs | icentral-graph |
| version | 0.1.0 |
| created_at | 2025-04-04 22:31:49.49827+00 |
| updated_at | 2025-04-04 22:31:49.49827+00 |
| description | A Rust library for advanced graph manipulation, focusing on minimum union cycles, betweenness centrality, and biconnected components. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1620874 |
| size | 129,062 |
icentral-graph is a Rust library for advanced manipulation and analysis of undirected graphs. It provides a sophisticated framework for graph algorithms with a focus on minimum union cycles (MUCs), betweenness centrality, and biconnected components.
Graph::empty() to initialize a new graph instance, then populate it via insert_edge().SetMucDebug and GetEdgeListDebugger for in-depth visualization of graph elements.find_edge_bcc_with_delta for efficient exploration and manipulation of graph structures.find_edge_bcc_with_component to retrieve articulation points and subgraph sizes linked to these points.use icentral_graph::Graph;
fn main() {
let mut graph = Graph::empty("example_graph");
graph.init_size(5);
graph.insert_edge(&Edge::new(0, 1));
graph.insert_edge(&Edge::new(1, 2));
println!("Graph with {} edges: {:?}", graph.num_edges(), graph);
}
This crate builds on Rust's 2021 edition, ensuring maximum compatibility with modern Rust practices.
We welcome contributions from the community. Please adhere to the coding standards outlined and make use of the issue tracker for bug reports and feature requests.
This README.md file was generated by an AI model and may not be 100% accurate, however, it should be quite useful.
This crate is in the process of being translated from c++ to rust. Currently, it still needs exhaustive testing. It is likely there currently exist many glitches which need to be fixed before proper usage. This crate is based on the original icentral program developed by Fuad Jamor. Please see the following repository for details: https://github.com/fjamour/icentral.
For progress updates, see the workspacer rust project.