Graph-Format

Eine XML-Datei im PPM-Graphformat beinhaltet eine Liste von Graphen (EPKs). Jeder Graph stellt eine Prozessinstanz oder ein Prozessinstanzfragment dar. Ein Graph setzt sich aus Objekten, Kanten und gegebenenfalls Beziehungen (Relationen) verschiedenen Typs zusammen. Sowohl der Graph als auch die Objekte, Kanten und Beziehungen können Attribute tragen.

Die folgende XML-Datei enthält einen einfachen Graphen, der sich aus drei miteinander verbundenen Objekten (Ereignis - Funktion - Ereignis) zusammensetzt:

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE graphlist SYSTEM "graph.dtd">

<graphlist>

< graph id="00093862" xml:lang="de">

<attribute type="AT_ID">XMLGraph-Auftrag-00093862</attribute>

<attribute type="AT_EPK_KEY">00093862</attribute>

<attribute type="AT_PROCTYPE">Terminauftrag</attribute>

<attribute type="AT_PROCTYPEGROUP">Auftragsabwicklung</attribute>

< node id="Start" type="OT_EVT">

<attribute type="AT_OBJNAME_INTERN">AUFTRAG_ANZU</attribute>

<attribute type="AT_OBJNAME">Kundenauftrag ist anzulegen</attribute>

</node>

< node id="Funktion" type="OT_FUNC">

<attribute type="AT_OBJNAME_INTERN">AUFTRAG</attribute>

<attribute type="AT_OBJNAME">Kundenauftrag anlegen</attribute>

<attribute type="AT_START_TIME">14.2.2000 13:12:57</attribute>

<attribute type="AT_END_TIME">14.02.2000 13:22:57</attribute>

</node>

<node id="Bearbeiter" type="OT_ORG">

<attribute type="AT_OBJNAME">Frau Schmitt</attribute>

</node>

<node id="Ende" type="OT_EVT">

<attribute type="AT_OBJNAME_INTERN">LIEFERUNG_ANZU</attribute>

<attribute type="AT_OBJNAME">Lieferung ist anzulegen</attribute>

<attribute type="AT_ID">XMLGraph-Auftrag-Evt2</attribute>

</node>

<edge type="CXN_FOLLOWS" source="Start" target="Funktion" />

<edge type="CXN_FOLLOWS" source="Funktion" target="Ende" />

<relationtype name="REL_CARRY_OUT">

<relation source="Bearbeiter" target="Funktion">

<attribute type="AT_KI_PK_R">7.5 EUR</attribute>

<attribute type="AT_KI_RNUM">1</attribute>

</relation>

</relationtype>

</graph>

</graphlist>

Beim Einlesen in PPM wird der Aufbau von XML-Dateien im Graphformat gegen folgende DTD verifiziert:

tr_xml_dtd