mattcasters opened a new pull request, #8349:
URL: https://github.com/apache/hop/pull/8349

   Add a `DiagramExporter` plugin type so visual diagrams are no longer 
hard-coded to pipeline/workflow SVG.
   
   Plugins can export any subject (pipelines, workflows, or a custom editor's 
`getSubject()`) to SVG, Mermaid, PlantUML, Draw.io, PDF, or another format. Hop 
ships pipeline and workflow exporters for SVG and Mermaid.
   
   ## What changed
   
   - **Plugin API** in `hop-core`: `@DiagramExporter`, `IDiagramExporter`, 
`DiagramExportService`, formats, options, results, and VFS-backed 
`BaseDiagramExporter`
   - **Built-in exporters** in `hop-engine`: pipeline/workflow SVG and Mermaid, 
plus `.hpl` / `.hwf` subject loaders
   - **GUI**: *File → Export diagram* opens `DiagramExportDialog` (grouped 
`GuiCompositeWidgets`) for the active editor; Hop Web still downloads SVG
   - **CLI**: `hop export` / `hop-export` for one file or a folder 
(`--list-exporters`, project mixins via `ConfigPlugin.CATEGORY_EXPORT`)
   - **Docs**: developer page at 
`docs/hop-dev-manual/.../plugin-types/diagram-exporters.adoc`
   
   fixes #8346
   
   ------------------------
   
   Thank you for your contribution! Follow this checklist to help us 
incorporate your contribution quickly and easily:
   - [x] Run `mvn clean install apache-rat:check` to make sure basic checks 
pass. A more thorough check will be performed on your pull request 
automatically.
   - [x] If you have a group of commits related to the same change, please 
squash your commits into one and force push your branch using `git rebase -i`.
   - [x] Mention the appropriate issue in your description (for example: 
`addresses #123`, `fixes #123`, or `closes #123`).
   - [ ] Mention your specific configuration information useful if needed.
   
   If you have a time sensitive change, please add the label `wait-for-merge` 
and mention a committer, so they can review and merge the contribution as soon 
as possible.


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