Skip to main content

LayoutEngine

Trait LayoutEngine 

Source
pub trait LayoutEngine<N: NodeId, P: PortId> {
    // Required method
    fn compute(&self, graph: &LayoutGraph<N, P>) -> HashMap<N, Position>;
}

Required Methods§

Source

fn compute(&self, graph: &LayoutGraph<N, P>) -> HashMap<N, Position>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§