MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / dot_escape_label

Function dot_escape_label

atomic-cli/src/commands/query/mod.rs:634–636  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

632}
633
634fn dot_escape_label(s: &str) -> String {
635 s.replace('\\', "\\\\").replace('"', "\\\"")
636}
637
638/// Stable categorical colors with contrast against the HTML graph's dark canvas.
639/// Exhaustive matching keeps ontology additions from silently sharing a fallback.

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected