Skip to content

Conversation

jaeyun0503
Copy link
Contributor

@jaeyun0503 jaeyun0503 commented Jul 11, 2025

This PR introduces a new feature where the links between operators are color-schemed based on the back pressure data from the backend. Based on how busy the backend is, the links would change colors to show the user how fast/slow the datas are being processed. The input from the backend is assumed to be a number between 0 to 1, as 0 being not busy (done) and 1 being very busy.

Addresses Issue #2049.

Threshold set:
x = 0: Gray (Done)
x < 0.5: Green (Normal)
x < 0.8: Yellow (Busy)
x < 1: Red (Very Busy)

Changed Files:

  • core/gui/src/app/workspace/component/workflow-editor/workflow-editor.component.ts
  • core/gui/src/app/workspace/service/joint-ui/joint-ui.service.ts
image

@jaeyun0503 jaeyun0503 self-assigned this Jul 11, 2025
@jaeyun0503 jaeyun0503 added the frontend Changes related to the frontend GUI label Jul 11, 2025
@aglinxinyuan aglinxinyuan marked this pull request as draft July 11, 2025 23:43
@Yicong-Huang Yicong-Huang changed the title feat(gui): Added Back Pressure Visualizer feat(gui): back-pressure visualizer Jul 12, 2025
@jaeyun0503 jaeyun0503 closed this Jul 17, 2025
@jaeyun0503 jaeyun0503 reopened this Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants