Mercurial > repos > bernhardlutz > graphconverter
diff convert_graph.xml @ 2:89b606a49225 draft
Uploaded
| author | bernhardlutz |
|---|---|
| date | Fri, 28 Feb 2014 09:46:59 -0500 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/convert_graph.xml Fri Feb 28 09:46:59 2014 -0500 @@ -0,0 +1,44 @@ +<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>
