Skip to main content

LineThicknessMappingsConfig

LineThicknessMappingsConfig = object

Config for line thickness option in flowchart edge mappings.

Properties​

enabled?​

optional enabled: boolean

Whether or not to enable the 'thickness' property mapping. Defaults to false, for backwards compatibility reasons, will likely default to true in v2.


mappingName?​

optional mappingName: string

Defaults to "Line Thickness" - a name for the mapping that can be used in an inspector.


propertyName?​

optional propertyName: string

Defaults to "thickness"


values?​

optional values: object[]

List of thicknesses to support, and their keys. Defaults to [1:thin, 3:medium, 5:thick]

key​

key: string

value​

value: number