forresto
forresto

Reputation: 12388

NoFlo - how to start a graph / network

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.

Upvotes: 3

Views: 598

Answers (1)

forresto
forresto

Reputation: 12388

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

Upvotes: 2

Related Questions