(s: &str)
| 632 | } |
| 633 | |
| 634 | fn 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. |