REslava.ResultFlow — Mermaid pipeline diagram generator with built-in LanguageExt support #1540
reslava
started this conversation in
Show and tell
Replies: 1 comment
-
|
Nice! Thanks for sharing. When I'm back from my trip I'll add it to the community projects section of the wiki 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @louthy 👋
I built a source generator called REslava.ResultFlow that auto-generates Mermaid flowchart diagrams from fluent monadic chains — and it ships with built-in support for LanguageExt (
Filter,Do,DoAsync,DoLeft,DoLeftAsync) out of the box.Add
[ResultFlow]to any method using LanguageExt:The IDE code action injects the Mermaid diagram as a block comment above the method — no build required:
Operations are color-coded by semantic role (gatekeeper, transform, side-effect, failure path). Any method not in the dictionary is rendered as a generic node — the diagram always generates.
For custom or additional method names, a
resultflow.jsonfile lets you extend or override the built-in classification.Just wanted to share in case it's useful to LanguageExt users!
Beta Was this translation helpful? Give feedback.
All reactions