-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loadbang - how to start a network #97
Comments
I don't think it's a bad thing to have a simple component that just sends out a bang. I believe they do this also in Max. I feel though in most production code you'll be initiating things via user interaction (on frontend) or other input (on backend) however for testing it's always handy to have a component which just sends a bang. |
Just checked in Max it's also called |
I implemented a component called Start in my implementation, you can have many of them in a graph and what the engine does is initialize them with their IIPs and makes then run. They offer a clear view for the maintainer of the starting points of the graph. |
The issue here is that per NoFlo spec, components are not supposed to do anything before they receive input. Instead of an "auto-bang" component, why not just use a |
I forgot about core/Repeat. That's part of the issue: it doesn't sound like Good to make this info Googleable here and StackOverflow. ✓ http://stackoverflow.com/questions/22021565/noflo-how-to-start-a-graph-network |
@forresto then please re-post this to http://stackoverflow.com/questions/tagged/noflo :-) |
This, by far, is the hardest thing to figure out with flowhub : ( Until I figured out how to send something to test a graph I'd made, this was nothing but a diagramming tool : ( Now that Flowhub is out, is there a tutorial for creating a simple graph? (I ask, as the examples aren't reach-able for some reason from the Chrome app) |
@borromeotlhs documentation needs still a lot of work, but here is something: http://flowhub.io/documentation/ |
Yeah, In a perverse way, I think using your tool first and then reading the Interestingly, the first demo app I made was connecting to github and Once I finish the book, I'll try to compile a tutorial detailing some of R/
|
Pure Data has a
loadbang
component, which does what it says. I'm thinking this could be useful for NoFlo: a component that sends one bang when the network starts. That could trigger kicks to send their data, and anything else that needs to start when the network starts.Another option would be a way for the UI to save a bang IIP. Then
kick
could beloadbang
when needed.https://groups.google.com/forum/#!topic/flow-based-programming/2KTl-bhNzpw -- Mikko used
output
as aloadbang
💀With the clock example I cheated, editing the JSON to send an IIP to the
kick
's in (you can't do that in the UI).The text was updated successfully, but these errors were encountered: