NPellet / visualizer

Other
43 stars 24 forks source link

mol2d type renderer and hydrogens #977

Closed lpatiny closed 7 years ago

lpatiny commented 7 years ago

The current type renderer for mol2d goes through oclCode.

https://github.com/NPellet/visualizer/blob/master/src/src/util/typerenderer.js#L274

The problem is that those code skips all the hydrogens which may be quite annoying in some cases. I htink that for mol2d we should stay with molfile and create the molecule OCL object from it.

targos commented 7 years ago

We are now using SVG by default and hydrogens are kept