Skip to content

Add option to Pipeline.draw to allow expansion of a SuperComponent #9299

@sjrl

Description

@sjrl

Originally from this comment deepset-ai/haystack-experimental#189 (reply in thread)

Regarding the visualization, from my point of view the SC in the pipeline has a "black box" representation. If possible, having the ability to toggle between viewing the SC as a unified wrapper versus expanding it to show its constituent components would be great for debugging complex pipelines. Additionally, visual differentiation using something like a dashed line boundary around components contained within a SC would make workflows much easier to understand and compare. I've sketched a quick mock-up to illustrate this idea:

Image

Metadata

Metadata

Assignees

Labels

P1High priority, add to the next sprint

Type

No type

Projects

No projects

Participants

@julian-risch@davidsbatista@sjrl

Issue actions

    Add option to `Pipeline.draw` to allow expansion of a SuperComponent · Issue #9299 · deepset-ai/haystack