This sample is like the Mapping Fields of Records sample, but it has a collapsible tree of nodes on each side, rather than a simple list of items. The implementation of the trees comes from the Tree View sample.

Draw new links by dragging from any field (i.e. any tree node). Reconnect a selected link by dragging its diamond-shaped handle.

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