Reverse reaction - React CLI

    The command line parameter --reverse (-s) specifies that the reversed reaction will be performed; that is, the two sides of the given reaction equation are swapped: products are taken as reactants and reactants are taken as products. Note that in reverse mode, the number of input file(s)/string(s) should match the number of product(s) of the reaction equation to be applied. Example (Click here to expand...)

    1. react -s -r da.mrv "C1CCC=CC1" 
      
      C=CC=C
      
      C=C
    2. react -s -r da.mrv daproduct.mrv 
      
      C=CC=C
      
      C=C
      
      CC(=C)C(C)=C
      
      CC=C
      
      CC(=C)C(C)=C
      
      CC=CC

      Note : Results are written to the console.

    images/download/attachments/1803377/reverse.png