-
-
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
Plugins implementation (v1) #80
Comments
Please vote for the plugins that you would like to see |
+1 for ability to render controls with React(5) |
#13 arrange nodes |
✓ Minimap #132 |
+1 Node/Control Rendering with vue.js |
✓ Vue.js render #169 |
Code generation is a big one for me, would love to see this 👍 |
@JMidd91 this is exactly what is planned next |
@JMidd91 @stemsmit there is a basic version of Code generation. It working with simple data-flow (no modules and tasks). I still have to figure out how to do this multi lang and how to generate code more correctly |
Has anyone created a reactjs plugin. I don't know what in the hell I'm doing when trying to create one. |
@Ni55aN would it be possible to get some documentation in rete/vue-render-plugin such that we can get an idea of how you're making the render plugins? Also is there a standalone Vue example? I saw you reference this in #187 but it seems like it would require building the entire rete.js.org website in order to play around with it. |
you can refer to this implementation: https://github.com/retejs/vue-render-plugin/blob/master/src/index.js What are required to render nodes and controls:
For example: editor.on('rendernode', ({ el, node, component, bindSocket, bindControl }) => {
if (component.render && component.render !== 'react') return;
ReactDOM.render(<div>{Array.from(this.node.inputs.values()).map(inp => (
<Socket bindSocket={bindSocket}/>
))}</div>, el);
});
editor.on('rendercontrol', ({ el, control }) => {
if (control.render && control.render !== 'react') return;
control._vue = createControl(editor, { el, control });
control.update = () => update(control)
}); The Line 36 in dc8d58d
Alight-render plugin looks much easier: https://github.com/retejs/alight-render-plugin/blob/master/src/index.js |
|
Ctrl + click on the node allows selecting multiple nodes and translate them |
|
How exactly it looks like?
Perhaps this depends on your Node's implementation |
At the moment, when I try to un-link a connection by dragging-out from the end and clicking to release, the link continues being attached to the mouse. It doesn't happen all the time, but to me at least it happens around 90% or more of the time with the website demos. (Maybe I don't know how to un-link with the library and I need to press an extra key like "r" or something, but if that's the case the demos don't mention it and it's not intuitive enough to know without mention)
Maybe, still would be nice to have a way to edit internal properties that are not "connectable" |
@DiegoBM do you use a latest versions? When I click anywhere with the selected connection, it disappears. |
@Ni55aN I was just playing around with the demos in your website to see if I could make use of it. Didn't try the latest version no. |
@DiegoBM rete.js.org hasn't latest version of Rete. I'll update it |
Thank you @Ni55aN I guess that makes valid only two of my suggestions:
|
+1 React Rendering |
+1 React |
@devspacenine @jeffsenn |
+1 React |
Are there any automatic layout plugins? |
@m1sta what do you mean? |
@derbylock @jeffsenn @devspacenine |
Angular renderer plugin ? I'm getting jealous With the new Ivy renderer , rendering performance are getting better |
+1 angular renderer |
I have created a small plugin which brings a node in front of the others when selected: https://github.com/sebbert/rete-reorder-nodes-plugin |
Angular renderer |
Can you provide Aurelia renderer? |
For example: https://gojs.net/latest/samples/ldLayout.html |
I'm so interested to contribute on developing angular-plugin-rendere , but I don't have idea from where to start, so I have created a slack. Invitation link : https://join.slack.com/t/retejs/shared_invite/enQtNzM5OTEzNzExODc5LTYxODY3NTczZjExNWFiOTZlYTE3NzdjNmFhNDNmZjkwNjEwMjQ5NjQwMGZhYTJkZDBiYmNmNjU4ZWNhNzg1MWU |
Is it possible to complete readme file for plugins ? I see more and more often new plugins but I do not necessarily understand their usefulness juste by reading the plugin's name without documentation. It would be great if plugins authors could add a description with a screenshot of a demo ( at best a demo link ) . Thanks |
Some ideas:
|
I'm very interested in getting an angular renderer developed. I may be able to help with this. How can I get access to the slack group? Going through the vue renderer code now to see how to approach it. ** After some research it seems the angular monolithic ways if initializing the app won't work too well for the way rete renders the nodes. Vue is more suited to render individual node instances. I'm sure it's possible, but bootstrapping an angular app for each node wouldn't be very efficient. Am I seeing that incorrectly? |
I think so, and at the moment I have not found how to render to many HTML elements without losing performance |
How to join this workspase? |
Sorry here's an invitation link : https://join.slack.com/t/retejs/shared_invite/enQtNzM5OTEzNzExODc5LTYxODY3NTczZjExNWFiOTZlYTE3NzdjNmFhNDNmZjkwNjEwMjQ5NjQwMGZhYTJkZDBiYmNmNjU4ZWNhNzg1MWU |
It's will be so good to support drag selection for node, with a space key holding as pan mode. |
Hi , any plans for Flow highlight? need it badly. |
Hii @Ni55aN I have started using rete.js but got stuck thinking which framework is the best to start with and I'm facing issues while using react. Can u please help? |
|
Hey @Ni55aN ... one thing i've seen a lot in other Node Editors is the ability to select multiple nodes using a rectangle (lasso) on the canvas. I think this would help to speed up the workflow tremendously! |
If each plugin would have a short video showing what is that plugin about, would help dev onboarding. at least an image or something. E.g. https://github.com/retejs/task-plugin task plugin readme is providing 0 clue on what kind of tasks these are |
Extend the capabilities of the editor with external modules
Possible plugins:
DifferencesVersion controla. duplicate node ✓
Write your ideas and suggestions!
The text was updated successfully, but these errors were encountered: