Electron-flow arrows and shortcut groups in images

User 870ab5b546

17-11-2004 13:41:10

If I make an image from this Marvin 3.5.0 file:





Code:



<?xml version="1.0"?>


<MDocument>


  <MChemicalStruct>


    <molecule molID="m1">


      <atomArray


          atomID="a1 a2 a3 a4 a5 a6 a7 a8 a9"


          elementType="C C C C C R R Sn R"


          radical="0 0 0 0 0 0 0 monovalent 0"


          sgroupRef="0 0 0 0 0 sg1 sg2 0 sg3"


          x2="-5.949999809265137 -7.195866138282165 -6.720003720894942 -5.1799958976353295 -4.7041334802481085 -2.450000047683716 -0.9100000476837158 -2.450000047683716 -2.0514187182258334"


          y2="2.4766588817077935 1.5714422831957933 0.10689484327590204 0.10689484327590204 1.5714422831957933 0.49000004768371586 -1.0499999523162842 -1.0499999523162842 -2.5375257248014496"


          />


      <bondArray>


        <bond atomRefs2="a1 a2" order="1" />


        <bond atomRefs2="a1 a5" order="1" />


        <bond atomRefs2="a2 a3" order="1" />


        <bond atomRefs2="a3 a4" order="2" />


        <bond atomRefs2="a4 a5" order="1" />


        <bond atomRefs2="a8 a6" order="1" />


        <bond atomRefs2="a8 a7" order="1" />


        <bond atomRefs2="a8 a9" order="1" />


      </bondArray>


      <molecule id="sg1" role="SuperatomSgroup" title="Bu" molID="m2">


        <atomArray


            atomID="a10 a11 a12 a13"


            elementType="C C C C"


            attachmentPoint="1 0 0 0"


            x2="-2.0005186827420536 -0.6668395609140179 0.666839560914017 2.0005186827420536"


            y2="-0.3849999999999996 0.3850000000000002 -0.3850000000000005 0.3849999999999995"


            />


        <bondArray>


          <bond atomRefs2="a10 a11" order="1" />


          <bond atomRefs2="a11 a12" order="1" />


          <bond atomRefs2="a12 a13" order="1" />


        </bondArray>


      </molecule>


      <molecule id="sg2" role="SuperatomSgroup" title="Bu" molID="m3">


        <atomArray


            atomID="a14 a15 a16 a17"


            elementType="C C C C"


            attachmentPoint="1 0 0 0"


            x2="-2.0005186827420536 -0.6668395609140179 0.666839560914017 2.0005186827420536"


            y2="-0.3849999999999996 0.3850000000000002 -0.3850000000000005 0.3849999999999995"


            />


        <bondArray>


          <bond atomRefs2="a14 a15" order="1" />


          <bond atomRefs2="a15 a16" order="1" />


          <bond atomRefs2="a16 a17" order="1" />


        </bondArray>


      </molecule>


      <molecule id="sg3" role="SuperatomSgroup" title="Bu" molID="m4">


        <atomArray


            atomID="a18 a19 a20 a21"


            elementType="C C C C"


            attachmentPoint="1 0 0 0"


            x2="-2.0005186827420536 -0.6668395609140179 0.666839560914017 2.0005186827420536"


            y2="-0.3849999999999996 0.3850000000000002 -0.3850000000000005 0.3849999999999995"


            />


        <bondArray>


          <bond atomRefs2="a18 a19" order="1" />


          <bond atomRefs2="a19 a20" order="1" />


          <bond atomRefs2="a20 a21" order="1" />


        </bondArray>


      </molecule>


    </molecule>


  </MChemicalStruct>


  <MEFlow arcAngle="150.0" headSkip="0.15" headFlags="2" headLength="0.6"


          headWidth="0.5" tailSkip="0.25">


    <MAtomSetPoint atomRefs="m1.a8" />


    <MAtomSetPoint atomRefs="m1.a8 m1.a4" />


  </MEFlow>


  <MEFlow arcAngle="-150.0" headSkip="0.15" headFlags="2" headLength="0.6"


          headWidth="0.5" tailSkip="0.15">


    <MAtomSetPoint atomRefs="m1.a3 m1.a4" />


    <MAtomSetPoint atomRefs="m1.a8 m1.a4" />


  </MEFlow>


  <MEFlow arcAngle="248.39738999999997" headSkip="0.25" headFlags="2"


          headLength="0.6" headWidth="0.5" tailSkip="0.15">


    <MAtomSetPoint atomRefs="m1.a3 m1.a4" />


    <MAtomSetPoint atomRefs="m1.a3" />


  </MEFlow>


</MDocument>








the electron-flow arrows don't show up (see image 1). If I replace the Bu shortcut groups with Cl groups, as in this file:





Code:



<?xml version="1.0"?>


<MDocument>


  <MChemicalStruct>


    <molecule molID="m1">


      <atomArray


          atomID="a1 a2 a3 a4 a5 a6 a7 a8 a9"


          elementType="C C C C C Sn Cl Cl Cl"


          radical="0 0 0 0 0 monovalent 0 0 0"


          x2="-5.949999809265137 -7.195866138282165 -6.720003720894942 -5.1799958976353295 -4.7041334802481085 -2.450000047683716 -2.450000047683716 -0.9100000476837158 -2.0514187182258334"


          y2="2.4766588817077935 1.5714422831957933 0.10689484327590204 0.10689484327590204 1.5714422831957933 -1.0499999523162842 0.49000004768371586 -1.0499999523162842 -2.537525724801449"


          />


      <bondArray>


        <bond atomRefs2="a1 a2" order="1" />


        <bond atomRefs2="a1 a5" order="1" />


        <bond atomRefs2="a2 a3" order="1" />


        <bond atomRefs2="a3 a4" order="2" />


        <bond atomRefs2="a4 a5" order="1" />


        <bond atomRefs2="a6 a7" order="1" />


        <bond atomRefs2="a6 a8" order="1" />


        <bond atomRefs2="a6 a9" order="1" />


      </bondArray>


    </molecule>


  </MChemicalStruct>


  <MEFlow arcAngle="150.0" headSkip="0.15" headFlags="2" headLength="0.6"


          headWidth="0.5" tailSkip="0.25">


    <MAtomSetPoint atomRefs="m1.a6" />


    <MAtomSetPoint atomRefs="m1.a6 m1.a4" />


  </MEFlow>


  <MEFlow arcAngle="-150.0" headSkip="0.15" headFlags="2" headLength="0.6"


          headWidth="0.5" tailSkip="0.15">


    <MAtomSetPoint atomRefs="m1.a3 m1.a4" />


    <MAtomSetPoint atomRefs="m1.a6 m1.a4" />


  </MEFlow>


  <MEFlow arcAngle="248.39738999999997" headSkip="0.25" headFlags="2"


          headLength="0.6" headWidth="0.5" tailSkip="0.15">


    <MAtomSetPoint atomRefs="m1.a3 m1.a4" />


    <MAtomSetPoint atomRefs="m1.a3" />


  </MEFlow>


</MDocument>








the electron-flow arrows do show up (see image 2).

ChemAxon 7c2d26e5cf

17-11-2004 16:02:32

Thanks for the bug report. We will fix it.


By the way, if you use the "File->Save Image" menu item in MarvinSketch for image export, electron-flow arrows are always visible on the generated images.