This shows a variable number of selectable "fields" for each "record".

Draw new links by dragging from the background of any field. Reconnect a selected link by dragging its diamond-shaped handle. The user can delete a selected field.

The model data, automatically updated after each change or undo or redo:

This sample was derived from the Records sample.