use crate::prelude::*;
use EnumBitFlags::EnumBitFlags;

#[EnumBitFlags(bits: 8)]
pub enum Flags {
    ScrollBars = 1,
    SearchBar = 0x02,
}

#[derive(Clone, Copy, PartialEq, Eq, EnumSelector)]
pub enum EdgeRouting {
    #[VariantInfo(name = "Direct", description = "Draw edges as direct lines between nodes")]
    Direct,
    #[VariantInfo(name = "Orthogonal", description = "Draw edges as orthogonal lines between nodes")]
    Orthogonal,
}

#[derive(Copy, Clone, Eq, PartialEq)]
pub enum ArrangeMethod {
    None,
    Grid,
    GridPacked,
    Circular,
    Hierarchical,
    HierarchicalPacked,
    ForceDirected,
}
