ConnectedMoleculeComponents

ConnectedMoleculeComponents[mol]

gives the connected components of the molecule mol.

Details

Examples

Basic Examples  (1)

Create a molecule representing a salt:

In[1]:=
Click for copyable input
Out[1]=

Find the disconnected components of the molecule:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2019
(12.0)