0

I use the Perl program rdfdot to transform a RDF file into a svg file. This program works fine but there is no way apparently to specify graphviz parameters such as the graph type ( Which normally are entered on the command line ).

For example, we could specify the graph layout: dot, neato, circo, twopi, fdp, sfdp.

So my question is: How can I specify graphviz rendering parameters to the utility rdfdot ? Thanks.

remi.chateauneu
  • 109
  • 2
  • 9

1 Answers1

0

Just pipe the output of rdfdot to dot like this:

rdfdot $RDF_FILE | dot $GRAPHVIZ_FLAGS

I probably won't add the required feature to rdfdot because piping is more robust anyway.

Jakob
  • 3,570
  • 3
  • 36
  • 49