Mercurial > repos > bernhardlutz > graphconverter
view convert_graph.xml @ 3:b7cdfd11614a draft default tip
Uploaded
| author | bernhardlutz |
|---|---|
| date | Tue, 04 Mar 2014 16:50:32 -0500 |
| parents | 89b606a49225 |
| children |
line wrap: on
line source
<tool id="graph_converter" name="Graph Converter" version="0.1.0"> <description>Convert between different Graphformats</description> <version_command>echo "0.1.0"</version_command> <requirements> <requirement type="set_environment">GRAPHCONVERTER_SCRIPT_PATH</requirement> </requirements> <command> python \$GRAPHCONVERTER_SCRIPT_PATH/convert_graph.py --infile $inputfile --informat $informat --outfile $outfile --outformat $outformat </command> <inputs> <param format="txt" name="inputfile" type="data" label="Graph to convert" /> <param name="informat" multiple="false" type="select" label="Input Format"> <option value="gml">GML</option> <option value="gexf">GEXF</option> <option value="gspan">GSPAN</option> <option value="graphml">GRAPHML</option> <option value="json">JSON</option> <option value="pajek">PAJEK</option> <option value="xgmml">XGMML</option> <option value="yaml">YAML</option> </param> <param name="outformat" multiple="false" type="select" label="Output Format"> <option value="gml">GML</option> <option value="gexf">GEXF</option> <option value="gspan">GSPAN</option> <option value="graphml">GRAPHML</option> <option value="json">JSON</option> <option value="pajek">PAJEK</option> <option value="xgmml">XGMML</option> <option value="yaml">YAML</option> </param> </inputs> <outputs> <data format="txt " name="outfile" /> </outputs> <tests> </tests> <help> **What it does** This tool converts a file representing a graph into another format. </help> </tool>
