Skip to main content

node_id

Function node_id 

Source
pub fn node_id(name: &str) -> String
Expand description

Derive a stable Mermaid node ID from a record name.

Converts PascalCase to SCREAMING_SNAKE_CASE, e.g. TemperatureReadingTEMPERATURE_READING.