Mermaid › detectType
Unofficial
Signature:
detectType(text: string): string
Parameters:
Returns: string — The detected diagram type.