seqeralabs/nf-metro
Render a metro-map SVG from a Mermaid .mmd source and report whether the committed SVG is out of date.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| input | Path to the Mermaid .mmd source to render. | no | assets/metro_map.mmd |
| output | Path for the rendered SVG. Leave empty to write a sibling file next to the input (e.g. assets/metro_map.mmd -> assets/metro_map.svg). | no | "" |
| theme | Visual theme (nfcore, seqera, ...). | no | nfcore |
| mode | Display mode to bake (light or dark). Leave empty to keep the theme's own default and emit an adaptive light-dark() SVG. | no | "" |
| embed-font | Inline the label font into the SVG so it renders standalone. | no | true |
| version | nf-metro version to install (e.g. 1.1.0). Leave empty to install the version this action release was cut with, so `@X.Y.Z` installs nf-metro X.Y.Z for reproducible renders. | no | "" |
| extra-args | Additional flags passed verbatim to `nf-metro render`. | no | "" |
Outputs
| name | description |
|---|---|
| output-path | The path the SVG was written to (the resolved sibling path when `output` was empty). |
| changed | 'true' when the rendered SVG differs from the committed version, otherwise 'false'. |