faq-output

Faq3D

 

How can I get 3D output?

The Graphviz authors have qualms about the gratuitous use of 3D.

Nonetheless, dot -Tvrml generates VRML files. There's no Z coordinate layout - you specify Z coords yourself in the z attribute of nodes, and the Z coordinates of edges are interpolated. If someone contributes a driver for a newer, more useful format (OpenGL Performer scene graphs? Open Scene Graphs? Java3D programs?) we'd like to try it.

FaqApache

 

I've installed Debian Graphviz and it works just fine on the command line, but when I execute a Perl/CGI script through Apache, no output is generated.

For example, the code system("/usr/local/bin/dot -Tpng /tmp/tree.dot -o /tmp/tree.png"); produces no file /tmp/tree.png.

As best as we can tell, dot dies with no stdout or stderr messages on Debian systems when run from an Apache cgi program with no HOME set. The workaround is to provide a HOME directory in the Apache userid's environment.

FaqServerSideMaps

 

Why aren't my server-side maps being recognized? I've checked the HTML!

Make sure that your server has map files enabled. For example, if running apache, check that httpd.conf has a line like the following:

AddHandler imap-file map

and that it is not commented out!

GraphvizWiki: FaqServerSideMaps (last edited 2008-01-17 18:16:09 by H-135-207-131-158)

FaqClientSideMaps

 

How can I make client-side image maps?

Use the -Tcmapx command line option.

GraphvizWiki: FaqClientSideMaps (last edited 2008-01-17 18:15:34 by H-135-207-131-158)

FaqDottyWithNodeCoords

 

Same as above, but I have only node coords, not edges.

neato -n is some help, but neato doesn't handle spline-based parallel edges.

GraphvizWiki: FaqDottyWithNodeCoords (last edited 2008-01-17 18:13:55 by H-135-207-131-158)

FaqDottyWithCoords

I already have all the coordinates for the nodes and edges of my graph and just want to use dotty to render it. How?

Just run dotty on it. Dotty will use the given pos attributes.

GraphvizWiki: FaqDottyWithCoords (last edited 2008-01-17 18:13:27 by H-135-207-131-158)

FaqDotWithNodeCoords

 

Same as above, but I have only node coords, not edges.

neato -n is some help, but neato doesn't handle spline-based parallel edges.

GraphvizWiki: FaqDottyWithNodeCoords (last edited 2008-01-17 18:13:55 by H-135-207-131-158)

FaqDotWithCoords

 

I already have all the coordinates for the nodes and edges of my graph and just want to use dot, neato, or dotty to render it. How?

Put the graph with layout attributes into a dot file. Then run neato -s -n2. For example:

  • neato -s -n2 -Tgif file.dot -o file.gif

Note that if an edge does not have a pos attribute defined, neato will perform whatever edge routing it would normally do. All of the usual backend attributes (size, overlap, page, etc.) are available.

FaqNoEdgeHandles

 

How can I get rid of the little circles on edges ("edge handles") in dotty?

Edit the file dotty.lefty and change the line that says: 'edgehandles' = 1; to 'edgehandles' = 0; it's around line 110.

GraphvizWiki: FaqNoEdgeHandles (last edited 2008-01-17 18:11:51 by H-135-207-131-158)
 

FacDottyMissingFeature

 

How can I get some display feature (such as bold lines) in dotty?

Recent comments

Syndicate content