andriykalashnykov/puml2drawio

Convert PlantUML C4 diagrams to draw.io XML (wraps the catalyst library).

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 13, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: andriykalashnykov/puml2drawio@94b9a34a3a5eae68715897e794459b02ff122ece # v1.6.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
inputInput .puml file, directory (recursed), glob pattern, or "-" for stdinyes
outputOutput file (single input) or directory (batch)no
output-extOutput file extension (batch/glob; single-file when output is a directory). Not applied to stdin.no.drawio
layout-directionLayout direction: TB | BT | LR | RLno
nodesepNode separation (px)no
edgesepEdge separation (px)no
ranksepRank separation (px)no
marginxX margin (px)no
marginyY margin (px)no
themeColor theme: light (catalyst C4_blue, default) | dark (official C4-PlantUML C4_superhero)no
fail-fastStop on first batch conversion error (true | false)nofalse
excludeComma/space-separated glob(s) of input files to skip in directory/glob mode (matched against the collected path AND its basename)no
skip-unsupportedLoudly skip files catalyst rejects as an unsupported diagram TYPE (C4_Sequence / zero convertible C4 elements) instead of failing the batch (true | false). Genuine conversion errors still fail.nofalse
quietSuppress per-file progress output (true | false)nofalse
summaryEmit a JSON conversion summary (true | false). Batch/glob: to stdout; single/stdin: to stderrnofalse

no outputs