Skip to main content

Type Alias: TypeStyleResolver()

TypeStyleResolver: (types) => TypeStyle | undefined

Provides a custom type style for an element with specific set of types.

Parameters

ParameterTypeDescription

types

ReadonlyArray<string>

sorted array of element type IRIs

Returns

TypeStyle | undefined

custom type style for the specific combination of element types or undefined if default style should be used

Defined in

diagram/customization.ts:35