name: 'Test 1'
ns: test
title: 'Simple flow'
description: 'Simple flow'
type: flow
nodes:
  -
    id: node1
    ns: world
    name: hello
    context:
      message: 'Hello World!'
  -
    id: node2
    ns: console
    name: log
links:
  -
    id: my-link
    source:
      id: node1
      port: out
    target:
      id: node2
      port: msg
nodeDefinitions:
  world:
    hello:
      name: hello
      ns: world
      ports:
        input:
          message:
            type: string
        output:
          out:
            type: string
      fn: "output = { out: $.get('message') }\n"
  console:
    log:
      name: log
      ns: console
      description: 'Console log'
      title: 'Console log'
      ports:
        input:
          msg:
            type: any
            title: 'Log message'
            description: 'Logs a message to the console'
        output: {  }
      fn: ""
