Import Petri net from CPNXML file

Imports a Petri net from a CPNXML file

Package

  • CPNet

Version

  • 6.10.112

Input

  • A CPNXML file.

Output

  • A (flat) Petri net, created from the first page found in the CPNXML file. Initial markings like “()” and 3`()” are recognized, and so are arc inscriptions like that. Graphics information (including layout) is ignored, except for the fact that transitions with a black fill become invisible.

One Comment

  1. Eric

    Version 6.10.115:
    – Added support for TEST (BOTHDIR) arcs.
    – Only take NORMAL and TEST arcs into account.
    – Check nodes whether they exist before adding an arc.

Leave a Reply