From eeaf2ad20c0ff9c21ddfde94840d42db3cea1098 Mon Sep 17 00:00:00 2001 From: Marius1311 Date: Wed, 18 Nov 2026 17:44:16 +0100 Subject: [PATCH] Graphviz in the environment; CONVENTIONS: a trace drawn as a graph Co-Authored-By: Claude Fable 5.2 --- {{cookiecutter.project_name}}/CONVENTIONS.md | 4 +++- {{cookiecutter.project_name}}/pixi.toml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.project_name}}/CONVENTIONS.md b/{{cookiecutter.project_name}}/CONVENTIONS.md index 009a1fd..df83f1a 100644 --- a/{{cookiecutter.project_name}}/CONVENTIONS.md +++ b/{{cookiecutter.project_name}}/CONVENTIONS.md @@ -117,10 +117,12 @@ inputs once the task is finished. ```bash pixi run analysis-workflow trace # or: trace +pixi run analysis-workflow trace --format pdf --output .pdf ``` then shows the tasks and artifacts a key or a file rests on, back to the raw data, and fails on a task whose -inputs are not declared. The plugin's `trace-lineage` skill writes it up as a graph and a summary. +inputs are not declared. The second form draws the tasks as a graph. The plugin's `trace-lineage` skill writes +both up, as a graph and a summary. ## Exceptions diff --git a/{{cookiecutter.project_name}}/pixi.toml b/{{cookiecutter.project_name}}/pixi.toml index c008bad..206b978 100644 --- a/{{cookiecutter.project_name}}/pixi.toml +++ b/{{cookiecutter.project_name}}/pixi.toml @@ -28,6 +28,9 @@ slepc4py = "*" # Shapely from conda to avoid pygeos build issues shapely = "*" +# Draws `analysis-workflow trace --format pdf` +graphviz = "*" + [pypi-dependencies] # Compatibility fix: cuML (rapids dependency) incompatible with sklearn 1.8 # https://github.com/rapidsai/cuml/issues/6426