name: 'Test 1'
ns: test
title: 'Two Sync Inputs'
type: flow
nodes:
  -
    id: node1
    ns: test
    name: twoinput
nodeDefinitions:
  test:
    twoinput:
      ns: test
      name: twoinput
      ports:
        input:
          in1:
            type: string
          in2:
            type: string
        output:
          out1:
            type: string
          out2:
            type: string
      fn: "if ($.in1 !== undefined) output.out1 = $.get('in1'); if ($.in2 !== undefined) { output.out2 = $.get('in2'); }"
