Skip to content

Commit

Permalink
Documentation: Kedro-Viz in VSCode Kedro extension (#2078)
Browse files Browse the repository at this point in the history
* Documentation: Kedro-Viz in VSCode 

Signed-off-by: Jitendra Gundaniya <[email protected]>

* Missing gif added

Signed-off-by: Jitendra Gundaniya <[email protected]>

* Update README.md

Signed-off-by: Jitendra Gundaniya <[email protected]>

* Link updated

Signed-off-by: Jitendra Gundaniya <[email protected]>

* Update docs/source/kedro-viz_visualisation.md

Co-authored-by: rashidakanchwala <[email protected]>
Signed-off-by: Jitendra Gundaniya <[email protected]>

---------

Signed-off-by: Jitendra Gundaniya <[email protected]>
Co-authored-by: Ravi Kumar Pilla <[email protected]>
Co-authored-by: rashidakanchwala <[email protected]>
  • Loading branch information
3 people authored Sep 11, 2024
1 parent c90e723 commit aefe8c5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
Binary file added docs/source/images/viz-in-vscode.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 20 additions & 1 deletion docs/source/kedro-viz_visualisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,23 @@ import '@quantumblack/kedro-viz/lib/styles/styles.min.css';
const MyApp = () => <div style={{height: `100vh`}}><KedroViz data={json} options={options} /></div>;
```

For more information on how to use kedro as React component with all possible props please refer to [Kedro-Viz on npm](https://www.npmjs.com/package/@quantumblack/kedro-viz)
For more information on how to use Kedro as a React component with all possible props, see [Kedro-Viz on NPM](https://www.npmjs.com/package/@quantumblack/kedro-viz)

## Kedro-Viz in Visual Studio Code Extension

To visualize Kedro project using Kedro-Viz in Visual Studio Code, follow these steps:

1. **Install Kedro Extension**:
Download Kedro extension from [marketplace](https://marketplace.visualstudio.com/items?itemName=kedro.Kedro) into Visual Studio Code.

2. **Setup Kedro Extension**:
Follow steps from [how-to-use-kedro-extension](https://github.com/kedro-org/vscode-kedro)

3. **Open the Command Palette**:
Press `Cmd` + `Shift` + `P` (on macOS) or `Ctrl` + `Shift` + `P` (on Windows/Linux).

4. **Run Kedro-Viz**:
Type `kedro: Run Kedro Viz` and select the command.
This will launch Kedro-Viz and display your pipeline visually within the extension.

![Kedro Viz in VSCode](./images/viz-in-vscode.gif)
6 changes: 6 additions & 0 deletions package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,12 @@ For more information on how to use Kedro-Viz as a React component, follow this [
**_Our documentation contains [additional examples on how to visualise with Kedro-Viz.](https://docs.kedro.org/en/stable/visualisation/index.html)_**
## Kedro-Viz in Visual Studio Code Extension
To visualize Kedro project using Kedro-Viz in Visual Studio Code, please install Kedro extension in Visual Studio Code.
For more information on how to use Kedro-Viz in Visual Studio Code, follow this [guide](https://marketplace.visualstudio.com/items?itemName=kedro.Kedro)
## Feature Flags
Kedro-Viz uses features flags to roll out some experimental features. The following flags are currently in use:
Expand Down

0 comments on commit aefe8c5

Please sign in to comment.