Hey team quick question. Is there a simple way to ...
# questions
d
Hey team quick question. Is there a simple way to collapse pipelines in kedro-viz? The effect I want is just on kedro-viz, after project grows complexity is hard to keep track of inputs and outputs through the node directly. Would be nice to collapse pipelines and see hierarchy e.g. Pipeline 1 is compose of sub_pipe2, sub_pipe2 is composed of sub_pipe3 and so on. I understand I could put namespaces in all my pipelines but this has 2 problems: a) structure might break because would need to update catalog, b) if i define pipelines and subpipes hierarchicaly through namespaces would miss the possibility to run just the subpipeline through
kedro run -p subpipe
would need to rely on tags to execute a part of it. Is there any feature like this?
a
Hey Daniel, You can add
namespace
on the node level so that the nodes are collapsible but it does not affect the inputs/outputs/parameters See docs here: https://docs.kedro.org/en/stable/nodes_and_pipelines/namespaces.html#group-nodes-with-namespaces
d
Oh I see.. I think that might work. Thanks Ankita!