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

Unable to build Graphviz on RHEL6

$
0
0

I am noob on Linux.
I have requirement to build graphviz from source on RHEL6 64-bit system.
But facing issue, this is what I have done so far:

1. downloaded source from http://github.com/ellson/graphviz/
2. installed automake, autoconf, gcc-c++ using YUM

I navigated to dir.

/usr/graphviz/sourcecode/graphviz-master
autoconf configure.ac

-> it almost ran for a minute dumping lot of text, but ultimately seem to be have completed with success.
then I ran

./configure

-> this gives error "Cannot find install-sh, install.sh, or shtool in ac-aux"

read more


sfdp: Graphviz not built with triangulation library

$
0
0

Hi,
I have the following error message while trying to create a graph with the layout "sfdp". The error message is repeated 13 times.

dot mygraph.dot -Tsvg -o mygraph.svg
Error: remove_overlap: Graphviz not built with triangulation library

Changing the graph [layout="sfdp"] line in the dot file by any of dot, neat, fdp, circo or twopi works properly.
Any idea?

I'm running graphviz 2.34 on Mac OS 10.8.5 downloaded as a package, didn't compile myself.

Thanks in advance,
Pierre

Help with making subgraph smaller

$
0
0

I am working on a graph where I have a key/legend. The problem I am having is that the key subgraph is always too wide, and I would like it to be a small key/legend looking portion of the graph.
digraph G {
fontname="Helvetica";
labelloc=t;
rankdir=LR;
label="Course Graph";

node[style=filled, fontname="Helvetica", colorscheme=greens3, color=1];

subgraph cluster_key {
rank=min;
label="Key";
rankdir=LR;
nodesep=0.02;

k1[shape=plaintext, style=solid, label="Required Course"]

read more

Mindmap layout

Issue with gvLayout() - Working as library

$
0
0

I'm sending the arguments below to the function gvLayout(gvc, g, layout).

IntPtr gvc = gvContext();

 

// My string containing the graph

IntPtr g = agmemread(source);

string layout = "nop";

 

I have imported the dlls from graphviz's folder.

I get the answer: "Error: Layout type: "nop" not recognized. Use one of:".

 

The int return value of gvLayout(gvc, g, layout) I get is -1 (should be 0).

 

read more

Does graphviz support only part of nodes pinned in a graph?

$
0
0

Hi, I want to fix node positions for only some of nodes in a graph. I tried neato and fdp following the doc, but got nothing. Is this possible using graphviz?

digraph {

    a[pos="2,2!"];

    a1[pos="2,4!"];

    a2[pos="4,4!"];

    a->{a1,a2};

    a->a0;

}

xdot versions etc

$
0
0

Erg?

Am I misreading/misinterpreting something here.

I just downloaded 2.34.0 and was hoping to not have to
add to my antlr4 xdot grammar parser.

So I added the xdotversion attribute


digraph temp {
graph [xdotversion=1.2, rankdir=TB, nslimit=15];

...
}

to my input graphs, and processed them with the

-Txdot

flag and get output that looks like:


digraph temp {
graph [_draw_="c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 454 888 454 888 0 ",
bb="0,0,888,454",
nslimit=15,
rankdir=TB,
xdotversion=1.2
];
node [label="\N"];

read more

using gvmap as a library

$
0
0

I've been pleasantly surprised by the quality of xdot rendering, using Graphviz as a library.
Actually, a simple translation from xdot output to Qt graphics primitives now yields a performant and accurate display of complex graphs.
I think I will try to bypass xdot/libxdot to get further memory/time gain, using gvrender_engine_t...

Now my question: it's possible to get gvmap working at the same level of, say, xdot, thus avoiding FILE IO ?
I understand from license terms I could compile the relevant parts, or I'm wrong here ?

Thanks
Carlo


Mindist in Circo not working (library)

$
0
0

Hello, I build graphviz as a library using the source from 25.11.2013. I have only the basic dependencies plus gts, since I only need the layout algorithms and compiling Graphviz under Mingw seems not that easy... While many things work fine, the circo layout doesn't seem to respect the mindist attribute. Is there some additional library or something needed (like gts is needed for neato to separate edges)? Thank you.

 

I found a fix, I post an issue for it.

gvFreeLayout leakage

$
0
0

I think gvFreeLayout doesn't delete bb attribute on root graph, or maybe xdot rendering keeps duplicating them.

Dumping xdot _draw_ attribute from root Agraph_t* I get

(first call)

0xdc7200 _draw_ c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 140 142 140 142 0
...

(second call)
0xdc7200 _draw_ c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 140 142 140 142 0 c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 140 142 140 142 0
...

(third call)

read more

gvFreeLayout and bb attribute

$
0
0

gvFreeLayout apparently doesn't clear completely the root Agraph_t*, since I get multiple 'boxes' (actually invisible, given resulting colors).
I do call gvFreeLayout between successive gvLayout,gvRender. I think could be a problem in libxdot. Here is the result of operation sequence

first call:
0xa0b540 _draw_ c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 198 234 198 234 0
...

second call:
0xa0b540 _draw_ c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 108 198 108 198 0 c 7 -#ffffff C 7 -#ffffff P 4 0 0 0 198 234 198 234 0
...

third call:

read more

Draw And-Or tree - need to draw arcs between/across edges

$
0
0

Hi all,

Not sure if this problem was asked before...

I have problems in drawing and-or trees using Graphviz. I need to draw arc between/across edges, e.g.
http://en.wikipedia.org/wiki/File:Andortree.png
I need to draw the arc like the one between (P,Q) and (P,R)

How can I draw such arc? Is it possible to use the custom cluster?

Graphviz as a library in C

$
0
0

Hi,
I had installed the graphviz by graphviz-2.3.4.msi in Window7. It ran very well in gvedit.Now I want to use it in C program,but there is an error in the runtime.The error messege is "Graph.dll is missing...",and I can't find the "graph.dll" in graphviz-2.3.4,how can I deal with it?

Thanks in advance!
shutear.

Having trouble in Windows

getting nodes in left-to-right order

$
0
0

Hi,

I would like to get the bottom nodes (labeled 0, 1, and 2) of the attached graph in the left-to-right order 0, 1, 2. I tried to achieve this with ordering=out, but it only works when I remove other nodes. Does anyone know how to do this right?


png not recongnize

$
0
0

I get the error in redhat 5.7.

I installed graphviz from sourc,

./configure --with-libpng=/usr/include/libpng16/

but I cannot find the png flag

options:
cgraph:
digcola: Yes
expat: No (missing library)
fontconfig: No (missing fontconfig-config)
freetype: No (missing freetype-config)
glut: No (missing GL/glut.h)
ann: No (ANN library not available)
gts: No (gts library not available)
ipsepcola: No (disabled by default - C++ portability issues)
ltdl: Yes
ortho: Yes

read more

Node layout using html

$
0
0

Hi all, I'm using graphviz to draw a graph a squash players that play together. The current graph contains players photo or name whether the picture is available or not (http://www.squash-verrieres.fr/index.php?p=graphviz&a=forum). I would like to enhance that display using HTML in nodes to display and layout addition information (picture, name, rank, etc) and add links to let players not directly connected to contact each others.

read more

How to create Graph without writing files

$
0
0

Hi,
I have a web application where I'm creating graph dynamically using dot language.
For every graph related request I have to recreate the graph with new data and send it back to webpage to view user.
currently I'm doing in this way.
1. create .dot file at runtime.
2. compile .dot file using commandline utility
3. get the .svg file and include it in web page.

Problem is that I have to these create file for every user and every request and its more tedious process.

Is there any way in Graphviz that I can get graph at runtime without creating physical files on hard disk.

read more

Qt rendering, via xdot

$
0
0

Hi all

I published on github a new library (https://github.com/CapelliC/loqt),
rendering xdot to Qt. There is also an example GUI.

It's of course a WIP towards some fresh view on (SWI)Prolog.
You will need a (very!) recent version of libxdot...

The easier way: open lqXDot_test.pro with QtCreator (I used Qt 4.8)

Enjoy !

bye Carlo

error: Problems running dot: exit code=-1, command='dot'

$
0
0

Hi folks,

I've just updated graphviz to the latest version and not dot has stopped working. Doxygen (in my case) reports the following:

error: Problems running dot: exit code=-1, command='dot'

With the previous version I was running (2.28) all was well. Any chance of being able to download that?

Does anyone know if there is an easy fix for this, or if there's a setting somewhere which can get me up and running again? Hopefully this is just a matter of installing the the packages in the right order or something trivial like that.

Any help is welcome.

Best wishes,

Rich

Viewing all 516 articles
Browse latest View live