merman_render/error.rs
1use crate::Result;
2use crate::model::ErrorDiagramLayout;
3use crate::text::TextMeasurer;
4
5pub const UPSTREAM_MERMAID_VERSION: &str = "11.12.3";
6
7pub fn layout_error_diagram(
8 _semantic: &serde_json::Value,
9 _effective_config: &serde_json::Value,
10 _measurer: &dyn TextMeasurer,
11) -> Result<ErrorDiagramLayout> {
12 Ok(ErrorDiagramLayout {
13 viewbox_width: 2412.0,
14 viewbox_height: 512.0,
15 max_width_px: 512.0,
16 })
17}