use super::models::CellNd; use mrlycore::errors::Result; use mrlynum::graph::extract; use mrlynum::graph::models::Network; /// Extracts the network of filled sites joined to their axis neighbors. pub fn core_graph(cell: &CellNd) -> Result { extract::core_graph(cell.types()) } /// Extracts the network of corners and edges outlining every filled site. pub fn edge_graph(cell: &CellNd) -> Result { extract::edge_graph(cell.types()) } /// Extracts the network of empty sites joined to their axis neighbors. pub fn tunnel_graph(cell: &CellNd) -> Result { extract::tunnel_graph(cell.types()) }