Comments (4)
Hi,
PNG file is created when calling .save() method. When you say save to BPMN format, are you referring to BPEL? Currently there is no plan to save output as BPEL.
The diagram is generated by code, so it is editable 😄
CS
from processpiper.
Hi,
Thanks for getting back to me!
I was referring to this specification as used by e.g. bpmn.io and I was assuming that somewhere in the code this format is used. But now its obvious why I did not find it - because you are directly creating the PNG without making use of the BPMN format, right?
(I am currently looking for a solution with which it is possible to create BPMN-files (diagrams in xml) with the help of a syntax like this project supports.)
from processpiper.
Hi, BPMN is just the specification. If you want something that is executable by a process engine, you are referring to Business Process Execution Language (BPEL) which is in XML format.
from processpiper.
I am not sure what you mean by "executable by a process engine". But yes, I am referring to a XML format.
My problem is that I want to create such a XML from code (like the syntax used in this repo) without having to code the transformation myself.
So if BPEL is the format the the .bpmn
files use, then this is what I was referring to. This is a very simple example:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_0obm7bs" targetNamespace="http://bpmn.io/schema/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="15.1.3">
<bpmn:process id="Process_0whtdb4" isExecutable="false">
<bpmn:startEvent id="StartEvent_033fdj1" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_0whtdb4">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_033fdj1">
<dc:Bounds x="156" y="82" width="36" height="36" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
If, as you already suggested, this output format is not planned, feel free to close this issue.
from processpiper.
Related Issues (11)
- Diagram not printing correctly HOT 4
- [FEAT] Output in SVG HOT 1
- the last part of the generated diagram won't be shown is the diagram is too long HOT 4
- Error in find_nearest_points_same_pool_diff_lanes HOT 4
- ModuleNotFoundError: No module named 'processpiper' HOT 4
- Gateway Text positioning issue HOT 1
- [Feat] Render SVG from text input HOT 3
- Difficulties in drawing generation. HOT 1
- Exporting diagram to XML HOT 2
- OSError: cannot open resource for README example HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from processpiper.