Skip to contents

Sanitize node ID for mermaid compatibility (IMPROVED VERSION)

Usage

sanitize_node_id(node_id)

Arguments

node_id

Raw node identifier

Value

Sanitized identifier safe for mermaid