1#![deny(missing_debug_implementations, missing_copy_implementations)]
2#![doc = include_str!("../readme.md")]
4#![doc(html_logo_url = "https://raw.githubusercontent.com/oovm/shape-rs/dev/projects/images/Trapezohedron.svg")]
5#![doc(html_favicon_url = "https://raw.githubusercontent.com/oovm/shape-rs/dev/projects/images/Trapezohedron.svg")]
6
7mod iters;
8mod sparse_edges;
9mod sparse_nodes;
10pub(crate) mod utils;
11
12pub use crate::{
13 sparse_edges::{one_way_iter::*, AdjacencyEdgeDict},
14 sparse_nodes::AdjacencyNodeList,
15};
16
17pub type DiGraphAED = AdjacencyEdgeDict<{ graph_types::GraphKind::Directed.is_one_way() }>;
19pub type UnGraphAED = AdjacencyEdgeDict<{ graph_types::GraphKind::Directed.is_two_way() }>;
21pub type DiGraphAND = AdjacencyEdgeDict<{ graph_types::GraphKind::Directed.is_one_way() }>;
23pub type UnGraphAND = AdjacencyEdgeDict<{ graph_types::GraphKind::Directed.is_two_way() }>;
25pub type DiGraphAEL = AdjacencyEdgeDict<{ graph_types::GraphKind::Directed.is_one_way() }>;
27pub type UnGraphAEL = AdjacencyEdgeDict<{ graph_types::GraphKind::Directed.is_two_way() }>;
29pub type DiGraphANL = AdjacencyEdgeDict<{ graph_types::GraphKind::Directed.is_one_way() }>;
31pub type UnGraphANL = AdjacencyEdgeDict<{ graph_types::GraphKind::Directed.is_two_way() }>;