rune-langium / visual-editor/src / AdapterCardinality
Interface: AdapterCardinality
Defined in: packages/visual-editor/src/adapters/structure-graph-adapter.ts:110
Canonical cardinality shape mirroring model-helpers.ts's CardinalityShape. Re-declared here (not imported) because that type is not exported, but kept structurally identical so the adapter can be wired to the real Langium AST in Phase 3 without a second migration.
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
inf | readonly | number | packages/visual-editor/src/adapters/structure-graph-adapter.ts:111 |
sup? | readonly | number | packages/visual-editor/src/adapters/structure-graph-adapter.ts:112 |
unbounded | readonly | boolean | packages/visual-editor/src/adapters/structure-graph-adapter.ts:113 |