Newbie question on kedro-viz: when using kedro-viz...
# questions
j
Newbie question on kedro-viz: when using kedro-viz as a React component, is it possible for the user to change the graph/pipeline that's being visualized, e.g. by adding a new node or connecting two nodes together? Or is the graph data itself static, and the only thing the user interacts with is how that info is displayed (e.g. which nodes are displayed/hidden, what the zoom level is, etc)?
l
Hey Jeff, Kedro-Viz is a tool to visualise Kedro projects. At this moment is not possible to use it to make changes to your pipeline. For more details on what features are available for Kedro-Viz, feel free to look at the Kedro-Viz documentation: https://docs.kedro.org/projects/kedro-viz/en/latest/
👍 1
r
We’re planning to build a pipeline builder in Kedro-Viz and would love to better understand your use case. Could you share how you’d like to use it?
🥳 1
j
I'm realizing that ReactFlow is a better fit for the kind of interactivity that I'll need to support: adding, updating, and removing nodes and edges. Thanks though!
👀 1
n
Thanks for sharing @Jeff Terrell, ReactFlow looks interesting! On the question, if I understand correctly you are not interested to use it for Kedro pipeline, but using kedro-viz as a DAG visualiser that user can interact with? I think the answer is no - you cannot do drag and drop to connect nodes at the moment directly. Viz expected a JSON representation of the Pipeline, so if you need to change the topology of the graph (i.e. adding a new edge, delete a node). You need to update that JSON directly.
j
Thanks, @Nok Lam Chan, yes, you understood what I was asking. That's helpful; thank you!