jxkn commited on
Commit
70d6f6e
·
1 Parent(s): 9fa23a0

docs: edited files

Browse files
docs/creating-pipelines/add-nodes-to-canvas.mdx CHANGED
@@ -43,6 +43,8 @@ To reposition a node, use **drag and drop** — hold down the drag icon:
43
 
44
  Then move the node to the required location on the workspace:
45
 
 
 
46
  :::tip
47
  When working with multiple nodes, place them thoughtfully to keep your pipeline clean and easy to navigate.
48
  :::
 
43
 
44
  Then move the node to the required location on the workspace:
45
 
46
+ ![Drag And Drop Video](../img/drag_and_drop_video.webp)
47
+
48
  :::tip
49
  When working with multiple nodes, place them thoughtfully to keep your pipeline clean and easy to navigate.
50
  :::
docs/creating-pipelines/define-inputs-and-outputs.mdx CHANGED
@@ -2,91 +2,89 @@
2
  sidebar_position: 2
3
  ---
4
 
5
- # Определение входов и выходов
6
 
7
- Чтобы сделать ваш пайплайн интерактивным и удобным для пользователя, необходимо определить **входы** (то, что контролирует пользователь) и **выходы** (то, что возвращает пайплайн).
8
 
9
- Входы и выходы становятся доступными через **извлечение их из определённых нод**. После этого они отображаются в **Playground** (для пользовательского ввода) и на вкладке **Results** (для просмотра результатов).
10
 
11
  ---
12
 
13
- ## Извлечение входов и выходов
14
 
15
- Чтобы извлечь вход или выход:
16
 
17
- 1. Наведите курсор на нужную ноду.
18
- 2. Нажмите на маленький **круглый порт** у входа или выхода, который хотите извлечь.
19
- 3. Нажмите кнопку **"Take out"**.
20
 
21
- ![Extract Inputs and Outputs](../img/extract_inputs_outputs.webp)
22
-
23
- После извлечения элемент появится в интерфейсе Playground (для входов) или на вкладке Results (для выходов).
24
 
25
  ---
26
 
27
- ## 1. Определение входов
28
 
29
- ### Вариант A: Через Playground
30
 
31
- После извлечения входов они автоматически появляются в **Playground** — простом интерфейсе для передачи данных в пайплайн.
32
 
33
- Пользователь может:
34
 
35
- - Вводить значения прямо в поля ввода
36
- - Запускать пайплайн с этими значениями
37
- - Сразу видеть результаты в интерфейсе
38
 
39
- #### Задание значений по умолчанию
40
 
41
- Вы можете задать **значения по умолчанию**, которые будут отображаться в Playground:
42
 
43
- 1. Нажмите на **название** поля ввода.
44
- 2. Откроется **редактор входа**.
45
- 3. Укажите значение по умолчаниюоно будет предварительно заполнено, но пользователь сможет его изменить.
46
 
47
- #### Организация входов
48
 
49
- Чтобы упорядочить входы для лучшей читаемости:
50
 
51
- - Зажмите поле ввода
52
- - Перетащите его с помощью **иконки руки**
53
 
54
  :::tip
55
- Размещайте входы логично и наглядно, особенно в больших пайплайнах это сильно повышает удобство работы.
56
  :::
57
 
58
- Можно извлекать входы из **нескольких нод**, независимо от их расположения в пайплайне.
59
 
60
  ---
61
 
62
- ### Вариант B: Через редактор ноды (Workspace)
63
 
64
- Вы также можете настраивать входы прямо в редакторе ноды:
65
 
66
- 1. Наведите курсор на ноду и нажмите **иконку редактирования**.
67
- 2. В редакторе отобразятся все настраиваемые входы этой ноды.
68
 
69
- Здесь можно:
70
 
71
- - Устанавливать **значения по умолчанию** они используются, если в Playground поле пустое
72
- - Включать или отключать **автозапуск** (переключатель в левом верхнем углу)
73
 
74
- > Если автозапуск включён, нода выполняется сразу при старте пайплайна.
75
- > Если выключен только после получения данных от другой ноды.
76
 
77
- Чтобы протестировать запуск пайплайна прямо из Workspace, нажмите кнопку **Play** в левом верхнем углу. Весь пайплайн выполнится, а результаты отобразятся прямо внутри редактора.
78
 
79
  ---
80
 
81
- ## 2. Определение выходов
82
 
83
- Чтобы извлечь итоговый результат пайплайна:
84
 
85
- 1. Нажмите на **выходной порт** ноды.
86
- 2. Нажмите кнопку **"Take out"** — теперь выход будет доступен:
87
- - На вкладке **Results** после выполнения пайплайна
88
- - В **Playground**, где результаты будут отображаться интерактивно
89
 
