Skip to content

Conversation

@mjameswh
Copy link
Contributor

@mjameswh mjameswh commented Oct 17, 2025

What was changed

  • Introduce a new visualization generator for the FSM package.

Why?

  • Looks significantly better.
  • Easier to generate: cargo generate-fsm-diagrams. Generated files are stored in core/src/worker/workflow/machines/diagrams/svg.

Open Questions and To Do

  • Should we gitignore generated files?
  • This new visualizer is entirely implemented by the FSM procmacro. In particular, it doesn't feature the "test coverage" aspect of the former puml renderer. It would certainly be possible to port that former logic if we still care about it.
  • Cleanup the code. It is more verbose and more intrusive than it should be.

Misc

@mjameswh mjameswh requested a review from a team as a code owner October 17, 2025 17:50
@mjameswh mjameswh marked this pull request as draft October 17, 2025 18:06
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.

2 participants