From b6b5c9e32bd53adec873e6efdd9b896eefcb7c30 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 24 May 2025 09:48:09 +0200 Subject: tighten workflow diagrams --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0ced723..3e4cefa 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,11 @@ $(SYNTAX_DIAGRAMS): %.svg: %.py python3 $< $(WORKFLOW_DIAGRAMS): %.svg: %.cwl - cwltool --print-dot $< | gvpr -f workflow/rotate.gvpr | dot -Tsvg > $@ + cwltool --print-dot $< \ + | gvpr -f workflow/rotate.gvpr \ + | perl -pe 's/phase\d_//g;' \ + -e 's/label=\K[^\s",]+|translate_to_\w+/ "\"".join(" ", split(m{_}, $$&))."\"" /ge' \ + | dot -Tsvg > $@ check: $(DIFFTESTS:%=check-%) luacheck --quiet $(FILTER) -- cgit v1.2.3