import '../../../globals.js';
// Copyright 2022-2024, University of Colorado Boulder
/**
 * MoleculeNode is the base class for all molecules.
 *
 * @author Chris Malley (PixelZoom, Inc.)
 */
import Vector2 from '../../../dot/js/Vector2.js';
import optionize from '../../../phet-core/js/optionize.js';
import { Node } from '../../../scenery/js/imports.js';
import nitroglycerin from '../nitroglycerin.js';
export default class MoleculeNode extends Node {
    constructor(atomNodes, providedOptions) {
        const options = optionize()({
            children: [new Node({
                    children: atomNodes,
                    center: Vector2.ZERO // origin at geometric center
                })]
        }, providedOptions);
        super(options);
    }
}
nitroglycerin.register('MoleculeNode', MoleculeNode);
//# sourceMappingURL=MoleculeNode.js.map