Skip to content

RelaxedManualConstraint

Overview

Like ManualConstraint, but permits layout when not all the nodes are connected (null will be passed through).

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RelaxedManualConstraint

import { RelaxedManualConstraint } from 'scenerystack/scenery';

Constructor

new RelaxedManualConstraint( ancestorNode : Node, nodes : T, layoutCallback : LayoutCallback<T> )

Instance Methods

dispose()

Releases references

Static Methods

create( ancestorNode : Node, nodes : T, layoutCallback : LayoutCallback<T> ) : RelaxedManualConstraint<T>

Source Code

See the source for RelaxedManualConstraint.ts in the scenery repository.