pub mod bigg;
pub mod bipartite;
pub mod edgelist;
pub mod hif;
pub mod incidence;
use thiserror::Error;
#[derive(Debug, Error)]
pub enum ReadWriteError {
#[error("I/O error: {0}")]
Io(#[from] std::io::Error),
#[error("JSON error: {0}")]
Json(#[from] serde_json::Error),
#[error("format error: {0}")]
Format(String),
}
pub use bigg::bigg_dict_to_dihypergraph;
pub use bipartite::{parse_bipartite_edgelist, read_bipartite_edgelist, write_bipartite_edgelist};
pub use edgelist::{parse_edgelist, read_edgelist, write_edgelist};
pub use hif::{from_hif_dict, read_hif, to_hif_dict, write_hif};
pub use incidence::{read_incidence_matrix, write_incidence_matrix};