Skip to content

Allow ungrouped inputs in graph visualizations - #1831

Open
umrndem wants to merge 1 commit into
apache:mainfrom
umrndem:feat/ungroup-visualization-inputs
Open

umrndem wants to merge 1 commit into
apache:mainfrom
umrndem:feat/ungroup-visualization-inputs

Conversation

@umrndem

@umrndem umrndem commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Input deduplication currently shares boxes containing whole input sets. Add group_inputs=False so inputs can be shown separately and shared across functions, as suggested in #617.

Changes

  • Keep grouping as the default and pass the option through the Driver and FunctionGraph visualization methods. The new argument is appended so existing positional calls keep their meaning.
  • Deduplicate whole input groups or individual inputs according to the selected mode, while keeping input hiding and strict path filtering.
  • Document the combinations and cover them through all six Driver visualization methods.

How I tested this

  • 1,437 core, driver, graph, execution, lifecycle, function modifier, caching and I/O tests passed; three skipped. This includes 29 new graph cases covering all four grouping/deduplication combinations, hidden inputs and strict paths.
  • Rendered all four combinations with Graphviz 14.1.2 and checked the grouped and ungrouped deduplicated diagrams.
  • Ruff 0.16.9 and all applicable pre-commit hooks passed. git diff --check passes.

Notes

Fixes #617. Optional integration suites and the full Python version matrix were not run locally.

Checklist

  • PR title is suitable for the release notes.
  • Changes are limited to one goal.
  • Applicable pre-commit checks passed.
  • Changed behavior is tested and documented.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deduplicate_inputs should not try to group inputs

1 participant