Repository navigation
Conversation
Converts the four-way collect diagram in Hello Workflow (3.3) from an Excalidraw export to an editable .drawio.svg, with manual layout tweaks: - adds the --language input to collectGreetings (it takes three inputs) - parameter inputs use dashed grey arrows with open heads and monospace labels; channel data uses solid dark arrows - larger text; vertical arrows exactly vertical; plain-text labels Adds a 'drawio' figure class that gets the dark-mode inversion but not the excalidraw rule that makes every <rect> transparent (draw.io boxes are rects). The old hello-collect-4-way.svg stays for now because translated pages still reference it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Polish hello-collect-4-way.drawio.svg and use it to settle the house style for draw.io course diagrams: - Palette "J1": processes steel blue #2d799b (stroke #055672, white text), files near-white #f0f9fb (stroke #02899a), channels teal #76d2c8 (stroke #018178). Checked under protanopia, deuteranopia and tritanopia simulations; hues survive the site's dark-mode filter. - Line weights for <50% display scale: data arrows 3, parameter arrows 2.5 black dashed (4 2), box outlines 2.5, frame 2, arrowheads 12. - Spacing: 130 px process-to-file gap, 70 px between stacked boxes, 80 px into/out of a frame (100 px when a parameter label sits there), 30 px frame padding, 10 px grid. - Vertical arrows exactly vertical and centred on both boxes; fan-out outputs stacked 40 px apart, centred on their source. - Parameter labels end one monospace space before their arrow. - Plain SVG text labels (no wrap/HTML): 20 KB vs 39.6 KB for the original Excalidraw export. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add _scripts/diagrams/ (stdlib-only Python): - house_style.py: every colour, font, line weight and spacing value - drawio.py: read, edit, render and write .drawio.svg files; its renderer means script edits are viewable without opening the editor - check.py: errors for missing editable model, forbidden fonts, HTML or wrapped labels, off-palette colours, line weights, grid, crooked or off-centre arrows and text running into shapes; warnings for spacing - excalidraw_to_drawio.py: styled starting point from an old export - README.md: workflow and the full set of rules Rebuild hello-workflow-channels as a .drawio.svg to the house style (24.8 KB vs 52 KB) and use it in Hello Workflow section 0; the old SVG stays for the translations. Captions are 28 px bold, 40 px under what they describe (15 px under a dashed group). Fix the 4-way diagram's parameter label widths to the true Menlo advance (15.65 px per character), so each arrow starts exactly one space after the text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for nextflow-training ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
Nextflow linting complete!
💡 Tip: Click filename locations to go directly to that code. View all 29 issues
View formatting changes
|
8 of 20 tasks
…nput Rebuild hello-multistep in the house style, from the 4-way diagram's top half, and use it in Hello Workflow section 1. Show the --language parameter that section 1.3 adds, which the old diagram left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- hello-multistep-connector rebuilt in the house style as a staircase: sayHello -> greetings_ch -> translateGreeting -> translated_ch, with channel names matching the workflow code (the course never uses .out) and a bent arrow so the channel caption stays clear. - Captions that name a code object are Menlo bold. - Parameter labels and code snippets are black, like the arrows. - Hello Workflow section 1 tells learners that diagrams show channels explicitly only where the text is about how steps connect; elsewhere a file box stands for the channel of files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…atch inputs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in 2.3 hello-collect-batch shows translated_ch.collect() feeding collectGreetings from the top (staircase), --language es and --batch trio as straight inputs, and the output in collected_ch. Example values only, and the output channel is explicit because the input channel is. Section 2.3 reuses the 1.2.2 connector diagram, which had identical content. The checker now handles items nested in channels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s-view rules - hello-collect-no-operator and hello-collect-WITH-operator rebuilt in the house style, with explicit output channels. - hello-collect-batch (2.2) is a process view: inputs named batch_name and language, plain-word captions 25 px under their channels, and no .collect() before the text introduces it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hello-collect-report (3.2) shows collected_out.outfile and collected_out.report as explicit output channels with real example values. In a captioned stack of two, the top caption sits above its shape so no caption sits between them; the checker checks captions above shapes and treats centred plain text as notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Section 1 opens with the always-Spanish version; the version with --language moves to the section 1 Takeaway (hello-multistep-language). The text says the language parameter comes in 1.3. - layouts.process_view() draws a process definition the same way every time; used for translateGreeting (1.2.1, new) and collectGreetings (2.2). - README: where diagrams go in a lesson. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Process views show one call with plain file boxes (no channels) and each file's contents underneath; they now appear wherever a process is defined or changes (1.2.1, 1.3.1, 2.2, 3.1), placed before the code. - Reworked "Working with scripts" tip and 1.2.1 explanation. - extra.css: more space above h4 sub-step headings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… in section intros - 1.3.4 runs with --language fr first instead of a default-language run; 2.3.4's output updated accordingly (translateGreeting reruns for es). - The 1.3 process view shows fr as the example value, under its label. - Process views sit in the intro of the section that defines or changes the process (1.2, 1.3), before the first numbered step. - Remove the "language from a channel" note from 1.3.3: too early for Hello Nextflow; the Debugging side quest covers queue-channel exhaustion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n French - Section 1 split like sections 2 and 3: test the command, write the process, connect it to the workflow, then extend it (1.4 language). - Standardized section names across the chapter; overview list and quiz links updated to match. - Diagram placement: each section opens with its first working version; the end state sits just before the step with the section's final run (1.4, 2.5). hello-collect is now the default-batch opener and hello-collect-trio the end state. - Sections 2-3 and bonus exercises 1 and 3 continue with --language fr (outputs, file contents and diagrams); 2.3 gets a French copy of the connector diagram. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The process views now show what each new step does, so the "test the command in the terminal" subsections (old 1.1 and 2.1) are gone; their descriptions of the translation and the cat command open the process subsections. Sections 1 and 2 renumbered; section references and quiz links updated. The habit of testing a command first moves to Hello World, where the script block is introduced. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…to --who - Hello World diagrams redrawn as process views: sayHello -> output.txt (1.1.1), a new view of the process with its name input (3.1), and the --who parameter feeding it (3.2). process_view() now handles processes without a file input. - Rename the greeting parameter from name to who (params.who, --who) in Hello World, Hello Channels and their scripts and solutions, so the parameter is visibly distinct from the process input `name`; 3.2 now says the two don't need to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The names file only arrives in Part 2, so Part 1's runs use other values: --who 'Earthlings' (3.3, and the 3.1 and 3.2 diagrams), the default Friend (3.4.2) and --who 'Everyone' (3.4.3 and the quiz). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- All Hello Channels diagrams redrawn in the house style, with input and output channels explicit throughout; operator chains (flatten, splitCsv, map) stack channels vertically with the operator beside each arrow; failures show a red X with "fails" and the missing output dashed. The Takeaway reuses Part 3's channels diagram (same end state). - New warmup diagram of the starting workflow (--who Channels). - Replace the 'Ziggy' example with 'Universe'. - drawio.py keeps arrow anchors at full precision. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Warmup diagram of the starting pipeline (default batch and language). - Section 2 opener: collectGreetings outputs feeding cowpy, with the --character input (missing from the old diagram, see #978). - cowpy process view before its code (2.1). - Complete pipeline (Takeaway and the course next steps page). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Project layout (one script -> main.nf, nextflow.config, modules/; also on the course index) and the include diagram (modules/ files -> the processes in main.nf). The checker measures captions above or under a frame or group from its outline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The overview map (course index) and one map per part (Parts 1-4), with everything outside the current part faded and 'you are here' next to its title. The renderer draws partial rectangles (brackets) and opacity; the checker treats brackets as decoration and relaxes spacing for course maps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he Hello pipeline page The surrounding text still describes the older convertToUpper pipeline; that alignment is tracked in #1044. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…grams Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hello-course-code now shows hello-containers.nf broken into its blocks (four processes, params, workflow, output) and, on the same rows, the project file each one moves to (modules/*.nf, nextflow.config, main.nf). A wide hollow 'transform' arrow replaces the data-flow arrow between the two sides. The checker handles containers, items spanning several rows, and notes beside items. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each Part 4 file (hello-containers.nf, nextflow.config) is drawn as a box listing its blocks, each level with where it ends up: the processes in modules/*.nf; params (names and types), workflow and output in main.nf; docker.enabled and the parameter default values in nextflow.config. Blocks added in Part 5 (include, profiles) are dashed and marked new. The renderer supports top-aligned container labels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ecap The block-by-block diagram is too much for the introduction. It moves to the section 2 Takeaway as hello-modules-recap; the Part 5 introduction and the course index have no diagram until a simpler intro is settled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…akeaway hello-modules-intro shows the one-file script turning into main.nf (the workflow), modules/*.nf (one file per process) and nextflow.config (settings and default values); it opens Part 5 and illustrates Part 5 on the course index. The block-by-block recap now sits just before the section 2 Takeaway. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A distinct visual language for project structure: code files as pages
with a folded corner, directories as folders, neutral greys and
monospace names (never the pipeline palette). The intro shows the tall
hello-containers.nf ('all the code') turning into main.nf and modules/,
and the existing nextflow.config gaining the default parameter values.
The renderer draws page and folder shapes; house_style defines the
code roles (codefile, codedir, codecard, codebar).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code is coloured by kind (workflow orange, modules purple, config grey, all away from the pipeline palette and distinct under colour-vision simulations). The original script shows its process blocks in purple and its params/workflow/output block in orange, so each part can be traced to where it ends up. Each file has its name and role written inside, top left, with generous padding and spacing; the turns-into arrows have a light fill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g to the config hello-containers.nf now shows its params block split by colour: names and types (orange, with the workflow and output) and default values (grey). The orange block reappears in main.nf and the grey one in the new nextflow.config, next to the existing Docker setting, so each kind of code can be traced to its new home. Config blocks use a darker grey so they stand out on the config page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in the new config Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…5 intro The two turns-into arrows suggested 1:1 pairings that the diagram doesn't mean; a light vertical divider now separates before from after, with a single arrow crossing it, centred vertically. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Palette D from the comparison: neutral pages and blocks, with the kind of code shown by a coloured outline on files and a coloured bar on blocks (workflow vermillion, modules purple, config grey). Boxes fit their contents and the left side is centred against the right; the two config files have distinct role lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every block of the Part 4 project and where it ends up, in the same palette as the intro (neutral pages, coloured outline per file, coloured edge per block): one page per module file, main.nf with its new include declarations, and nextflow.config with the parameter defaults and the new profiles. Boxes fit their contents; the colours carry the mapping, with a divider and one centred arrow between before and after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves course diagrams from Excalidraw exports to editable draw.io files (
.drawio.svg), as discussed in #1046, and converts all of Hello Nextflow: Parts 1-5, the course maps, the index and next-steps pages, plus the complete-pipeline image used by Nextflow Run and the Hello pipeline page. Hello Workflow (Part 3) was the pilot, and its structure and examples were reworked along the way so the diagrams and text tell the same story.Diagrams
All Hello Workflow diagrams are now
.drawio.svgfiles in a new house style. They are plain SVG images that also carry the editable draw.io model; edit them in VS Code (Draw.io Integration extension) or at diagrams.net.#2d799bwith white text, files near-white#f0f9fbwith teal outlines, channels teal#76d2c8. Stays distinct under protanopia, deuteranopia and tritanopia simulations, and keeps its hues under the site's dark-mode filter.--language,--batch; see Hello Nextflow workflow image #978), example values instead of${placeholders}, channel names as in the code (no.out), no code shown before the text introduces it.Kinds of diagram and where they go:
The old Excalidraw SVGs stay in place because the translations still reference them.
Tooling:
_scripts/diagrams/(Python 3, no dependencies)house_style.py: every colour, font, line weight and spacing value.check.py: checks diagrams against the style (missing editable model, fonts, HTML labels, colours, line weights, grid, crooked or off-centre arrows, text running into shapes; spacing as warnings).layouts.py: standard layouts;process_view()draws every process view.drawio.py: read, edit and write diagrams, with a renderer so script edits are viewable without opening the editor.excalidraw_to_drawio.py: styled starting point from an old Excalidraw export.README.md: workflow, the full style rules, and where diagrams go in a lesson.Hello Workflow (Part 3) text changes
--language frstraight away, and sections 2-3 (and bonus exercises 1 and 3) continue in French for continuity; the default stayses.Other Hello Nextflow changes
--nameto--who(also in Hello Channels, the scripts and solutions), so it's visibly distinct from the process inputname; Part 1's runs useEarthlingsandEveryone, since the names file only arrives in Part 2.'Ziggy'example becomes'Universe'; a warmup diagram shows the starting workflow; failures are drawn with a red X and "fails", the missing output dashed.--characterinput shown (part of Hello Nextflow workflow image #978).main.nf,modules/*.nfandnextflow.config, also used on the course index), the include diagram, and a block-by-block recap before the final Takeaway showing where each part of the script ended up. The recap still needs tuning.new-moduleskill now describe the draw.io workflow and point to_scripts/diagrams/.Other changes
scriptblock (the habit the removed Part 3 subsections used to model).extra.css: adrawiofigure class (dark-mode filter only, since the.excalidrawrule would make box fills transparent), and more space above####headings site-wide so sub-steps read as separate blocks.Not yet done
gvda-drawio-nfcore(Build with nf-core, 7 diagrams) andgvda-drawio-nf4science(genomics and RNA-seq, 6 diagrams, plus the domain template). The two Use nf-core infographics (params_vs_config,nfcore_config_files) are not converted yet.check.py.nested/pipelineand genomicshaplotype-callerExcalidraw files,assets/img/helloworlddiagram.png, genomicsgatk-pipeline.pngandjoint-calling.png.🤖 Generated with Claude Code