Open zippy opened 8 years ago
The proper way to do this, I think, is to actually represent trees in the editing state by wrapping their parts in the HTML that represents their structural definition, and can thus have UI associated with those parts for adding/subtracting optional elements of those parts. This has two implications:
Non-fixed size structures, i.e. ones with optionals need visual markers for delete/add more repetitions/change or value/choose different symbol from set, etc
This is can be deduced from the STRUCTURE_DEFINITION in the case of symbols and from the INPUT_SIGNATURE in the case of processes