How to use the rete.Socket function in rete

To help you get started, we’ve selected a few rete examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Ni55aN / allmatter / src / editor / sockets.js View on Github external
import { Socket } from 'rete';

const num = new Socket('Number value');
const image = new Socket('Image');
const value = new Socket('Image');
const curve = new Socket('Curve');
const color = new Socket('Color');

num.combineWith(value);
image.combineWith(value);
color.combineWith(value);
value.combineWith(num);
value.combineWith(image);
value.combineWith(color);

num.combineWith(image);
num.combineWith(color);
color.combineWith(image);

export default {
    num,
    image,
    value,
github retejs / rete.js.org / src / rete / sockets.js View on Github external
import { Socket } from 'rete';

export default {
    num: new Socket('Number value'),
    action: new Socket('Action'),
    data: new Socket('Data'),
    package: new Socket('Package')
}
github retejs / rete.js.org / src / rete / sockets.js View on Github external
import { Socket } from 'rete';

export default {
    num: new Socket('Number value'),
    action: new Socket('Action'),
    data: new Socket('Data'),
    package: new Socket('Package')
}
github Ni55aN / allmatter / src / editor / sockets.js View on Github external
import { Socket } from 'rete';

const num = new Socket('Number value');
const image = new Socket('Image');
const value = new Socket('Image');
const curve = new Socket('Curve');
const color = new Socket('Color');

num.combineWith(value);
image.combineWith(value);
color.combineWith(value);
value.combineWith(num);
value.combineWith(image);
value.combineWith(color);

num.combineWith(image);
num.combineWith(color);
color.combineWith(image);
github Ni55aN / allmatter / src / editor / sockets.js View on Github external
import { Socket } from 'rete';

const num = new Socket('Number value');
const image = new Socket('Image');
const value = new Socket('Image');
const curve = new Socket('Curve');
const color = new Socket('Color');

num.combineWith(value);
image.combineWith(value);
color.combineWith(value);
value.combineWith(num);
value.combineWith(image);
value.combineWith(color);

num.combineWith(image);
num.combineWith(color);
color.combineWith(image);

export default {
    num,
github retejs / rete.js.org / src / rete / sockets.js View on Github external
import { Socket } from 'rete';

export default {
    num: new Socket('Number value'),
    action: new Socket('Action'),
    data: new Socket('Data'),
    package: new Socket('Package')
}
github retejs / rete.js.org / src / rete / sockets.js View on Github external
import { Socket } from 'rete';

export default {
    num: new Socket('Number value'),
    action: new Socket('Action'),
    data: new Socket('Data'),
    package: new Socket('Package')
}
github Ni55aN / allmatter / src / editor / sockets.js View on Github external
import { Socket } from 'rete';

const num = new Socket('Number value');
const image = new Socket('Image');
const value = new Socket('Image');
const curve = new Socket('Curve');
const color = new Socket('Color');

num.combineWith(value);
image.combineWith(value);
color.combineWith(value);
value.combineWith(num);
value.combineWith(image);
value.combineWith(color);

num.combineWith(image);
num.combineWith(color);
color.combineWith(image);

export default {
github Ni55aN / allmatter / src / editor / sockets.js View on Github external
import { Socket } from 'rete';

const num = new Socket('Number value');
const image = new Socket('Image');
const value = new Socket('Image');
const curve = new Socket('Curve');
const color = new Socket('Color');

num.combineWith(value);
image.combineWith(value);
color.combineWith(value);
value.combineWith(num);
value.combineWith(image);
value.combineWith(color);

num.combineWith(image);
num.combineWith(color);
color.combineWith(image);

export default {
    num,
    image,

rete

JavaScript framework

MIT
Latest version published 3 months ago

Package Health Score

82 / 100
Full package analysis