pub trait Embedding<V: Vertex, D: Dart, F: Face, VI: Iterator<Item = V>, DI: Iterator<Item = D>, FI: Iterator<Item = F>, T: GraphDCEL<V, D, F, VI, DI, FI>> {
fn embed(graph: StableGraph<(), (), Undirected>) -> T;
}
Expand description
The Embedding trait is implemented by all embedding algorithms
Required Methods
sourcefn embed(graph: StableGraph<(), (), Undirected>) -> T
fn embed(graph: StableGraph<(), (), Undirected>) -> T
Receives a graph as an Argument an returns the embedding