MolGR algorithm architecture
MolGR reconstructs an RDKit molecule from XYZ coordinates, total charge, and spin multiplicity. For metal-free inputs it searches the molecular graph directly. For a metal complex it first tries electronic states for the metals. Each assignment sets the ligand charge and unpaired-electron targets. MolGR then compares the resulting metal–ligand combinations.
Vector PDF · 300 dpi PNG · Editable Draw.io file
Architecture overview
- a · Which metal state wins? Within a layer, metal assignments with the same ligand targets
(q, r)share one ligand search. Each assignment is still scored with its ligand candidates. Selection follows scoring of the whole layer. Metal candidate scoring - b · When does the search stop? Each ligand seed keeps every valid candidate from its first successful layer. The red retry path runs only if all primary layers are empty. Other seeds continue independently. Recovery order
- c · The amber step in b. Ligand preparation can still use the metal coordinates. When two carboxylate oxygens tie on the chemical criteria and satisfy the geometry checks, the oxygen closer to the metal receives the negative charge. Ligand preparation
- d · The blue step in b. Moving electrons along conjugated bonds explores alternative bond orders and charge assignments. After deduplication, candidates must satisfy the charge, unpaired-electron, and local geometry checks to enter ranking.
Model and scope · Search and ranking rules · Backend validation · Figure sources and generation