Skip to main content

Type Alias: TypeStyleResolver()

TypeStyleResolver = (types) => TypeStyle | undefined

Defined in: diagram/customization.ts:16

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