putior - Generate Workflow Diagrams from Code Annotations
Provides tools for extracting and processing structured
annotations from source files in 30+ programming languages to
facilitate workflow visualization. The package scans source
files for special 'PUT' annotations that define nodes,
connections, and metadata within a data processing workflow.
Supports 'R', 'Python', 'SQL', 'JavaScript', 'TypeScript',
'Go', 'Rust', 'Java', and more with automatic comment syntax
detection. These annotations can then be used to generate
visual representations of data flows and processing steps
across polyglot software environments. Builds on concepts from
literate programming Knuth (1984) <doi:10.1093/comjnl/27.2.97>
and utilizes directed acyclic graph (DAG) theory for workflow
representation Foraita, Spallek, and Zeeb (2014)
<doi:10.1007/978-0-387-09834-0_65>. Diagram generation powered
by 'Mermaid' Sveidqvist (2014) <https://mermaid.js.org/>.