When one drags the "Macro" node (actually a Group) from the Palette into the main Diagram, the "ExternalObjectsDropped" DiagramEvent listener automatically ungroups that group node to show all of its members nodes and links that were copied by the drag-and-drop.

Note also that a drop causes the TextEditingTool to automatically start editing the text in the node.

Diagram Model saved in JSON format: