Skip to content

Commit

Permalink
Add 'Elyra JupyterLab interface' topic to user guide (elyra-ai#2693)
Browse files Browse the repository at this point in the history
Co-authored-by: Kiersten Stokes <[email protected]>
  • Loading branch information
ptitzler and kiersten-stokes authored May 2, 2022
1 parent 4eb299f commit e9eafac
Show file tree
Hide file tree
Showing 10 changed files with 92 additions and 0 deletions.
14 changes: 14 additions & 0 deletions create-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,13 @@ def update_version_to_release() -> None:
rf"https://elyra.readthedocs.io/en/v{new_version}/user_guide/",
)

# Update documentation references in documentation
sed(
_source("docs/source/user_guide/jupyterlab-interface.md"),
r"https://elyra.readthedocs.io/en/latest/",
rf"https://elyra.readthedocs.io/en/v{new_version}/",
)

check_run(
["lerna", "version", new_npm_version, "--no-git-tag-version", "--no-push", "--yes", "--exact"],
cwd=config.source_dir,
Expand Down Expand Up @@ -250,6 +257,13 @@ def update_version_to_dev() -> None:
rf"https://elyra.readthedocs.io/en/latest/",
)

# Update documentation references in documentation
sed(
_source("docs/source/user_guide/jupyterlab-interface.md"),
rf"https://elyra.readthedocs.io/en/v{new_version}/",
r"https://elyra.readthedocs.io/en/latest/",
)

sed(
_source("elyra/cli/pipeline_app.py"),
rf"https://elyra.readthedocs.io/en/v{new_version}/",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Elyra is a set of AI-centric extensions to JupyterLab Notebooks.
:maxdepth: 1
:caption: User Guide

user_guide/jupyterlab-interface.md
user_guide/command-line-interface.md
user_guide/runtime-conf.md
user_guide/runtime-image-conf.md
Expand Down
77 changes: 77 additions & 0 deletions docs/source/user_guide/jupyterlab-interface.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<!--
{% comment %}
Copyright 2018-2022 Elyra Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
-->

## The Elyra JupyterLab interface

The Elyra extensions add multiple interfaces to the [JupyterLab GUI](https://jupyterlab.readthedocs.io/en/stable/user/interface.html). These interfaces are used to create and manage [pipelines](pipelines.md) and to create and manage metadata.

Many of these tasks can also be accomplished using the [Elyra command line interface](command-line-interface.md).

### Launcher

Elyra adds a new category to the JupyterLab launcher, providing access to the Visual Pipeline Editor, the [Python editor](enhanced-script-support.html#python-script-execution-support), the [R editor](enhanced-script-support.html#r-script-execution-support), and the [Elyra documentation](https://elyra.readthedocs.io/en/latest/).

![Elyra category in JupyterLab launcher](../images/user_guide/jupyterlab-interface/launcher.png)

Note that the number of tiles in the Elyra category depends on how you [installed Elyra](../getting_started/installation.md).

### Visual Pipeline Editor

The Visual Pipeline Editor is used to work with [generic pipelines](../user_guide/pipelines.html#generic-pipelines) and [runtime-specific pipelines](../user_guide/pipelines.html#runtime-specific-pipelines).

The editor includes the component palette, the canvas with a tool bar on top, and a properties panel, shown on the left, in the center, and the right, respectively.

![An empty pipeline in the Visual Pipeline Editor](../images/user_guide/jupyterlab-interface/visual-pipeline-editor.png)

The palette provides access to components that you use to assemble pipelines. Components are managed using the [component catalogs sidebar](#manage-component-catalogs).

The canvas is the main work area, where you [assemble the pipeline by adding nodes, connecting and configuring them](pipelines.html#creating-pipelines-using-the-visual-pipeline-editor) .

The properties panel is used to configure pipeline properties and node properties.

You can customize the pipeline editor behavior by opening the settings link in the empty editor window or by navigating in the [JupyterLab menu bar](https://jupyterlab.readthedocs.io/en/stable/user/interface.html#menu-bar) to `Settings > Advanced Settings Editor` and searching for `elyra`.

### Metadata management sidebars

Elyra adds multiple tabs to [JupyterLab's left sidebar](https://jupyterlab.readthedocs.io/en/stable/user/interface.html#left-and-right-sidebar). These tabs provide access to Elyra metadata, which is primarily used when you work with pipelines.

![JupyterLab sidebar tabs](../images/user_guide/jupyterlab-interface/jupyterlab-sidebars.png)

#### Manage code snippets

[Code snippets](code-snippets.md) allow for re-use of code in editors. To manage code snippets, open the `Code Snippets` tab.

![Code snippets tab](../images/user_guide/jupyterlab-interface/code-snippets-sidebar.png)

#### Manage runtime configurations

[Runtime configurations](runtime-conf.md) manage access to supported runtime environments that you use to run pipelines. To manage runtime configurations, open the `Runtimes` tab.

![Runtime configurations tab](../images/user_guide/jupyterlab-interface/runtime-configurations-sidebar.png)

#### Manage runtime image configurations

[Runtime image configurations](runtime-image-conf.md) identify container images that Elyra can utilize to run pipeline nodes on container-based platforms, such as Kubeflow Pipelines or Apache Airflow. To manage runtime image configurations, open the `Runtime Images` tab.

![Runtime images tab](../images/user_guide/jupyterlab-interface/runtime-images-sidebar.png)

#### Manage component catalogs

[Component catalogs](pipeline-components.md) provide access to components that you use to assemble pipelines. To manage component catalogs, open the `Component Catalogs` tab.

![Component catalogs tab](../images/user_guide/jupyterlab-interface/component-catalogs-sidebar.png)

0 comments on commit e9eafac

Please sign in to comment.