#[non_exhaustive]pub enum GraphAlgo {
Layered(LayeredOpts),
Force(ForceOpts),
Grid,
}Expand description
Layout pass selection. The vocabulary may grow with the crate’s
passes, hence #[non_exhaustive] (ADR-0003 §3); constructing the
existing variants stays stable.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Layered(LayeredOpts)
Sugiyama-lite (the workflow/DAG path) — the default.
Force(ForceOpts)
Bounded seeded force placement (the knowledge-graph path).
Grid
Labeled near-square grid (the honest fallback, explicitly).
Trait Implementations§
impl StructuralPartialEq for GraphAlgo
Auto Trait Implementations§
impl Freeze for GraphAlgo
impl RefUnwindSafe for GraphAlgo
impl Send for GraphAlgo
impl Sync for GraphAlgo
impl Unpin for GraphAlgo
impl UnsafeUnpin for GraphAlgo
impl UnwindSafe for GraphAlgo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more