aglinxinyuan opened a new issue, #9645:
URL: https://github.com/apache/texera/issues/9645

   ### Task Summary
   
   Share the duplicated runtime (`generatePythonCode`) and standalone 
(`generateStandaloneCode`) Plotly Python code generation across four 
visualization operators in `common/workflow-operator`:
   
   | Operator | Duplicated codegen shared |
   | --- | --- |
   | `NetworkGraphOpDesc` | Graph construction, seeded `spring_layout`, 
edge/node traces, and figure layout via `NetworkGraphPython.body` |
   | `BulletChartOpDesc` | Numeric/step literals, 
`generate_gray_gradient`/`generate_valid_steps` helpers, `steps_list`, and 
gauge figure via `BulletChartPython` |
   | `TreePlotOpDesc` | Edge parsing, annotation dictionary builder, and canvas 
sizing/figure layout via `TreePlotPython` |
   | `ContinuousErrorBandsOpDesc` | Band trace assembly and layout via a shared 
`PythonTemplateBuilder` helper preserving both `.plain` and `.encode` modes |
   
   Runtime `pyb` base64 encoding and standalone `pyStringLiteral` encoding 
remain unchanged, and existing operator behavior and tests remain untouched.
   
   ### Task Type
   
   - [x] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [ ] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other
   


-- 
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]

Reply via email to