Skip to main content

substitute_object_escapes

Function substitute_object_escapes 

Source
pub fn substitute_object_escapes(
    label: &str,
    ctx: &LabelSubstContext<'_>,
) -> String
Expand description

Substitutes Graphviz object escapes (\N, \G, \T, \H, \E, \L) while preserving line-formatting escapes (\n, \l, \r, \\) for make_simple_label; this is strdup_and_subst_obj0(str, obj, 0) from lib/common/labels.c.