//! Layout and color constants for the sankey renderer.
// ---------------------------------------------------------------------------
// Colour palette
// ---------------------------------------------------------------------------
/// Tableau10 colour palette, mirrors d3-scale schemeTableau10.
/// Used to assign a distinct colour to each node by insertion index.
pub const TABLEAU10: = ;
// ---------------------------------------------------------------------------
// SVG / layout identifiers
// ---------------------------------------------------------------------------
/// Fixed SVG element id for the sankey diagram root.
pub const SVG_ID: &str = "mermaid-sankey";
// ---------------------------------------------------------------------------
// CSS / label sizing
// ---------------------------------------------------------------------------
/// Font size (px) used for node labels.
pub const LABEL_FONT_SIZE: &str = "14px";
/// Font size attribute value used on the node-labels group.
pub const LABEL_FONT_SIZE_ATTR: &str = "14";
/// Pixel gap between a node edge and its label text (label offset from node, px).
pub const LABEL_OFFSET: f64 = 6.0;