There is a tool that allows you to analyze Nextflow workflows and generate the DAG. It does this statically (i.e., without executing the workflows). Additionally, it supports DSL1 workflows.
Here is the link to the website: https://bioflow-insight.pasteur.cloud/ And the associated paper: https://doi.org/10.1093/nargab/lqae092
Hope this helps!:)