3

Pure Data has a loadbang component, which does what it says: sends one bang when the graph starts running. NoFlo's core/Kick doesn't send its data until its IN input is hit, and you can't save a bang IIP in noflo-ui.

forresto
  • 12,078
  • 7
  • 45
  • 64

1 Answers1

2

core/Repeat with an IIP (any string) on the IN port will do what you're looking for. Here is a browser example that shows a popup alert when the network starts:

loadbang(core/Repeat) OUT -> IN alert(core/MakeFunction)
'alert("hi");' -> FUNCTION alert
':-)' -> IN loadbang

noflo-ui rendering of above graph

Related discussion: https://github.com/noflo/noflo-ui/issues/97

forresto
  • 12,078
  • 7
  • 45
  • 64
  • Keep the order of IIPs in mind, as that will change how the graph runs. See: https://github.com/noflo/noflo-ui/issues/111 – forresto Apr 17 '14 at 10:41
  • http://flowhub.io/documentation/getting-started-browser/ is good to answer the general question of: "how do I get started with flowhub?" I point this out, as this seems to be the only question/answer on SO that even speaks to how I create the equivalent "Hello World" app. – tjborromeo Aug 04 '14 at 21:21