arrows button icon

User 870ab5b546

31-03-2015 01:39:37

What is the significance of the plus sign above the arrows in the arrow icons?

ChemAxon 76c88f5366

01-04-2015 13:29:07

Dear Bob,


In Marvin JS reaction arrows and graphical arrows aren't distinguished during editing. That is why Arrow tool is also a Reaction tool, so you can draw the whole reaction and map atoms manually with this one tool. The arrow and the plus sign together are intended to indicate this complex function.


For more information , please check this video:


https://docs.chemaxon.com/display/marvinjs/Video+Tutorials#VideoTutorials-smartReaction


Regards,
Eszter 

User 870ab5b546

01-04-2015 14:03:40

Ouch. I completely understand why you introduced this change, but it is totally incompatible with the code we have already developed. We simply cannot have MarvinJS generate an MRV that encodes the arrow in one way if there is only one arrow, and encodes it a different way when there is more than one. 


The best solution here is to give the developer the option of providing the new arrow button or the old one. That way, we can have MarvinJS always encode an arrow as a graphical arrow, even if there is only one arrow in the drawing.

ChemAxon 996dedebe0

02-04-2015 06:51:11

Dear Bob,


 


No problem, you can switch off reaction convert by calling setServices(services) method:


var setting = {"reactionconvertws" : null};
marvinSketcherInstance.setServices(setting); 

I hope that helped. Regards,


 


Janos

User 870ab5b546

02-04-2015 11:52:22

That solves the problem. Thanks!