90
- Вы можете извлекать выходы из **любой ноды**, независимо от её позиции или порядка выполнения. Это позволяет удобно отслеживать как промежуточные данные, так и итоговые результаты.
91
 
92
- В следующем разделе мы рассмотрим, как **соединять ноды**, чтобы передавать данные между ними.
 
2
  sidebar_position: 2
3
  ---
4
 
5
+ # Define Inputs & Outputs
6
 
7
+ To make your pipeline interactive and user-friendly, you need to define **inputs** (what the user can control) and **outputs** (what the pipeline returns).
8
 
9
+ Inputs and outputs are made available by **extracting them from specific nodes**. This makes them visible in the **Playground** (for user input) and **Results tab** (for viewing outputs).
10
 
11
  ---
12
 
13
+ ## Extracting Inputs & Outputs
14
 
15
+ To expose an input or output:
16
 
17
+ 1. Hover over the desired node.
18
+ 2. Click the small **circle port** of the input or output you want to extract.
19
+ 3. Press the **"Take out"** button.
20
 
21
+ Once extracted, the item will appear in the Playground interface (for inputs) or Results tab (for outputs).
 
 
22
 
23
  ---
24
 
25
+ ## 1. Defining Inputs
26
 
27
+ ### Option A: Through the Playground
28
 
29
+ After extracting inputs, they automatically appear in the **Playground** — a simple interface for providing data to your pipeline.
30
 
31
+ Users can:
32
 
33
+ - Enter values directly into the input fields
34
+ - Run the pipeline using those values
35
+ - View results instantly in the interface
36
 
37
+ #### Setting Default Values
38
 
39
+ You can define **default values** that will be shown in the Playground:
40
 
41
+ 1. Click on the **name** of an input field.
42
+ 2. This opens the **input editor**.
43
+ 3. Enter the default valueit will be pre-filled for users but can still be changed.
44
 
45
+ #### Organizing Inputs
46
 
47
+ To rearrange inputs for better clarity:
48
 
49
+ - Click and hold the input field
50
+ - Drag it using the **hand icon**
51
 
52
  :::tip
53
+ Place inputs in a logical and visually clear layout to improve usability, especially in larger pipelines.
54
  :::
55
 
56
+ You can extract inputs from **multiple nodes**, regardless of their order in the pipeline.
57
 
58
  ---
59
 
60
+ ### Option B: Through the Node Editor (Workspace)
61
 
62
+ You can also configure node inputs directly inside the node editor:
63
 
64
+ 1. Hover over a node and click the **edit icon**.
65
+ 2. The editor displays all configurable inputs for that node.
66
 
67
+ Here you can:
68
 
69
+ - Set **default values**used when the Playground input is empty
70
+ - Enable or disable **auto-run** (toggle in the top-left corner)
71
 
72
+ > If auto-run is enabled, the node executes when the pipeline starts.
73
+ > If disabled, it runs only after receiving data from another node.
74
 
75
+ To test pipeline execution from the workspace, press the **Play** button in the top-left corner. The entire pipeline will run, and results will be shown inline.
76
 
77
  ---
78
 
79
+ ## 2. Defining Outputs
80
 
81
+ To expose the final result of the pipeline:
82
 
83
+ 1. Click on the **output port** of the node.
84
+ 2. Press **"Take out"** — the output will now be visible in:
85
+ - The **Results** tab after execution
86
+ - The **Playground**, where results appear interactively
87
 
88
+ You can extract outputs from **any node**, regardless of its position or execution order. This makes it easy to monitor intermediate values or final results.
89
 
90
+ In the next section, we’ll look at how to **connect nodes** to pass data between them.
i18n/ru/docusaurus-plugin-content-docs/current/creating-pipelines/add-nodes-to-canvas.mdx CHANGED
@@ -43,6 +43,8 @@ sidebar_position: 1
43
 
44
  Затем перенесите ноду в нужное место в рабочей области:
45
 
 
 
46
  :::tip
47
  Если вы работаете с несколькими нодами, размещайте их аккуратно, чтобы пайплайн оставался чистым и удобным для навигации.
48
  :::
 
43
 
44
  Затем перенесите ноду в нужное место в рабочей области:
45
 
46
+ ![Drag And Drop Video](../img/drag_and_drop_video.webp)
47
+
48
  :::tip
49
  Если вы работаете с несколькими нодами, размещайте их аккуратно, чтобы пайплайн оставался чистым и удобным для навигации.
50
  :::