var model = Rpd.Model.start().attachTo(document.body)
.renderWith('html', { layout: 'pd' } );
var numberR = new Rpd.Node('anm/number');
var numberG = new Rpd.Node('anm/number');
var numberX = new Rpd.Node('anm/number');
var color = new Rpd.Node('anm/color');
var element = new Rpd.Node('anm/element');
numberR.inlets['spinner'].receive(40); // here!
numberR.outlets['out'].connect(color.inlets['red']);
numberG.outlets['out'].connect(color.inlets['green']);
numberG.inlets['spinner'].receive(90); // or here!
numberX.outlets['out'].connect(element.inlets['x']);
color.outlets['color'].connect(element.inlets['color']);
Example: