Skip to main content

export_html

Function export_html 

Source
pub fn export_html(
    graph: &SceneGraph,
    bounds: &HashMap<NodeIndex, ResolvedBounds>,
    selected_ids: &[String],
) -> String
Expand description

Convert a SceneGraph (or a subset of selected nodes) to a standalone HTML page.

If selected_ids is empty, all top-level nodes are exported. Returns a complete HTML document string.