Skip to content

[Question]: Usage of Graph Algorithms and Any Slowdowns? #8895

Closed Answered by lbux
nv-rliu asked this question in Questions
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@nv-rliu
Comment options

@julian-risch
Comment options

@nv-rliu
Comment options

@julian-risch
Comment options

@nv-rliu
Comment options

Answer selected by nv-rliu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #8893 on February 21, 2025 07:12.