dot

Filter for drawing directed graphs.

vizualize a string

Hello !

I'm new to graphiz, so I'm facing with this little problem. I try to visualize this kind of graph as below but the " are the problem. strings or the name as below having the sign " are divided and not showed as one string. for example the name Vinod" Menezes it shouldd be showed as one string and not divided. how to solve?

digraph G {
" Aatmesh"->"Vinod" Menezes";
" Aatmesh"->"Karthik Rajagopal";
" Abha"->"S. Chandra";
" Abha"->"Suresh Chandra";
}

cluster changes nodes order ??

Hi,

I am facing a strange behaviour; with the following specification, nodes are drawn, from left to right, 0 then 1:
graph "test0" {
0;
1;
}

But with a cluster, the nodes are drawn 1 then 0:
graph "test1" {
subgraph cluster0 {
graph [style=invis];
0;
1;
}
}

How could you explain that and ensure the order the nodes are drawn could be mastered ?

Thanks

different ports are located exactly at the same place

Hi, Within the following example, I am enable to distinguish port1 and port2. digraph "test"{ node [shape=rect margin=0.2]; A->B [sametail=port1] A->C [sametail=port1] B->A [samehead=port2] C->A [sametail=port2] } Any Idea ? Thanks.

Subgraph with different rankdir

Hello community,

is it possible to change the rankdirection in various subgraphs? I' ve already tried, but it doesn't work. For example: I have levels, rooms and object in the room. I want to display the levels top to bottom (TB). A level is a subgraph whith contains various rooms, they should be arranged left to right (LR). The objects in the rooms should be arranged TB. And here is an excerpt of my code:

digraph relation {
size="10,70"
rankdir=TB
nodesep=0.7
...
..
.
subgraph cluster_firstlevel{rankdir=LR label="Level 1" fontname=...

General approach for using graphviz in C#-Project?

Hello everbody,

I'll use GraphViz (dot) in my C#-Project. Actually, I'm already using dot as command-line application. Now, I'll include dot in my project, so I don't need to _install_ GraphViz on the target PC. In my opinion, possible purposes are to create a wrapper class or connect graphviz dll as a COM-object. It is possible? Do dot exists as dll-file?

Which is the best possibility to use dot in C# (excepting command-line call to installed dot application)?

Thank you for all kind of information.

Kind regards.

svg and cmap coordinates seem inconsistent

Hi,

I am facing an issue with generating a SVG output file and a related map file with the following dot file:

digraph "test" {
graph [rankdir=TB compound=true fontsize=10 fontname=Arial remincross=true start=self splines=true];
node [shape=rect height=0.7 margin=0.2 color=black fontsize=10 fontname=Arial];
edge [color=black fontsize=10 fontname=Arial];
layout=dot overlap=false;
0 [href=0 label=<Root Logical Function > height=0.2 style=filled fillcolor=lightgrey penwidth=3];
}

html markup in tooltips

Hi,

I tried to use html markup in tooltips generated by use of the tooltip attribute in the dot language. But in the map generated by dot its always encoded and will not be rendered by the browser. Any suggestions ?

Images in nodes, label below

Hallo, i want to diplay images in my nodes, just similar to the Kennedy family tree in the gallery.

how to compress a graph?

I some time get a bigger than neccesary layout when applying labels to edges how do I avoid that?
in the following example the space between ab1 and ab2 is unneccessary large

Example:

digraph{
rankdir=LR
a->ab1->ab2->b
a->b[label=between]
}

digraph{
rankdir=LR
c->cd1->cd2->d
c->d
}

Dot.exe not running under windows 2003 server

I'm using Graphviz 2.28.0 and everything seemed to be working (I use dot.exe to get a PNG picture from text discription) on my test machine running Windows 2003. But when I tried to run the same dot.exe on other machine runnig Win 2003 I got an error like "The system cannot execute the specified program."
Any ideas why could that be?

Recent comments

Syndicate content