-
Notifications
You must be signed in to change notification settings - Fork 258
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
Graphs instantiating twice #608
Comments
@sfescape can you provide an example to verify this? |
I took the example from the documentation for embedding (simple graph that just repeats in to core/Display). `"use strict"; // Load the NoFlo module // Use NoFlo's asCallback helper to prepare a JS function that wraps the graph // Call the wrapped graph. Can be done multiple times I added a console.log to component/Graph.js just before the graph loadFile call.
Execute the graph and observe that the show_flow graph is loaded twice.
Note: the graph itself only executes once. |
When using asCallback I noticed that two graph instances are being instantiated for each graph component.
The text was updated successfully, but these errors were encountered: