Il formato dei file sorgente

I diagrammi sono salvati in formato XML.

Se devi modificare un diagramma, e non vuoi rifare tutto da capo…, utilizza il Blocco note!

Nulla

Studia il codice XML per il diagramma di flusso che contiene soltanto le 2 etichette di default.

Alcuni attributi hanno già un valore

  • authors, …
  • saved, data e orario
  • created, …
  • edited, …
<?xml version="1.0"?>
<flowgorithm fileversion="4.2">
    <attributes>
        <attribute name="name" value=""/>
        <attribute name="authors" value="..."/>
        <attribute name="about" value=""/>
        <attribute name="saved" value="..."/>
        <attribute name="created" value="..."/>
        <attribute name="edited" value="..."/>
    </attributes>
    <function name="Main" type="None" variable="">
        <parameters/>
        <body/>
    </function>
</flowgorithm>

Ciao mondo!

Se si aggiunge il blocco Output allora il tag body viene popolato con i parametri expression e newline

<body>
    <output expression="&quot;Ciao mondo!&quot;" newline="True"/>
</body>