Skip to main content

merman_render/flowchart/
mod.rs

1mod label;
2mod layout;
3mod node;
4mod self_loop;
5mod style;
6
7pub(crate) type FlowchartV2Model = merman_core::diagrams::flowchart::FlowchartV2Model;
8pub(crate) type FlowNode = merman_core::diagrams::flowchart::FlowNode;
9pub(crate) type FlowEdge = merman_core::diagrams::flowchart::FlowEdge;
10pub(crate) type FlowSubgraph = merman_core::diagrams::flowchart::FlowSubgraph;
11
12pub use layout::{layout_flowchart_v2, layout_flowchart_v2_typed};
13
14pub(crate) use label::{
15    FlowchartLabelMetricsRequest, flowchart_decode_label_escapes,
16    flowchart_label_metrics_for_layout, flowchart_label_plain_text_for_layout,
17    flowchart_normalize_plain_multiline_label_for_html,
18};
19pub(crate) use node::flowchart_node_render_dimensions;
20pub(crate) use self_loop::{FlowchartSelfLoopEdgeOptions, flowchart_self_loop_helper_edges};
21pub(crate) use style::{
22    flowchart_effective_html_labels, flowchart_effective_node_class_names,
23    flowchart_effective_node_html_labels, flowchart_effective_text_style_for_classes,
24    flowchart_effective_text_style_for_node_classes, flowchart_html_label_measurement_base_style,
25    flowchart_node_has_span_css_height_parity,
26};