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

add bpmn processing to IG publisher #37

Open
litlfred opened this issue Jan 31, 2021 · 3 comments
Open

add bpmn processing to IG publisher #37

litlfred opened this issue Jan 31, 2021 · 3 comments

Comments

@litlfred
Copy link
Collaborator

Added bpmn diagram sources under input/images-source/*.bpmn

we should add processing of bpmn's to svg's or png's as part of the IG publisher command.

to generate svgs from the command line you can, do, for example:

  • npm install -g bpmn-js-cmd
  • bpmn-js -t svg -o input/images/hiv-a-registration.svg input/images-source/hiv-a-registration.bpmn
    using the bpmn-js util available at https://github.com/gtudan/bpmn-js-cmd

To uses this, would we need to do the following?:

  • get bpmn-js-cmd installed on the docker image the IG publisher is using
  • add some lines in the template/scripts/ant.xml files to process (mimicking what is done for the plantuml)
@costateixeira
Copy link
Collaborator

we could also do this directly in the browser, woudn't that be better?

https://github.com/bpmn-io/bpmn-js
result is this:
image

total code for this example is 250 kb.

@costateixeira
Copy link
Collaborator

bpmn_render.zip

@litlfred
Copy link
Collaborator Author

litlfred commented Jan 31, 2021 via email

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

2 participants