miso-flow
LicenseBSD3-style (see the file LICENSE)
Safe HaskellNone
LanguageHaskell2010

Miso.Flow.Constants

Description

Port of constants.ts from @xyflow/system.

Synopsis

Error messages

errorMessage :: ErrorCode -> MisoString -> MisoString Source #

Look up an error message renderer by its code. The context argument (an id, node type, etc.) is interpolated where the original message takes a parameter and ignored otherwise.

error008 :: HandleType -> Maybe MisoString -> EdgeId -> MisoString Source #

Takes the failing HandleType, the handle id (if any) and the edge id.

Extents

Keys

Aria labels

mergeAriaLabelConfig :: (AriaLabelConfig -> AriaLabelConfig) -> AriaLabelConfig Source #

Port of mergeAriaLabelConfig: apply overrides to the defaults.