Skip to main content

wrap_html_interactive

Function wrap_html_interactive 

Source
pub fn wrap_html_interactive(
    svg_body: &str,
    title: &str,
    opts: &RenderOptions,
    lanes: &[Lane],
    table_html: Option<&str>,
) -> String
Expand description

Wrap a pre-rendered SVG string in an interactive standalone HTML document.

The interactive document adds zoom/pan, search filtering, click detail panel, and lane legend checkboxes — all via inline JS/CSS with no external CDN deps.