Skip to main content

Table 1 mol2chemfig code modules

From: mol2chemfig, a tool for rendering chemical structures from molfile or SMILES format to LATE X code

Module name(s) Role
processor Accepts and validates user input from the command line or through the web; invokes indigo to parse input and supply missing coordinates; hands over to molecule
molecule Generates tree representation of the molecule, applies options, renders molecule to chemfig code
chemfig_mappings Supplies translations and auxiliary code for rendering the molecule tree to chemfig code
atom, bond Supply auxiliary classes for molecule
common Supplies auxiliary classes and global settings
options, optionparser Define and process options