The function returns the merged MolGraph; the selected dummy atoms are removed and their neighboring atoms are connected. The example copies its inputs because merging can modify them. For iterative ...