Comments (4)
Dear @Dehghanpour1990
You can use the commands:
import pm4py
bpmn_graph = pm4py.convert_to_bpmn(net, initial_marking, final_marking)
pm4py.write_bpmn(bpmn_graph, "output.bpmn")
from pm4py-core.
Dear @fit-alessandro-berti,
Thank you for your reply. Your suggestion is for when we get a Petri_net from a discovery method using the PM4PY library right?
I have written a code generating Petri_net based on directly-follow-graph and want to convert it into a .bpmn file which will be used in another software.
from pm4py-core.
Yes, any Petri net object in pm4py
from pm4py-core.
@fit-alessandro-berti
The problem is I have my code developing a discovery algorithm from scratch and the output is not a Petri net object in pm4py, just a Petri net as a dictionary. How can I convert this dictionary to a BPMN file?
from pm4py-core.
Related Issues (20)
- Time range filter not working with timezone-naive timestamps HOT 2
- dfg created using dfg_visualizer not detecting the starting activity of the process. I am using correlation miner without case id. HOT 1
- pm4py.write.write_bpmn(...) produces invalid BPMN schema HOT 2
- pm4py.llm.openai_query() does not work HOT 1
- Trouble Generating Log File with 'Extensive' Playout Variant in Petri Net Simulation from .pmml File HOT 1
- GPU-based process mining HOT 3
- pm4py.convert.convert_to_petri_net(bpmn) not support inclusiveGateway HOT 1
- Missing PEP 561-compliancy HOT 1
- OCDFG: Visualization issue when having only one activity to show HOT 1
- Suggestion: Integration of Azure OpenAI API HOT 1
- Duplicated sequence from activity to Exclusive Gateway in BPMN visualization HOT 7
- Convert_to_process_tree not working HOT 3
- Method get_event_attribute_values does not get attributes. HOT 4
- Event order is incorrect when adjacent events have only miliseconds difference HOT 3
- TLS certificate expired HOT 2
- Getting a False soundness result for the simplest BPMN model HOT 2
- HELP: Is it possible to convert a BPMN to a TPN file? HOT 1
- ocel interleavings discovery throws TypeError HOT 7
- SSL Down PM4PY.FIT.FRAUNHOFER.DE website 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 pm4py-core.