Package-level declarations

Types

Link copied to clipboard

Allows to specify multiple MetaInfo objects. It might be simpler than constructing single object implementing multiple MetaInfo derived interfaces. Nesting CompositeMetaInfo into each other is not supported. Only one instance of certain MetaInfo subtype should be specified.

Link copied to clipboard

Standard MetaInfo, to control unsafe export feature.

Link copied to clipboard

ExportMetaInfo Implementation is separated from its interface as a user may combine multiple MetaInfo interfaces into one object. Data class should not be exposed to public APIs due to binary compatibility, users should use buildExportMetaInfo instead.

Allows to ignore an effect of export's feature unsafeCallConditionalLambdas flag for certain conditional transition or conditional state RedirectPseudoState. Conditional lambda will not be called if this meta info is applied.

Link copied to clipboard
interface MetaInfo

Additional static (designed to be immutable) info for library primitives like IState etc. Users may extend this interface to add their own MetaInfo implementations. Users may combine multiple MetaInfo derived interfaces into single object or use CompositeMetaInfo instead.

Link copied to clipboard
sealed interface ResolutionHint

Hint to be used with ExportMetaInfo

Link copied to clipboard
interface UmlMetaInfo : MetaInfo

Standard MetaInfo, to control export PlantUML and Mermaid feature visualization.

Link copied to clipboard

UmlMetaInfo Implementation is separated from its interface as a user may combine multiple MetaInfo interfaces into one object. Data class should not be exposed to public APIs due to binary compatibility, users should use buildUmlMetaInfo instead.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <M : MetaInfo> MetaInfo?.findMetaInfo(): M?

Helper method for getting MetaInfo of specified type