You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been playing with Flume for a while now. <3 much love.
I would like to have a custom React component influence the node.
I can make a custom React component no problems.
I can make a node that changes the inputs and outputs based on connection info.
But I don't know how to passback info (connection or otherwise) from a custom React component on the node.
Thanks.
p.s
For example.
Let's say I wanted to dynamically add or remove input ports to a node based on what was done in the custom React component on the node or any other node for that matter. How would I do that?
Is there a way to edit the node object being used to draw the nodes and then trigger a refresh with ' redraw ' or something.
I can get a copy of the node object from onChange but I want to be able to edit and pass back that object from outside.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I have been playing with Flume for a while now. <3 much love.
I would like to have a custom React component influence the node.
I can make a custom React component no problems.
I can make a node that changes the inputs and outputs based on connection info.
But I don't know how to passback info (connection or otherwise) from a custom React component on the node.
Thanks.
p.s
For example.
Let's say I wanted to dynamically add or remove input ports to a node based on what was done in the custom React component on the node or any other node for that matter. How would I do that?
Is there a way to edit the node object being used to draw the nodes and then trigger a refresh with ' redraw ' or something.
I can get a copy of the node object from onChange but I want to be able to edit and pass back that object from outside.
Beta Was this translation helpful? Give feedback.
All reactions