You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Question]: Usage of Graph Algorithms and Any Slowdowns? #8893
From my understanding, I think a base.py in core/pipeline takes the inputs of a haystack Pipeline and makes it into a NetworkX MultiDiGraph. That graph is then passed into the .draw() method and converted to text to be used for the Mermaid.ink server that is used for visuals. I can't speak for whether or not this is efficient as the biggest pipeline's I've created were bottlenecked by a Mermaid server issue which is now resolved.
I'm not sure if NetworkX is used elsewhere and for other purposes besides the draw() call.
Activity
lbux commentedon Feb 21, 2025
From my understanding, I think a
base.pyincore/pipelinetakes the inputs of a haystack Pipeline and makes it into aNetworkX MultiDiGraph. That graph is then passed into the.draw()method and converted to text to be used for theMermaid.inkserver that is used for visuals. I can't speak for whether or not this is efficient as the biggest pipeline's I've created were bottlenecked by a Mermaid server issue which is now resolved.I'm not sure if NetworkX is used elsewhere and for other purposes besides the
draw()call.