Turn a string from a CLI flag or config file into a DiagramType, throwing a message that lists the valid names rather than failing later with "X is not a constructor".
Turn a string from a CLI flag or config file into a DiagramType, throwing a message that lists the valid names rather than failing later with "X is not a constructor".