Function: RelationEditor()
RelationEditor(
props):Element
Defined in: widgets/editorForms/editRelationForm.tsx:84
Component which allows to build an relation editor by using provided state and callbacks to the nested components.
target must be a RelationLink placed on the canvas.
Parameters
| Parameter | Type | Description |
|---|---|---|
| { | ‐ |
| ( | Render function to make an editor UI using provided state. |
| ( | Handler to update the edited link when its endpoint (source or target element) changes. This is required to be handled because link endpoints cannot be changed directly without re-creating the link itself. |
| Target relation link to edit. |
Returns
Element