Skip to main content

Type Alias: TypedElementResolver()

TypedElementResolver = (types, element) => ElementTemplate | ElementTemplateComponent | undefined

Defined in: widgets/canvas.tsx:79

Provides a custom component to render element on a diagram based on the element itself and its type IRIs if the element is an entity.

Parameters

ParameterType

types

readonly string[]

element

Element

Returns

ElementTemplate | ElementTemplateComponent | undefined