The Zoom in and Zoom out buttons can be used to control the zoom factor of the canvas. Alternatively, the mouse wheel can also be used. Simply scroll with it when the canvas is in focus.
The Zoom all button optimizes the size of the structure to the canvas size. The Zoom to selection button displays only the selected structure on the canvas.
The vertical and horizontal scroll bars appear when the structure is bigger than the canvas or when some structural parts are out of the canvas.
The following selection modes are available in Marvin JS:
To select an atom, bond or group, click or select it (while the active tool is either the Rectangle selection or the Freehand selection). To select a structure, double-click an atom or a bond of it while the active tool is either the Rectangle selection or the Freehand selection. To unselect, click an empty place on the canvas.
To move a single atom or bond, drag it on the canvas while one of the selection tools is active.
To move a selected molecule, move the it by dragging one of its atoms. In the case of graphical objects, drag the selected graphical object by its line.
To delete an atom or a bond, click the Delete tool on the tools toolbar, then click the atom or the bond. Alternatively, you can select the parts you would like to erase by holding the left mouse button and dragging. You can delete a previously selected area by clicking on the Delete tool or pressing the Delete key.
Feature | Marvin JS version 20.20 | MarvinSketch |
---|---|---|
Atom drawing | ✔️ | ✔️ |
Periodic Table | ✔️ | ✔️ |
Charge | ✔️ | ✔️ |
Isotope | ✔️ | ✔️ |
Radical | ✔️ | ✔️ |
Adding lone pairs | ✔️ | ✔️ |
Automatic lone pair calculation | ✔️ | ✔️ |
Enhanced stereo notation | ✔️ | ✔️ |
Query atoms | ✔️ | ✔️ |
Atom query properties | ✔️ | ✔️ |
Bond drawing | ✔️ | ✔️ |
Chemical bonds | ✔️ | ✔️ |
Query bonds | ✔️ | ✔️ |
Bond query properties | ✔️ | ✔️ |
Setting bond thickness and length | ❌ | ✔️ |
Chain drawing | ✔️ | ✔️ |
Inserting templates | ✔️ | ✔️ |
Custom templates | ✔️ | ✔️ |
Predefined abbreviated groups | ✔️ | ✔️ |
User-defined abbreviated groups | Possible from the server side by integrator | ✔️ |
Merging | ✔️ | ✔️ |
Sprout drawing | ✔️ | ✔️ |
Drag, zoom, mirror, rotate in 2D | ✔️ | ✔️ |
Drag, zoom, mirror, rotate in 3D | WS | ✔️ |
Clean 2D | WS | ✔️ |
Clean 3D | WS | ✔️ |
Cut/Copy | ✔️ | ✔️ |
Paste (data from the same application) | ✔️ | ✔️ |
Paste (data from another application) | Mol (V2000) and MRV formats (Others: WS*) | ✔️ |
Drag&Drop | WS | ✔️ |
Copy/Paste as OLE | ❌ | ✔️ |
Setting absolute stereo (Chiral) | ✔️ | ✔️ |
Atom lists/NOT lists | ✔️ | ✔️ |
R-group labels | ✔️ | ✔️ |
R-group definition | ✔️ | ✔️ |
R-group logic | ✔️ | ✔️ |
Link nodes | ✔️ | ✔️ |
Frequency variation | ✔️ | ✔️ |
Position variation bond | ✔️ | ✔️ |
Homology groups | ✔️ | ✔️ |
Homology group properties | ❌ | ✔️ |
Alias and pseudo atoms | ✔️ | ✔️ |
Custom SMARTS properties | ✔️ | ✔️ |
Reaction drawing | ✔️ | ✔️ |
Adding textbox | ✔️ | ✔️ |
Electron flow arrows | ✔️ | ✔️ |
Drawing S-groups | ❌ | ✔️ |
Data S-groups | Atoms, bonds, groups, fragments | ✔️ |
Coordinate bond from multi-atom group | ✔️ | ✔️ |
Graphical elements (circle, line, graphical arrows...) | Ellipse and rectangle | ✔️ |
Picture templates | ❌ | ❌ |
Textbox templates | ❌ | ❌ |
Grid/Ruler/Crosshair | ❌ | ✔️ |
Alignment | ❌ | ✔️ |
Setting text fonts | ❌ | ✔️ |
MRV | ✔️ | ✔️ |
MDL Molfile V2000 | ✔️ | ✔️ |
MDL Molfile V3000 | WS | ✔️ |
MDL SDfile | WS | ✔️ |
SMILES | WS | ✔️ |
CXN SMILES | WS | ✔️ |
SMARTS | WS | ✔️ |
CXN Extended SMARTS | WS | ✔️ |
InChi | WS | ✔️ |
InChiKey, export only | WS | ✔️ |
Name | WS | ✔️ |
CML | WS | ✔️ |
XYZ | WS | ✔️ |
CXN Compressed Molfile | WS | ✔️ |
CXN Compressed SDfile | WS | ✔️ |
CDX | WS | ✔️ |
SKC | WS | ✔️ |
Image import: structures | ❌ | with OSRA |
Image import: pictures | ❌ | ❌ |
Image export via GUI | ✔️ | ✔️ |
Image export via API | ✔️ | ✔️ |
Valence check | ✔️ | ✔️ |
Aromatization | ✔️ | ✔️ |
Explicit hydrogen display | WS | ✔️ |
Mapping (manual) | ✔️ | ✔️ |
Mapping (automatic) | WS | ✔️ |
Structure Checker integrated | No, but an example is available on how to integrate it. | ✔️ |
Calculator Plugins integrated | ❌ | ✔️ |
Carbon label visibility | ✔️ | ✔️ |
Implicit hydrogen visibility | ✔️ | ✔️ |
Lone pair visibility | ✔️ | ✔️ |
Atom index visibility | ✔️ | ✔️ |
Using CPK colors | ✔️ | ✔️ |
Structure display (wireframe, ball&stick, spacefill) | ✔️ | ✔️ |
R/S and E/Z stereo notation | WS | ✔️ |
3D display | WS | ✔️ |
Biomolecule display | ❌ | ✔️ |
Customization via user-defined buttons for calling JS functionalities | ✔️ | ❌ |
Customization of menus, buttons, and shortcuts | No, but presets available. | ✔️ |
Built-in configurations (ChemDraw-like, ISIS-like...) | ❌ | ✔️ |
{info} WS indicates that the specific functionality needs the appropriate web service. For more information about web services, see the Web services or contact us at support@chemaxon.com.