Skip to content

Conversation

@zelzhou
Copy link

@zelzhou zelzhou commented Mar 28, 2025

Problem

As we added support for WorkflowStudio in Toolkit for editing ASL language files, we want to upgrade the render StateMachine Graph in CDK applications experience with the a readonly mode of WorkflowStudio which has better visualization, a code pane for view ASL definition, an export mechanism for exporting ASL definition in JSON/YAML or PNG/SVG.

Solution

Removed the old visualization classes that links to the legacy renderer CDN. From the renderStateMachineGraphCDK wizard, upon finding the template.json file for a specific stateMachine, we send the file uri to WorkflowStudioEditorProvider to open a readonly WFS to render the StateMachine Graph.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zelzhou
Copy link
Author

zelzhou commented Mar 28, 2025

RenderCDK

@zelzhou zelzhou marked this pull request as ready for review March 28, 2025 00:39
@zelzhou zelzhou requested a review from a team as a code owner March 28, 2025 00:39
Copy link
Contributor

@jpinkney-aws jpinkney-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for that video it was super useful! Is there any videos/documentation on what feature is getting removed here?

@zelzhou
Copy link
Author

zelzhou commented Mar 28, 2025

Thank you for that video it was super useful! Is there any videos/documentation on what feature is getting removed here?

We are replacing the legacy CDK render graph webview with the readonly WFS. I don't believe there's anything right now in the MarketPlace documentation that mentions the render CDK graph feature. However I can update the MarketPlace documentation to highlight the change we did. The last update is to highlight WorkflowStudio in Toolkit 3b1d258.

Copy link
Contributor

@justinmk3 justinmk3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for cleaning up the old/unused code. That is very helpful and valuable.

@jpinkney-aws jpinkney-aws merged commit 12c0768 into aws:master Apr 2, 2025
28 of 31 checks passed
@zelzhou zelzhou deleted the readonlyWFS branch October 16, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants