Nicoleee1108 opened a new pull request, #4398: URL: https://github.com/apache/texera/pull/4398
This PR introduces a new scientific visualization operator, Carpet Plot, which visualizes data over two axes with a corresponding value to generate a carpet plot representation. The operator takes three required attributes: - Axis A: first dimension of the plot - Axis B: second dimension of the plot - Value (Y): numeric value used to generate the visualization Based on these inputs, the operator generates a carpet plot visualization. File Changes: - Added CarpetPlot.png to frontend/src/assets/operator_images/CarpetPlot.png - Added CarpetPlotOpDesc to common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/visualization/carpetPlot/CarpetPlotOpDesc.scala - Added lines to import CarpetPlot operator to common/workflow-operator/src/main/scala/edu/uci/ics/amber/operator/LogicalOp.scala Testing CSV file: [carpet_test.csv](https://github.com/user-attachments/files/26803094/texera_carpet_test.csv) Sample Output: <img width="1512" height="862" alt="CarpetSample" src="https://github.com/user-attachments/assets/f6230d71-e1ac-4559-ac30-48c0ec87ed7f" /> This PR was tested both manually and using existing backend test suites. Backend Tests: - Ran `sbt test` from the root directory. - All operator validation and compilation checks passed successfully, including the newly added CarpetPlot operator. Manual UI Testing: - Started Texera frontend and backend locally. - Verified that the Carpet Plot operator appears in the operator panel. - Verified the generated result. - Confirmed that the custom icon is displayed correctly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
