dot

Filter for drawing directed graphs.

How to draw a box around a set of nodes? I am coding in Python.

Hi all,

I have used pydot, networkx, and gv in Python to plot the graphs using graphviz. I have two questions:

1- In my graph, there are nodes with the same name and I want to show them as seperate nodes in the graph, how can I do that?
2- I want to draw a rectangular around a set of my nodes. How can I do that?

Thanks in advance,
Nasim

Rendering graph into memory

Hello,
so how can I render the graph into the memory ?

Basically:
After layouting the graph with gvLayout I ususally do gvRender and my output is plain text.

I've build a GUI to render my graph with the coordinates of plain.
Now , I was thinking wether there is a possiblity to "render" so graph into memory directly , as array or vector.

Regards

Ludden

Add extra space (margin?) between graph label and the rest of the graph

I have the graph below. The problem I am having is that I do not like how close the graph label appears to the nodes in the graph. However, I cannot figure out how to add a margin or extra whitespace to the graph's label.

digraph G {
labelloc=t;
label="BAS Information Technology Course Sequence";

rankdir=LR;
subgraph cluster0 {
node [style=filled,color=white];
style=filled;
color=lightgrey;
prog2[label="2nd semester\nof programming"];
prog1[label="1st semester\nof programming"];

Is there a limit for sametail definitions number in DOT ?

Hi,
could someone find out why the following example produces an error with dot, whereas it works fine when removing the last line (or replace T6 with T5, for example)?
digraph "test" {
Node0 -> Node1 [sametail=T1];
Node0 -> Node1 [sametail=T2];
Node0 -> Node1 [sametail=T3];
Node0 -> Node1 [sametail=T4];
Node0 -> Node1 [sametail=T5];
Node0 -> Node1 [sametail=T6];
}
Thank you !

Limit for sametail/samehead definitions number in DOT ?

Hi,

I tried to draw hierarchical graphs with dot, involving a limited number of nodes (about 30), but with more than 100 edges and, especially, many edges having to start from same points. So I used "sametail" attribute, but got an error at generation.
Looking for the reason of the failure, I noticed that I got the error if more than 14 "sametail" and/or "samehead" attributes are defined in the dot file I am defining (it works fine with 13 "sametail" definitions, but not over).

Hierachical Graph Max Number of Nodes/Edges

Hello,
I have a graph with ~ 7000 Edges and ~ 6500 Nodes I tried to create it with dot as an .svg.
But dot is running for ever ( >1h). Is it possible that the Graph is too complex/large ?
What is the maximum size of edges/nodes possible with graphviz?
I know, it's also a question of complexity, but maybe there is some kind of thumbrule.
 
Thanks!

subgraph's label style

If I create subgraph as follow,

subgraph cluster1 {
color = white;
labelloc="c"
label = "process #2";
b0 [shape=ellipse];
}

can I change style of label "process #2" to be bold?

align problem in record

how can I align all lines with the left side of the record node?

this is a simple example of my problem
http://dl.dropbox.com/u/2196861/align.PNG

and this is a my simple code
n2 [label = "this is line1\ncan I align with the left side\nline3"];

I want to align all lines with the left side,and
I try to use 'nojustify = "true"' or 'labeljust = "l"',
but I can't solve it.

how can I do?

by the way,when I output a picture to .svg format ,the text will exceed the bound of node.
and when I change to .png format ,this problem is not exist.
why??

like this:

Graphviz as a library using dot layout: setting nodesep and/or mindist does not seem to have any effect

Hi!

I am attempting to use Graphviz as a library with dot layout. My
development platform is Visual Studio 2008. The layouts
produced by default are too dense for my application, so I have
been trying to increase node distances by setting graph attributes:

agraphattr(myGraph, "nodesep", "2.0")
agraphattr(myGraph, "mindist", "2.0")

The problem that I have consists of these two settings not having any
discernible effect on the graphs produced. I have tried to vary things,
for example, setting the attributes before or after all the nodes and

Cluster Layout

Hi,

I'm working on an application that maintains landscapes of applications and integration components like services, adapters, interfaces etc. So far, prototype results are very satisfactory, with the exeption of the following issue (see fig and txt (dot-program) example attachments):

How can I force the layout in such a way that the three clusters always will be lined from top to bottom ?

Recent comments

Syndicate content