PSGANTT is a perl script for drawing gantt charts. Script convert xml description of scheduling instance problem includes gantt chart to the MetaPost data file. This MetaPost file can be used for many types of graphics output files, e.g. PDF, EPS... PSGANTT is developed to close cooperative with TORSCHE Scheduling Toolbox for Matlab.
<?xml version="1.0" encoding="utf-8"?>
<SchedulingToolboxData date="23-Nov-2005 12:42:09" ver="0.1">
<TaskSet name="taskset_sch">
<Task id="1"><!--Basic Params-->
<Name>T_1</Name>
<ProcTime>1</ProcTime>
<ReleaseTime>0</ReleaseTime>
<Deadline>Inf</Deadline>
<DueDate>Inf</DueDate>
<Weight>1</Weight>
<Processor>1</Processor><!--Schedule-->
<Schedule SchPeriod="97">
<SchItem order="1" schLength="1" schProcessor="1" schStart="0"/>
</Schedule><!--Graphics parameters-->
<GraphicParam>
<Color type="rgb">
<r>1</r>
<g>1</g>
<b>0</b>
</Color>
<Position>
<x>85.7303</x>
<y>238</y>
</Position>
</GraphicParam><!--Gant Data-->
<GantData>
<Label order="1">T_1_1</Label>
<Row order="1">1</Row>
</GantData>
</Task>
...