nichtich / RDF-Trine-Exporter-GraphViz

Serialize RDF graphs as dot graph diagrams
https://metacpan.org/module/RDF::Trine::Exporter::GraphViz
2 stars 1 forks source link

How can I specify graphviz rendering parameters to rdfdot #1

Closed rchateauneu closed 10 years ago

rchateauneu commented 10 years ago

Hi,

I would like when using rdfdot, to specify rendering parameters to graphviz as on the command line: http://www.graphviz.org/doc/info/command.html

For example the type of layout, the font etc...

Thanks

nichtich commented 10 years ago

Simply passing graphviz parameters to dot won't work because the internal Perl wrapper seems to not support passing graphviz options. The best method is to let rdfdot produce the dot file and transform in with graphviz.

rdfdot $rdffile | dot $dotoptions
rchateauneu commented 10 years ago

Many thanks Jakob, and thanks to have put the answer on stackoverflow too.

Best regards

Remi

Le 17.11.2013 20:01, Jakob Voss a écrit :

Simply passing graphviz parameters to |dot| won't work because the internal Perl wrapper https://metacpan.org/pod/GraphViz seems to not support passing graphviz options. The best method is to let rdfdot produce the |dot| file and transform in with graphviz.

rdfdot $rdffile dot $dotoptions

— Reply to this email directly or view it on GitHub https://github.com/nichtich/RDF-Trine-Exporter-GraphViz/issues/1#issuecomment-28662298.