pub fn polydat_to_svg(source: &str) -> Result<String, String>Expand description
Render a Polydat source string as self-contained SVG.
Generates DOT with record nodes and port syntax, then renders through layout-rs (pure Rust, no external graphviz needed). Layout-rs supports record shapes and port-based edge routing.