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
In the interactive example above, you can see the notation of the basic elements of the classic editor view and the graph processing using the Dataflow-based engine. This demonstrates the essential capabilities of the framework:
20
20
21
-
-**Visualization**: you can choose React.js, Vue.js, Angularor Svelte to visualize nodes, sockets, controls, and connections. These visual components can be tailored to your specific needs by creating custom components for each framework, and they can all coexist in a single editor.
21
+
-**Visualization**: you can choose React.js, Vue.js, Angular, Svelte or Lit to visualize nodes, sockets, controls, and connections. These visual components can be tailored to your specific needs by creating custom components for each framework, and they can all coexist in a single editor.
22
22
-**Processing**: the framework offers various types of engines that enable processing diagrams based on their nature, including dataflow and control flow. These types can be combined within the same graph.
Copy file name to clipboardExpand all lines: content/en/docs/19.quality-assurance.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,11 +33,11 @@ The main purpose of this tool is to conduct regression UI testing on different c
33
33
34
34
Additionally, we test our framework on various versions of commonly used UI frameworks, such as Angular, Svelte, Vue.js, and React.js. This gives us **27** test runs across different environments as we have a matrix of browsers and framework versions
There are two easy ways to begin working with the framework: forking [the examples](/examples) on Codesandbox or creating a local application using [Rete Kit](/docs/development/rete-kit). The first option allows for experimentation with functionality, which not always covered in the guides. Alternatively, the second option enables the creation of a local application with specific node editor features for a chosen version of **React.js**, **Vue.js**, **Angular**or **Svelte**. Afterward, following the guides will help familiarize yourself with the framework's features and capabilities.
15
+
There are two easy ways to begin working with the framework: forking [the examples](/examples) on Codesandbox or creating a local application using [Rete Kit](/docs/development/rete-kit). The first option allows for experimentation with functionality, which not always covered in the guides. Alternatively, the second option enables the creation of a local application with specific node editor features for a chosen version of **React.js**, **Vue.js**, **Angular**, **Svelte**or **Lit**. Afterward, following the guides will help familiarize yourself with the framework's features and capabilities.
16
16
17
17
:youtube-video{name="getting-started"}
18
18
@@ -29,7 +29,7 @@ If TypeScript is your preferred choice, make sure you have TypeScript version 4.
29
29
30
30
## Creating an application using devkit {#devkit}
31
31
32
-
Use [Rete Kit](/docs/development/rete-kit) to quickly set up a Rete.js application. It lets you select a stack (**React.js**, **Vue.js**, **Angular**or **Svelte**) and the set of features.
32
+
Use [Rete Kit](/docs/development/rete-kit) to quickly set up a Rete.js application. It lets you select a stack (**React.js**, **Vue.js**, **Angular**, **Svelte**or **Lit**) and the set of features.
Copy file name to clipboardExpand all lines: content/en/docs/20.development/3.rete-kit.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
description: Simplify your plugin and project development with Rete Kit. Create basic plugin structures instantly and setup an application from a variety of templates to get started quickly
-`<stack>` option lets you choose `angular`, `vue`, `vue-vite`, `react`, `react-vite`, `svelte`, `vite`, `next` or `nuxt`
51
+
-`<stack>` option lets you choose `angular`, `vue`, `vue-vite`, `react`, `react-vite`, `svelte`, `lit-vite`, `vite`, `next` or `nuxt`
51
52
-`<features>` is a comma-separated list of the Rete.js editor features
52
53
-`<deps-alias>` is a JSON file that maps dependencies. By default, it installs the latest version from npmjs, but you can specify a different version using the format `name@version` or a path to the tarball
Copy file name to clipboardExpand all lines: content/en/docs/24.FAQ.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,28 +119,28 @@ keywords:
119
119
```
120
120
::
121
121
::qa{question="How to customize nodes?"id="customize-node"}
122
-
Check out the relevant customization guide for [React.js](/docs/guides/renderers/react#customization), [Vue.js](/docs/guides/renderers/vue#customization), [Angular](/docs/guides/renderers/angular#customization) or [Svelte](/docs/guides/renderers/svelte#customization).
122
+
Check out the relevant customization guide for [React.js](/docs/guides/renderers/react#customization), [Vue.js](/docs/guides/renderers/vue#customization), [Angular](/docs/guides/renderers/angular#customization), [Svelte](/docs/guides/renderers/svelte#customization) or [Lit](/docs/guides/renderers/lit#customization).
123
123
::
124
124
::qa{question="How to collapse the node (to minimize a node's size by hiding its controls)?"id="collapse-node"}
125
125
Define how elements should be hidden when the node is collapsed by creating a custom node component.
126
126
127
-
Check out the relevant customization guide for [React.js](/docs/guides/renderers/react#customization), [Vue.js](/docs/guides/renderers/vue#customization), [Angular](/docs/guides/renderers/angular#customization) or [Svelte](/docs/guides/renderers/svelte#customization).
127
+
Check out the relevant customization guide for [React.js](/docs/guides/renderers/react#customization), [Vue.js](/docs/guides/renderers/vue#customization), [Angular](/docs/guides/renderers/angular#customization), [Svelte](/docs/guides/renderers/svelte#customization) or [Lit](/docs/guides/renderers/lit#customization).
128
128
::
129
129
::qa{question="What are the steps to implement render plugin for other framework?"id="new-render-plugins"}
130
130
- [Setup a plugin](/docs/development/#create-plugin)
131
-
- Use the source code of the following packages as a reference: [React.js](https://github.com/retejs/react-plugin), [Vue.js](https://github.com/retejs/vue-plugin), [Angular](https://github.com/retejs/angular-plugin) or [Svelte](https://github.com/retejs/svelte-plugin).
131
+
- Use the source code of the following packages as a reference: [React.js](https://github.com/retejs/react-plugin), [Vue.js](https://github.com/retejs/vue-plugin), [Angular](https://github.com/retejs/angular-plugin), [Svelte](https://github.com/retejs/svelte-plugin) or [Lit](https://github.com/retejs/lit-plugin)
132
132
133
133
::
134
134
::qa{question="Is there way to prevent nodes from being moved while interacting with controls?"id="prevent-node-movement-on-control"}
135
135
You need to stop propagation of the `pointerdown` event.
136
136
137
-
Check the relevant render plugin guide for controls: [React.js](guides/renderers/react#controls), [Vue.js](guides/renderers/vue#controls), [Angular](guides/renderers/angular#controls), [Svelte](guides/renderers/svelte#controls)
137
+
Check the relevant render plugin guide for controls: [React.js](guides/renderers/react#controls), [Vue.js](guides/renderers/vue#controls), [Angular](guides/renderers/angular#controls), [Svelte](guides/renderers/svelte#controls), [Lit](guides/renderers/lit#controls)
138
138
139
139
::
140
140
::qa{question="Why doesn't the control capture click/pointer events?"id="click-event-doesnt-work-on-control"}
141
141
By default, the area captures these events, so you need to stop the propagation of `pointerdown` event to prevent this
142
142
143
-
Check the relevant render plugin guide for controls: [React.js](guides/renderers/react#controls), [Vue.js](guides/renderers/vue#controls), [Angular](guides/renderers/angular#controls), [Svelte](guides/renderers/svelte#controls)
143
+
Check the relevant render plugin guide for controls: [React.js](guides/renderers/react#controls), [Vue.js](guides/renderers/vue#controls), [Angular](guides/renderers/angular#controls), [Svelte](guides/renderers/svelte#controls), [Lit](guides/renderers/lit#controls)
144
144
::
145
145
::qa{question="Is there a way to make the text within a node selectable?"id="user-select"}
146
146
By default, a node is configured with the CSS property `user-select: none` to prevent conflict between text selection and node dragging.
@@ -174,7 +174,7 @@ keywords:
174
174
::qa{question="How to add a control to the output?"id="add-control-to-output"}
175
175
The process of adding such elements requires the creation of a custom node.
176
176
177
-
Check out the relevant customization guide for [React.js](/docs/guides/renderers/react#customization), [Vue.js](/docs/guides/renderers/vue#customization), [Angular](/docs/guides/renderers/angular#customization) or [Svelte](/docs/guides/renderers/svelte#customization).
177
+
Check out the relevant customization guide for [React.js](/docs/guides/renderers/react#customization), [Vue.js](/docs/guides/renderers/vue#customization), [Angular](/docs/guides/renderers/angular#customization), [Svelte](/docs/guides/renderers/svelte#customization) or [Lit](/docs/guides/renderers/lit#customization).
178
178
::
179
179
::qa{question="How to create an undirected graph with nodes that don't have input/output sockets?"id="undirected-graph"}
180
180
You can use the classic preset with custom nodes and a unified socket for both input and output port.
@@ -200,7 +200,7 @@ keywords:
200
200
::qa{question="How to change the alignment of inputs/outputs?"id="align-inputs-outputs"}
201
201
The process of changing the node layout requires the creation of a custom node.
202
202
203
-
Check out the relevant customization guide for [React.js](/docs/guides/renderers/react#customization), [Vue.js](/docs/guides/renderers/vue#customization), [Angular](/docs/guides/renderers/angular#customization) or [Svelte](/docs/guides/renderers/svelte#customization).
203
+
Check out the relevant customization guide for [React.js](/docs/guides/renderers/react#customization), [Vue.js](/docs/guides/renderers/vue#customization), [Angular](/docs/guides/renderers/angular#customization), [Svelte](/docs/guides/renderers/svelte#customization) or [Lit](/docs/guides/renderers/lit#customization).
204
204
::
205
205
::qa{question="Is it possible to render UI using vanilla JS exclusively, without resorting to frameworks?"id="render-vanilla-js"}
206
206
In short, it is possible, but there is no plugin available for this approach since it doesn't offer significant advantages in comparison to the development costs
@@ -274,7 +274,7 @@ keywords:
274
274
```
275
275
::
276
276
::qa{question="What if my app uses different stack and isn't based on React.js, Vue.js, or Angular?"id="different-stack"}
277
-
In case you're using a framework other than React.js, Vue.js, Angularor Svelte (for which Rete.js provides a rendering plugin), you have the option to utilize the [React.js plugin](/docs/guides/renderers/react) to render nodes and other editor elements.
277
+
In case you're using a framework other than React.js, Vue.js, Angular, Svelte or Lit (for which Rete.js provides a rendering plugin), you have the option to utilize the [React.js plugin](/docs/guides/renderers/react) to render nodes and other editor elements.
278
278
279
279
For a quick start, you can create a React.js application using [Rete Kit](/docs/development/rete-kit), copy the code of the editor from `src/rete/default.tsx`, install the relevant dependencies in your project and call `createEditor`, providing the HTMLElement container created by your application.
Copy file name to clipboardExpand all lines: content/en/docs/3.concepts/6.integration.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,19 @@
1
1
---
2
-
description: Learn how to integrate Rete.js with your favorite UI framework, such as Angular, Svelte, Vue.js, or React.js, using the available rendering packages
description: Learn how to integrate Rete.js with your favorite UI framework, such as Angular, Svelte, Lit, Vue.js, or React.js, using the available rendering packages
This framework is not bound to any UI rendering framework and can be integrated with the most popular frameworks/libraries such as **Angular**, **Svelte**, **Vue.js**, **React.js**. The following rendering packages are available:
10
+
This framework is not bound to any UI rendering framework and can be integrated with the most popular frameworks/libraries such as **Angular**, **Svelte**, **Lit**, **Vue.js**, **React.js**. The following rendering packages are available:
The primary objective is to empower you to choose the visualization tools that align with your specific needs. Additionally, if you ever need to use the render plugin for a different framework within your application (such as during a project migration), you can easily do so. Please note that `rete-angular-plugin` is only compatible with Angular applications.
Copy file name to clipboardExpand all lines: content/en/docs/4.guides/1.basic.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ keywords: basic,area,core
6
6
# Basic editor
7
7
8
8
::alert
9
-
This guide features the `rete-react-plugin`. You can use it in any application, regardless of the framework you're using (**React.js**, **Vue.js**, **Angular** or **Svelte**).
9
+
This guide features the `rete-react-plugin`. You can use it in any application, regardless of the framework you're using (**React.js**, **Vue.js**, **Angular**, **Svelte** etc.).
10
10
11
-
Follow this guide to use the corresponding render plugin in your **Angular**, **Svelte** or **Vue.js** application, with reference to the respective guides for [Angular](/docs/guides/renderers/angular), [Svelte](/docs/guides/renderers/svelte) or [Vue.js](/docs/guides/renderers/vue)
11
+
Follow this guide to use the corresponding render plugin in your **Angular**, **Svelte** or **Vue.js** application, with reference to the respective guides for [Angular](/docs/guides/renderers/angular), [Svelte](/docs/guides/renderers/svelte), [Vue.js](/docs/guides/renderers/vue) etc.
For a comprehensive guide on how to connect a specific renderer plugin to your stack version, please follow the guide for
64
-
[React.js](/docs/guides/renderers/react), [Vue.js](/docs/guides/renderers/vue), [Angular](/docs/guides/renderers/angular) or [Svelte](/docs/guides/renderers/svelte)
64
+
[React.js](/docs/guides/renderers/react), [Vue.js](/docs/guides/renderers/vue), [Angular](/docs/guides/renderers/angular), [Svelte](/docs/guides/renderers/svelte) or [Lit](/docs/guides/renderers/lit)
65
65
66
66
The minimap is automatically inserted into your editor and has absolute positioning. If your editor is smaller than the viewport, your editor's container should have `position: relative`.
For a comprehensive guide on how to connect a specific renderer plugin to your stack version, please follow the guide for
59
-
[React.js](/docs/guides/renderers/react), [Vue.js](/docs/guides/renderers/vue), [Angular](/docs/guides/renderers/angular) or [Svelte](/docs/guides/renderers/svelte)
59
+
[React.js](/docs/guides/renderers/react), [Vue.js](/docs/guides/renderers/vue), [Angular](/docs/guides/renderers/angular), [Svelte](/docs/guides/renderers/svelte) or [Lit](/docs/guides/renderers/lit)
0 commit comments