reymond-group / smilesDrawer

A small, highly performant JavaScript component for parsing and drawing SMILES strings. Released under the MIT license.
https://smilesdrawer.rocks
MIT License
434 stars 68 forks source link

Added an option to specify target for svgDrawer as element #128

Closed eizemazal closed 2 years ago

eizemazal commented 2 years ago

This addresses issue 127 I just created; the change allows to specify target for svgDrawer as element rather than as element id, just like it works for smilesDrawer.