/dace-vscode

A VS Code extension that provides a viewing panel for SDFGs inside of VS Code

Primary LanguageTypeScript

DaCe SDFG Viewer (SDFV) in VS Code

This VS Code extension aims to provide a viewing panel for SDFGs inside of VS Code. It serves as a wrapper for the SDFG Viewer SDFV, found in the current version of DaCe. Additionally, some features geared towards working with and editing SDFGs are provided.

Features

Provides an SDFG viewing panel which:

  • opens automatically, when you open up a valid SDFG file (file ending in .sdfg, JSON formatted).
  • Auto-updates the SDFG Viewer when the file changed on disk.

You can switch between the custom SDFG viewer and a standard text editor by clicking the option Reopen with... in the editor's three-dot-menu in the top right.

When viewing a tasklet referencing a piece of Python code, you can jump to the corresponding lines of Python code with a button click.

A separate side panel is provided in which applicable transformations to the currently open SDFG can be browsed, previewed, and directly applied. A history of previously applied transformations is being kept, allowing you to preview previous states of the SDFG as well as giving you the option to travel back in time.