Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add workflow graph generation functionality#30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
cdavernas merged 7 commits intoserverlessworkflow:mainfromATNoG:feature/graph
Jun 20, 2025

Conversation

oEscal
Copy link
Contributor

This pull request implements feature#29.
It uses the Pythontransitions library, creating a state machine representing the given workflow. From that state machine, it can generate a graph using graphviz or the corresponding Mermaid code (as with the TypeScript SDK). By generating a state machine, it gives more flexibility to programmers to have more observability into the workflow itself programmatically.
Apart from generating a state machine and the corresponding graph, this implementation adds new features in relation to the TypeScript SDK one:

  • If the developer decides to do so, it also gets all the functions and their transitions related to actions inside a state. Therefore, the developer can create a graph that not only represents the workflow states and their interconnections, but also the actions and transitions of each state;
  • It can build the state machine and corresponding graph for workflows with subflows. The subflow will be generated as a nested state of the corresponding state/action.

…g graphs in mermaid and pygraphvizSigned-off-by: Pedro Escaleira <pedroescaleira@hotmail.com>
Signed-off-by: Pedro Escaleira <pedroescaleira@hotmail.com>
Signed-off-by: Pedro Escaleira <pedroescaleira@hotmail.com>
Signed-off-by: Pedro Escaleira <pedroescaleira@hotmail.com>
Copy link
Member

@cdavernascdavernas left a comment

Choose a reason for hiding this comment

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

LGTM!

@oEscaloEscal mentioned this pull requestJun 20, 2025
Signed-off-by: Pedro Escaleira <pedroescaleira@hotmail.com>
Signed-off-by: Pedro Escaleira <pedroescaleira@hotmail.com>
@oEscaloEscal requested a review fromcdavernasJune 20, 2025 18:41
Copy link
Member

@cdavernascdavernas left a comment

Choose a reason for hiding this comment

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

LGTM! Cheers ❤️

oEscal reacted with hooray emoji
@cdavernascdavernas merged commitbe7b641 intoserverlessworkflow:mainJun 20, 2025
2 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@cdavernascdavernascdavernas approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@oEscal@cdavernas

[8]ページ先頭

©2009-2025 Movatter.jp