How a comparison works#

The interactive flowchart below follows a single get_irmsd call through the Fortran backend: the canonical atom ranks, the alignment and LSAP assignment in min_rmsd, the bond-preserving selection among candidate assignments, and the centre walk that builds one of those candidates. Its last section animates three worked examples on small 2D toy molecules. Boxes with a link jump to the section that explains them.

Open the flowchart as a full page

The page is generated by docs/flowchart/build.py from template.html and the example frames in examples.json, which examples.py computes with a Python transcription of min_rmsd and the centre walk. The documentation build runs build.py; after changes to the examples, run python docs/flowchart/examples.py first.