write_pnml: Write Petri net as PNML

View source: R/io.R

write_pnmlR Documentation

Write Petri net as PNML

Description

Write Petri net as PNML

Usage

write_pnml(petrinet, file, initial_marking = NULL, final_marking = NULL)

Arguments

petrinet

A bupaR or PM4PY Petri net.

file

File name of the PNML file

initial_marking

A R vector with the place identifiers of the initial marking or a PM4PY marking. By default the initial marking of the bupaR Petri net will be used if available.

final_marking

A R vector with the place identifiers of the final marking or a PM4PY marking.

Value

.pnml file written to system


fmannhardt/pm4py documentation built on July 21, 2023, 10:55 p.m.