-
Notifications
You must be signed in to change notification settings - Fork 147
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
Add New Node Programmatically #175
Comments
any news on this? really could use such a feature. right now I have to remove the editor from DOM and make a new editor with my nodes because I get the data about saved nodes from an API. So the Nodes in the Editor should rerender when my nodes-state changes. |
This could be a potential solution: #47 |
@canxerian the solution you provided here is for adding a new node type programmatically, but the opened issue is about adding a new node on the editor programmatically. |
Any update ? |
I tried to implement a node editor with the ability to drag and drop nodes from other components. Unfortunately, there is no option to add a new node programmatically. To add a new node, I need to completely refresh the editor, losing the zoom and pan position https://github.com/chrisjpatty/flume/issues/119)
Can we have a function addNode exposed directly to NodeEditor? It can behave like the addNode function from Stage - e.g. when you select the Add Node from right-click menu. For drag and drop functionality it would be nice if mouse coordinates could be passed over to place the new node in right place.
Whould this be possible?
Thank you
The text was updated successfully, but these errors were encountered: