Skip to main content

inline

Function inline 

Source
pub fn inline(
    source: &ViewSource,
    view: &str,
    label: &str,
    nodes: &BTreeMap<String, Node>,
) -> Option<Inlined>
Expand description

source.svg rewritten for a page, or None when it is not a LikeC4 render (no .dot beside it, or one LikeC4 did not write) or not SVG in the shape Graphviz writes. nodes maps a LikeC4 id to what the page knows about its element: a node is classed by its kind, titled by its name (the hover tooltip) and wrapped in a link to its page when it has one; label is the diagram’s accessible name.