This repository contains examples of simple applications built using ChemDraw JS. The examples are intended to help developers understand how to incorporate ChemDraw JS into their own applications.
A simple application that uses webpack, TypeScript and React. Shows how to configure Webpack to load ChemDraw JS.
An example of how to use the ChemDraw JS library with vanilla JavaScript and HTML5.
We do not have an installer because ChemDraw JS is not an application. It is a library to help developers write applications that require chemical sketching.
You should receive four things with your ChemDraw JS subscription:
- An npm package as a .tgz file - this should be installed with
npm install file:chemdraw-js-package.tgz
, wherechemdraw-js-package.tgz
is the path to the package. - A license in XML format - this must be passed in to the CDJS
attach()
function - A Docker image for the ChemDraw Web Service - this is an optional server-side component that provides additional functionality for CDJS
- Documentation including a Developer's Guide and an API Reference
ChemDraw JS is a sketcher, not a general chemistry engine. It is not possible to use ChemDraw JS without attaching it to the DOM.
The ChemDraw Web Service can be used for more general chemistry tasks, for example:
- Converting between formats
- Generating SVG images from chemistry data
- Building reactions
- Getting properties from chemistry data
Information on the available endpoints can be found at /1.0/help
, e.g. http://localhost:8080/1.0/help
The CDWS API is private and subject to change at any time. Use this service at your own risk.