dot

Filter for drawing directed graphs.

hybrid layout with clusters

I am clusters but would like to use neato layout withing the cluster and dot layout between the clusters.
Is it possible to do this, and if it is not possible directly might there be a workaround.

chris

Scale graphs larger

Hello,

I'm trying to visualize a graph in my application rendered by graphviz. I use command lines for render the layout. The rendered graph is unscaled (I've read on this page). I tryed to rescale it with input-file-command

digraph finite_state_machine {
rankdir=LR;
size="500,500";

but it doesn't.

If I compute a self-made-factor, the edges don't touch nodes at compounds.

I've tryed to usw -G - command in my command line: -Gsize="500,500"
but it doesn't, too.

Sorry for my bad english.

Graphviz graphs in a Django web application

Hi,

I am fairly new to Graphviz and was wondering if someone could help me out/ point me somewhere.

I've been trying to integrate Graphviz into my Django web application using python. I was able to do so by creating static images using pydot and then outputting them onto the application. However, I would like to make my graphs more interactive (click-able nodes, highlighting of nearby nodes, being able to drag and drop a node etc).

An example of what I want from Graphviz is done in JUNG here: http://jung.sourceforge.net/applet/pluggablerendererdemo.html

DOT file reader for java?

Hi,

I'm looking for a way to read a DOT file into java and use the resulting graph structure programmatically. I can't seem to find something which can achieve that. Am i missing something?

The purpose of all this is to have a graph as "configuration" and not as actual code.

Thanks a lot
RL

Does dot's solver ignore layers?

I would like to use layers to allow some nodes/clusters to be on top of others. However, the solver/optimizer still seems to be trying to keep them from overlapping.

arrowtail

The arrowtail attribute seems to be broken in this simple example:

digraph G {
A -> B [arrowhead=open arrowtail=odiamond]
}

Actually, it is considered a feature that the odiamond is not drawn, since the default directionality for a digraph is "forward". To get the decorations on both ends of the arrow to be drawn, specify "dir=both":

digraph G {
A -> B [arrowhead=open arrowtail=odiamond dir=both]
}

This behavior is documented in bug 1856.

Having troube drawing a graph

Hi, Ive just downloaded graphviz and found it quite helpful The thing is that I need to draw a syntatic graph from a syntatic analyzer (I believe the name in english is parser) for my college work. I read part of the documentation, but since I do not have much time to finish it, I would like to know if it's possible to draw a graph like the one in the topic, with straightened arrows and perpendicular to the way the graphis heading, and also like that one going all around the boxes. If it is possible, can you tell me how or suggest a link where I can find how to do that quick?

C libraries colliding

Hello again,

I'm currently having trouble using the libraries 'gvc', 'cgraph' and 'graph' in the same program.
I believe it would take a lot of time to explain what I did to make it compile (had to #define WITH_CGRAPH constant before including gvc for example..), so I'll try and cut to the chase.

My program needs to do the following:

1- open an existing .dot file that has no layout information
2- compute layout information
3- browse the freshly computed graph tree with libcgraph functions (particularly 'agnxtsubg') in order to extract layout information for my own representation.

Custom shapes and fixed connection locations

I am trying to use Graphviz to create images of simple logic circuits using the standard inverters, two-input AND/OR gates.

I have written it as a simple directed graph with rankdir=LR (because that's what I want) and I'm using the image attribute.

I created PNGs for the 3 types of gates such that the port connections are symmetrical. For instance,
Inverter = input connection is exactly half distance between the top and bottom
Two-input gates = inputs are at the 0.25 and 0.75 points.
And for all three gates the single output is exactly half distance between top and bottom.

Limiting number of nodes in a row

Is there any way to limit the number of nodes in a row in dot? For example, I have 100 nodes and I want to limit it to 5 nodes per row so the result will contain 20 rows.

Recent comments

Syndicate content