DiagramType
Type-safe enumeration of Kroki diagram types for com.kslides.diagram. Using the enum overload turns a mistyped diagram type into a compile error rather than a far-away Kroki 400. The raw-String overload of diagram() remains for types not listed here.
Entries
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.