@chix/flow
Version:
52 lines (50 loc) • 774 B
YAML
title: Open Ports
type: flow
nodes:
-
id: '1'
ns: test
name: ting
-
id: '2'
ns: receiv
name: ing
links:
-
source:
id: '1'
port: port1
target:
id : '2'
port: in
-
source:
id: '1'
port: port2
target:
id: '2'
port: in
nodeDefinitions:
test:
ting:
ns: test
name: ting
fn: 'output = { port1: $.create("bladiebla"), port2: $.get("in") };'
ports:
input:
in:
type: string
output:
port1:
type: string
port2:
type: string
receiv:
ing:
ns: receiv
name: ing
fn: '/* thanks input.in */'
ports:
input:
in:
type: string