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
| Parameter | Type |
|---|---|
annotations | AnnotationRefShape[] | undefined |
Returns
AnnotationDisplayInfo[]