appcui 0.4.8

A feature-rich and cross-platform TUI/CUI framework for Rust, enabling modern terminal-based applications on Windows, Linux, and macOS. Includes built-in UI components like buttons, menus, list views, tree views, checkboxes, and more. Perfect for building fast and interactive CLI tools and text-based interfaces.
Documentation
use super::EdgeRouting;
use crate::graphics::LineType;

#[derive(Copy, Clone, Eq, PartialEq)]
pub(super) struct RenderingOptions {
    pub(super) highlight_edges_in: bool,
    pub(super) highlight_edges_out: bool,
    pub(super) show_arrow_heads: bool,
    pub(super) edge_routing: EdgeRouting,
    pub(super) edge_line_type: LineType,
}

impl RenderingOptions {
    pub fn new() -> Self {
        Self {
            highlight_edges_in: false,
            highlight_edges_out: false,
            show_arrow_heads: true,
            edge_routing: EdgeRouting::Direct,
            edge_line_type: LineType::Single,
        }
    }
}