Skip to content

MoleculeNode

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.