Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Offline Rendering for pipeline.show() #7896

Open
touhi99 opened this issue Jun 19, 2024 · 1 comment
Open

Feature Request: Offline Rendering for pipeline.show() #7896

touhi99 opened this issue Jun 19, 2024 · 1 comment
Labels
2.x Related to Haystack v2.0 P3 Low priority, leave it in the backlog topic:pipeline

Comments

@touhi99
Copy link

touhi99 commented Jun 19, 2024

Is your feature request related to a problem? Please describe.
The current implementation of pipeline.show() uses Mermaid for graph rendering Visualizing Pipelines , which requires an internet connection to function. This dependency makes it unsuitable for on-premises environments or scenarios where an internet connection is unavailable, limiting the ability to visualize pipelines offline.

Describe the solution you'd like
Introduce an alternative rendering engine that does not require an internet connection, allowing users to visualize pipelines offline. This engine should offer similar functionality and quality to the current Mermaid-based rendering.

Describe alternatives you've considered
One potential alternative could be developing a Haystack component that utilizes the open-source mermaid.ink service. This service could be integrated to handle rendering within an offline environment, maintaining compatibility with Mermaid's syntax and capabilities.

Additional context

@shadeMe shadeMe added topic:pipeline P3 Low priority, leave it in the backlog 2.x Related to Haystack v2.0 labels Jun 20, 2024
@anakin87
Copy link
Member

For context, previously we were also supporting ghraphviz rendering engine.
It was removed in #6961.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to Haystack v2.0 P3 Low priority, leave it in the backlog topic:pipeline
Projects
None yet
Development

No branches or pull requests

3 participants