Quantcast
Channel: Graphviz - Graph Visualization Software - General Discussion
Viewing all 516 articles
Browse latest View live

Problem with xlp usage in external labels (xlabel)

$
0
0

I have tried to apply xlabels on my graphs and position them using xlp. But the xlp attribute seems to have no effect,

and the xlabels are all attached to the top-left corner of nodes. Is it a bug or am I misusing it?

Here is a sample code:

read more


How to use xlp attribute for positioning of external labels (xlabel)?

$
0
0

I have tried to apply xlabels on my graphs and position them using xlp. But the xlp attribute seems to have no effect,

and the xlabels are all attached to the top-left corner of nodes. Is it a bug or am I misusing it?

Here is a sample code:

digraph g {
forcelabels=true;
ranksep=0.25;
node [shape=point,height=0.1];
"1" [xlabel=<abc>,xlp="-1.0,1.0",fillcolor=yellow,height=0.2];
"2" [xlabel=<abc>,xlp="10.0,-10.0",fillcolor=dimgray,height=0.1];

read more

Cannot get bounding box of subgraph/cluster, moving from graph to cgraph

$
0
0

Hello, I am trying to convert my code to use cgraph instead of graph. I am trying to get the bounding box of subgraphs, I've trierd: 

GD_width(graph), GD_height(graph) -> both come out to zero.

agget(graph, "bb") -> I get the bb of the main graph, regardless of which sub graph I pass as graph, and I would like to get just the dimensions of the sub-graph.

. agget(graph, "width") -> gives null.

read more

The code can dot in Linux, but does not work in WIN7

"neato" tool v2.37 curved lines crosses boxes unlike "dot" tool

$
0
0

I have a problem. User moves box controls on canvas. "dot" tool produces curved lines to not cross boxes. Since user can move boxes, I need to use "neato" tool which provides exact positions of box controls in pixels (user can move these boxes).

But unfortunately "neato" tool is crossing boxes while drawing curved lines (inputs and outputs of boxes).

Is there a possibility to use some tool and command-line arguments to display boxes at user's wished positions, while curved connection lines will not cross these boxes and will be curved around them?

Any suggestion is welcome.

run:

read more

dot.exe crashes with this simple specification on windows

$
0
0

Hi,

I have a dot specification that makes dot.exe crash under windows with last 2.37 build. I have simplified that specification to the simplest in order to ease the analyze. So here it is:

digraph g {

subgraph "cluster_12" {
13
}

11 -> 13
11 -> 18

13 -> 11 [sametail=1 label=<11>];
13 -> 18 [sametail=1 label=<18>];
}

What is very strange is that this specification works by is only suppressing:
- the use of cluster
- Or an edge definition
- Or the use of sametails
- Or edges labels

read more

Graphviz on Mavericks (MAC OS X 10.9.1)

$
0
0

Has anyone been successful running graphviz on Mavericks or know when an updated version will be released?

Graph from spreadsheet help

$
0
0

I'm very new here (Hi!) and not very gifted in programming.

I have to take all the countries of the world (190circa) and create a diagram(which best?) that shows all the international organizations(320circa) each country is part of. To explain the complexity an average country like Argentina is part of 80 of those Int Organizations.

My idea was to get something like this https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Supranational_...

read more


Cluster Alignment

$
0
0

Hey.

I am new to graphviz and dot, and need your help in figuring out something that I am guessing may be very easy to accomplish.

read more

textspan.h allways not-found

GraphViz Tree on two pages in LaTeX

$
0
0

Hi,

I use the graphviz package in Latex, and the tree i am trying to create is large than the page, and when setting the scale to 0.3 the tree fits on the page but it is impossible to read the values of the nodes, i was thus wondering if there was a way to be able to create the tree and make it overflow on a second page.

Thank you.

Unable to Report an Issue

$
0
0

Why is it so hard to report an issue? It's not conducive to a good community.

I simply wish to report an issue.

So I had to sign up, I can log onto Mantis, but there is no report issue tab.

So, the simple issue that I wished to report:

For a DOT file that starts with (first two lines):

strict digraph c1-ccb {
node[group="1"];

gvedit reports:

working on C:/Documents and Settings/devops/My Documents/Downloads/c1-ccb.dot
Warning: : syntax error in line 1 near '-'

It's not really a warning, it's a fatal error, as no output is rendered.

read more

Problems with Ubuntu package

$
0
0

Using 64bit Ubuntu 13.10 I tried to install the latest package from: http://www.graphviz.org/Download_linux_ubuntu.php

The libgraphviz4 package will not install because it depends on a package that doesn't exist:
"Dependency is not satisfiable: libgd2-noxpm (>=2.0.36~rc1~dfsg)|libgd2-xpm (>=2.0.36~rc1~dfsg)"

The closest package I could find is libgd2-xpm-dev 2.1.0-2
Installing that doesn't fix the problem.

How do you install the latest graphviz in Ubuntu?

libgraphviz-dev?

$
0
0

I'm using OSX 10.6.8. I am trying to install NetworkX, which is supposed to be able to read dot files, manipulate the graph, and write out graphs to file (including in dot & other formats). NetworkX requires pygraphviz to handle dot files, which in turn requires Graphviz. I have Graphviz (2.34) installed, but pygraphviz still says:
2) Your Graphviz package might incomplete.
Install the binary development subpackage (e.g. libgraphviz-dev or similar.)

I don't know what "subpackage" they are talking about. Any suggestions?

Item mingle.exe in Windows MSI is built in Debug

$
0
0

I installed the Graphviz MSI on a server where no development environment is installed and in the log I get the following error:

Activation context generation failed for "C:\Program Files (x86)\Graphviz2.36\bin\mingle.exe". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.

The reason is that there aren't any debug libraries on that machine, so the build directives for the file mingle.exe needs to be updated.


Trouble with the library : neato works while dot does not

$
0
0

Hello,

I am currently having some trouble with the library.

Here is my code :

GVC_t* gvc = gvContext();
Agraph_t* G = agmemread(serializedData);
delete[] serializedData;

agset(G, (char*) "label", (char*)"");
gvLayout (gvc, G, "neato");

gvRenderData(gvc, G, "svg", &serializedData, &_size);
gvFreeLayout(gvc, G);

agclose (G);

gvFreeContext(gvc);

This code produces nice looking graphs for my input data, only if I use the neato algorithm. If I use dot, I get a mess. However if I use dot from the command line on the same graph, it works.

read more

Cluster rank

$
0
0

Hello

I have 2 cluster in my graph
*****
digraph G{

subgraph cluster_MAIN {
label="UBIX";
START [label="START"];
}
subgraph cluster_006{
label="6 H";
005 [label="005"];
}
}
****

Any idea how i can be sure that the second one is below the first one ?
so far there a side by side.

thanks,
Nicolas

How to use gvmap in program?

$
0
0

How to use gvmap in program?

What I want to do is like the following:

 

gvLayout(GVC, g, "dot");

gvMap(GVC, g); // Just a pseudocode

gvRenderData(GVC, g, "svg", &result, &length);

 

I can not find a function about gvmap. How do I do? Thanks for your help!

Issue with the "nop" layout

$
0
0

Hi,

I have a small issue using the "nop" layout: splines seems to not be
computed the same way than with the "dot" layout.

For my project, I want to display a graph, and let the user move boxes.
I first build a graph using the "dot" layout in order to place all the
nodes. Then, I read their positions using ND_coord macros, and draw the
graph. When the user move a node, I recreate a graph, but this time, I set
the "pos" attributes of nodes, and use the "nop" layout. It seems to almost
work, but there is differences in the position given to the splines.

read more

graphviz crash

$
0
0

Hi there,

We are facing what seems to be a nasty bug that makes GV crash.
All our versions of GV crash on all platforms:
on windows 7 2.37.20140220.0545
on mac OS X 10.9 2.34.0
and on achlinux 2.36.0-2.

The file is the following.

digraph G {
rankdir=LR;
ranksep=2;
compound=true;
subgraph cluster0 {
label= "\<\\> bridge2(0)";
color=black;
subgraph cluster1 {
label= "\<\\> refactored(1)";
color=black;
44 [ label = < StackFactory(44)

read more

Viewing all 516 articles
Browse latest View live