OptionalcancelCancel button label.
OptionalfieldsDeclarative form fields; the resolved object is keyed by each field's key.
OptionalgetRead the collected values out of your custom rendered body on submit.
OptionalrenderPopulate the modal body with your own HTML (ignored if fed no getValues).
OptionalsubmitSubmit button label.
OptionaltitleModal header.
Options for EdgeCreateContext.promptData — a modal that collects a whole data payload for the new edge (not just a label). Supply either
fields(a declarative form, built with the same field system as the node editor) orrender+getValues(arbitrary HTML you populate and read yourself). If both are given,renderwins.