-
-
Notifications
You must be signed in to change notification settings - Fork 652
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
Feature: export to code #104
Comments
You can try to write lines of code inside the workers into a common string/file. |
Everything works well for simple example: |
This functionality can be implemented in the form of a plugin in v1.0.0 #80 |
@Ni55aN can you please explain a little how can I use source code of my node in 1.0.8 alpha version of Rete? Because in 1.0.2 I could use something like this |
@Ni55aN to be more clear there is an example of what I want to do: https://codepen.io/hatead/pen/mjPmxV?editors=0010 |
The major difference between alpha.2 and alpha.8 is inputs/outputs indexes #146 |
@Ni55aN so there is no any examples about how i can append some js to the specific node? |
@Clasen00 do you mean a visual elements or logic ? |
@Ni55aN i mean how to add some custom elements to the specific node :) Like in that example https://codepen.io/hatead/pen/mjPmxV?editors=0010 there is "+" and "-" buttons, i need this in my project) |
@Clasen00 ok, let's start again from beginning
Did you pass the
You need a ButtonControl from the example, but this component rendered with a |
@Ni55aN thank you! I will try! |
A codegenaration is a quite complex, so I need any help of those who have experience with it. Currently code-plugin can only create a very simple code constructiona |
I'm not sure what this would mean at your end depending on how you have it setup but would it be possible to have a feature that exports your current setup of blocks into JS given the logic that it runs is already in the blocks?
Note if not intending to add would you have any standout features of what I should do to implement it my self? as currently having issues figuring out the call stack of passing info between nodes in terms of code almost calling functions
The text was updated successfully, but these errors were encountered: