mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* backup, does not work * backup * baby steps * basics are now working * more progress * add substructure highlighting * get the FT stuff working too * get the FT stuff working too * empirical corrections to dashed bonds * enable coordgen support * change min font size * support dashed lines * some cleanup * support all MolDraw2D options when parsing from JSON * parse MolDraw2D options from JSON * show stereogroup labels when they are present * switch to using the new CIP labels in minilib * update demo to show controlling options * move all the JS code into jswrapper.cpp pass the canvas itself instead of the id to the JS functions introduce offset * remove extra emscripten load * cleanup debugging stuff * update freetype tests * update non-freetype tests * changes in response to review
JavaScript wrappers for the RDKit
Note These wrappers should be considered experimental. The API is not yet stable and may change from release to release.
The idea here is to allow the RDKit to be used from JavaScript so that we can add chemical capabilities to web applications. Rather than attempting a comprehensive wrapper (like RDKitJS), this exposes a small set of key functionality. I think the general approach, including this actual library, can be useful for other wrapper projects in the future.
This initial set of functionality is not complete, but it is intended to already be directly useful.
The Dockerfile in the docker/ shows how to setup an appropriate environment and build the wrappers.