Skip to main content

site_config

Function site_config 

Source
pub(super) fn site_config(
    dark: bool,
    node_spacing: Option<u32>,
    source: &str,
) -> Value
Expand description

站点级 Mermaid 配置。

node_spacing 仅在子图框重叠、需要加大间距重排时传入;source 用来识别雷达图(见 theme_variables)。