Skip to content

rune-langium / visual-editor/src / annotationsToDisplay

Function: annotationsToDisplay()

ts
function annotationsToDisplay(annotations): AnnotationDisplayInfo[];

Defined in: packages/visual-editor/src/adapters/model-helpers.ts:82

Convert AstNodeModel<AnnotationRef>[] to display-friendly objects.

Parameters

ParameterType
annotationsAnnotationRefShape[] | undefined

Returns

AnnotationDisplayInfo[]

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.