Skip to content

MoleculeNode

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/nitroglycerin/blob/main/js/nodes/MoleculeNode.ts for the most up-to-date information.

Overview

MoleculeNode is the base class for all molecules.

@author Chris Malley (PixelZoom, Inc.)

Class MoleculeNode

import { MoleculeNode } from 'scenerystack/nitroglycerin';

Constructor

new MoleculeNode( atomNodes : AtomNode[], providedOptions? : MoleculeNodeOptions )

Instance Methods

Type MoleculeNodeOptions

import type { MoleculeNodeOptions } from 'scenerystack/nitroglycerin';

Source Code

See the source for MoleculeNode.ts in the nitroglycerin repository.