Formato gráfico

Um arquivo XML em formato gráfico do PPM contém uma lista de gráficos (EPCs). Cada gráfico representa uma instância de processo ou um fragmento de instância de processo. Um gráfico é composto de diferentes tipos de objetos, conexões e outras relações entre objetos. O gráfico e os objetos, conexões e relações podem ter atributos.

O arquivo XML abaixo contém um gráfico simples, que é composto de três objetos vinculados (evento - função - evento):

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

<!DOCTYPE graphlist SYSTEM "graph.dtd">

<graphlist>

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

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

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

<attribute type="AT_PROCTYPE">Standard order</attribute>

<attribute type="AT_PROCTYPEGROUP">Order processing</attribute>

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

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

<attribute type="AT_OBJNAME">Customer order to be created</attribute>

</node>

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

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

<attribute type="AT_OBJNAME">Create customer order</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="Processor" type="OT_ORG">

<attribute type="AT_OBJNAME">Ms. Smith</attribute>

</node>

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

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

<attribute type="AT_OBJNAME">Delivery to be created</attribute>

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

</node>

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

<edge type="CXN_FOLLOWS" source="Function" target="End" />

<relationtype name="REL_CARRY_OUT">

<relation source="Processor" target="Function">

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

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

</relation>

</relationtype>

</graph>

</graphlist>

Quando importada para o PPM, a estrutura dos arquivos XML no formato gráfico é verificada na DTD a seguir:

tr_xml_dtd