Representation of reactions

Introduction

Chemical reactions take place between two or more molecules called reactants, and results other molecules called products. Sometimes other molecule may participate in the reaction, the agent. Similarly, the chemaxon.struc.RxnMolecule class that represents the chemical reactions, embeddes two or more molecules.

Implementation

Build an RxnMolecule

The RxnMolecule.addComponent(Molecule, int) method adds the reactant, agent and result Molecule object to the RxnMolecule. In the argumentum of the method Molecule is molecule object to be added, while the integer flag specifies the type of the component. The constants of the RxnMolecule class can be used:

Reaction arrows

To change the type of the reaction arrow, use the RxnMolecule.setReactionArrowType(int). You can use the predefined constatns:

You may find an example program here.

 

 

 

 

S-groups

Table of contents

Examples for the Molecule representation

Previous chapter

 

Next chapter