Graphviz layout program

137 views
Skip to first unread message

Kolmogorov

unread,
Mar 1, 2012, 8:41:50 AM3/1/12
to canviz
Sorry, I am a beginner with canviz, and I do not know how to do this:

"You need to send your dot/gv files through a Graphviz layout program,
such as dot, neato, circo, twopi, fdp, sddp, etc."

How to do this from a html page?

Thanks a lot

Xavier Roger-Machart

unread,
Mar 1, 2012, 12:22:24 PM3/1/12
to can...@googlegroups.com
Hello,

Canviz itself does not do any layout work. You need to install Graphviz on your server and invoke one of the Graphviz binaries using a server language like PHP or Python. Canviz can only process the output of this process to display it on screen.

You should look at the Graphviz documentation rather than Canviz for your task. You can find examples of Python code (using the PyDot library) here : http://pythonhaven.wordpress.com/2009/12/09/generating_graphs_with_pydot/

Good luck

2012/3/1 Kolmogorov <lust.t...@gmail.com>

Kolmogorov

unread,
Mar 1, 2012, 3:21:46 PM3/1/12
to canviz
Ok, thank you.

On 1 mar, 18:22, Xavier Roger-Machart <xrogermach...@gmail.com> wrote:
> Hello,
>
> Canviz itself does not do any layout work. You need to install Graphviz on
> your server and invoke one of the Graphviz binaries using a server language
> like PHP or Python. Canviz can only process the output of this process to
> display it on screen.
>
> You should look at the Graphviz documentation rather than Canviz for your
> task. You can find examples of Python code (using the PyDot library) here :http://pythonhaven.wordpress.com/2009/12/09/generating_graphs_with_py...
>
> Good luck
>
> 2012/3/1 Kolmogorov <lust.thib...@gmail.com>
Reply all
Reply to author
Forward
0 new messages