Give ID to (exported) data
id should preferably come from an external state; if there is none, auto-assign
BUT do not defer this to export because the save handler of the parent component may also expect an ID if it does not provide one.
think about refactoring the component state to decouple it from the json representation of the dataGraph.
also, ID and/or type may be overwritten on dataGraph update of prefill
Edited by Stefan Hynek