dendryform-html 0.1.0

Responsive HTML renderer for dendryform diagrams
Documentation

dendryform-html

Responsive HTML renderer for dendryform diagrams.

Consumes a LayoutPlan and Theme to produce a self-contained HTML file with embedded CSS. The output is dark-themed, responsive, and interactive with hover states and animations.

Quick Start

use dendryform_core::Theme;
use dendryform_html::render_html;
use dendryform_layout::compute_layout;

let diagram = dendryform_parse::parse_yaml_file("examples/taproot/architecture.yaml").unwrap();
let plan = compute_layout(&diagram).unwrap();
let html = render_html(&plan, &Theme::dark()).unwrap();
std::fs::write("output.html", html).unwrap();