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

[BUG] New workflow visualizer in the UI does not fit the whole workflow diagram and cannot be scrolled to see all of it #343

Open
Robban1980 opened this issue Dec 18, 2024 · 3 comments

Comments

@Robban1980
Copy link
Contributor

Describe the bug
With the implementation of the orkes-workflow-visualizer in the UI, it is no longer possible to see large workflows that are wider than the hardcoded width of the visualizer. It is not possible to drag the workflow visualizer like in the previous visualizer and it is not possible to scroll to see the whole workflow.

Details
Conductor version: 3.21.11
Persistence implementation: Postgres
Queue implementation: Postgres
Lock: -
Workflow definition: see attachment

Task definition:
Event handler definition:

To Reproduce
Steps to reproduce the behavior:

  1. Use the attached workflow
  2. Save the workflow and see the tasks in the visualizer view.
  3. The workflow overflows outside of the component and it is not possible to scroll or drag the visual view to see the full workflow.

Expected behavior
I expect to be able to see the full workflow visualization and be able to click and drag to see the whole diagram.

Screenshots
If applicable, add screenshots to help explain your problem.

image

bug_report_wide_workflow.json

@Robban1980 Robban1980 changed the title New workflow visualizer in the UI does not fit the whole workflow diagram and cannot be scrolled to see all of it [BUG] New workflow visualizer in the UI does not fit the whole workflow diagram and cannot be scrolled to see all of it Dec 18, 2024
@Robban1980
Copy link
Contributor Author

Was digging a bit more looks like the problem comes from the https://npm.io/package/orkes-workflow-visualizer/v/1.0.0 library that has a fixed width of the canvas set to 2000. While the height is adapting to the workflow.

@danmiller192
Copy link
Contributor

We've found this. It looks like the component should allow for horizontal and vertical scroll but doesn't honour the settings.

@najeebkp
Copy link
Contributor

Thanks for reporting. We are on it!

najeebkp added a commit to najeebkp/conductor that referenced this issue Dec 27, 2024
updated orkes-workflow-visualizer version to 1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants