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

Intercluster Lables support

$
0
0

Hi,

We have tried about everything to make these kind of graphs look good (generation is automated).
Any idea what should we do ? Our best result is attacked, but lables are one on top of the other.
The edge should start and end where they do in the picture.

digraph G {
compound=true;
//edge [splines=ortho]
subgraph cluster_0 {
URL="/Wandering";
label="FSM[Wandering]";
"0start" [shape=point];
subgraph cluster_1 {
URL="/Wandering/Turn";
label="Turn";
2 [URL="/Wandering/Turn/Turn", label="TASK[Turn]"];
}

subgraph cluster_3 {
URL="/Wandering/Drive";
label="Drive";

read more


Simple Script kill dot process

$
0
0

This simple example kill the dot process. The problem is the <BR/> tag.

digraph G {
394728 [shape=plaintext label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="5">
<TR>
<TD>
<BR/>It is not possible to use BR
</TD>
</TR>
</TABLE>>]
}

Creating Gantt-charts

$
0
0

Can anyone tell me which lay-out meets the needs for Gantt-charts (wikipedia) the best? I've got exported MS Project xml files and with some XSLT I can transform these into dot-programs. If anyone has done something similar before, I'd like to hear.

Neato vs graphviz

$
0
0

I can't find the difference between Neato and Graphviz.
If I download and install Graphviz, does that include Neato?
I installed a product that needs Neato. I installed Graphviz. But the requesting software seems to be looking for a neato directory. I can't find a download for Neato. If i need a secret club ring, please let me know where to buy one. Oh, the pains of boutique tech products that spray confusion in the air.
Regards,
Dave

Layers for presentations

graphviz-php - segmentation fault

$
0
0

I am on RHE 6, I have installed the latest rpms with yum:
graphviz-2.34.0-1.el6.x86_64.rpm
graphviz-php-2.34.0-1.el6.x86_64.rpm

I can run the example on the command line (/usr/share/graphviz/demo/modgraph.php) successfully.

I am trying to produce a simple graph with a php page on Apache (2.2.15) using the following code:
<?php
include("gv.php");

$g = gv::digraph('my first graph');
$node1 = gv::node($g, 'node1');
$node2 = gv::node($g, 'node2');
$edge = gv::edge($node1, $node2);
$edge = gv::edge($node1, $node1);
$edge = gv::edge($node2, $node2);

read more

graphviz-php - segmentation fault

$
0
0

I am on RHE 6 and I have installed the following rpms with yum:
graphviz-2.34.0-1.el6.x86_64.rpm
graphviz-php-2.34.0-1.el6.x86_64.rpm

The example (/usr/share/graphviz/demo/modgraph.php) runs successfully on the command prompt.

I am trying to write a simple php page to display a graph (My webserver is Apache 2.2.15).

I use the following code:
<?php
include("gv.php");

$g = gv::digraph('my first graph');
$node1 = gv::node($g, 'node1');
$node2 = gv::node($g, 'node2');
$edge = gv::edge($node1, $node2);
$edge = gv::edge($node1, $node1);

read more

Need to control edge length in directed dot graph

$
0
0

Is there a way to use pydot to generate a directed tree graph (using python) that looks like "normal tree graphs" where every node of the same depth displays at the same depth, and every edge is at some angle (not straight down)?

When I use these defaults:

graph = pydot.Dot(graph_type='digraph', nodesep=.75)
graph.set_node_defaults(style="filled", fillcolor="grey")
graph.set_edge_defaults(color="blue", arrowhead="vee", weight="0")

read more


Can I build a partially directed graph?

$
0
0

I would like to create a SQL Diagram which has a node for each table in the query and an edge between nodes that are joined by a predicate. An edge is directed if it points into a unique key of the joined table. Most joins flow from a child node into a unique key of the parent (A One-to-Many join). Sometimes the join is from one unique key to another and create a One-to-One join. I can cover this case by simply creating two edges. The problematic case is when a join doesn't have a unique key on either end. In this case it's a Many-to-Many join.

read more

Webdot - Images - SVGZ

$
0
0

I believe I found a bug in webdot, I was about to submit it but in light of my last "issue" (my setup was at fault) I figured I would present it here first:

Using graph.dot file:
digraph G {
imagepath="/var/www/html/some_directory/webdot/";
node [URL="\N.html",image="server.gif"]
a -> b -> c
a -> c -> a
}

The graph and images draw perfectly with:

But if I try to get the equivalent SVGZ:

read more

agopen seg faults using graph.h - ver < 2.3

$
0
0

I am modifying some old code using graph.h instead of cgraph.h, agopen seg faults, please instruct how to fix, here is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
agclos (proto=0xbfffdb88) at graph.c:31
31        memclosure = memdisc->open(proto);
(gdb) bt
#0  agclos (proto=0xbfffdb88) at graph.c:31
#1  agopen (name=0x8064605 "root", desc=..., arg_disc=0xbfffdb88) at graph.c:50

 

`pkg-config --libs libgvc` -lgraph

Thank you.

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

how to setup

$
0
0

Apology for the beginner's question. I downloaded v.2.34 for windows and unzipped it. However, I can't find a setup.exe to install the program. Could someone help me with this? Thanks lot!

change class name in svg

$
0
0

Hi,
I m getting svg output from dot.

in default generate svg file for node has class="node" .

is there any way to change this class value, i want different value for different node in a graph.

Thanks,
Aamir

how to install graphviz

$
0
0

I download graphviz-2.34.zip from "Download->windows->graphviz-2.34.zip".
I am using protege->OWLviz, and i get an error "A DOT error occurred", to solve this i want to install Grahviz and set the dot.exe path to OWLviz.
But i dont know how to install Graphviz,please give step by step procedure.
Thanks.


command line or in-program use

$
0
0

Hi. I have made a small application that generates dot language graphs. These are saved to text files, like so:

digraph chain{
1->3 [style=bold,label="1"]
2->3 [style=bold,label="1"]
3->3 [style=bold,label="1"]
3->1 [style=bold,label="1"]
3->2 [style=bold,label="2"]
}

read more

textspan.h not found

$
0
0

when i compile in a qt project , he dont find the library textspan.h included in types.h ???

How to align objects in different clusters

TestingFlowchart

$
0
0

digraph G {
main -> parse -> execute;
main -> init;
main -> cleanup;
execute -> make_string;
execute -> printf
init -> make_string;
main -> printf;
execute -> compare;
}

 

Steps to implement GrapgViz using ajax

$
0
0
Hi , I am new to this tool I have a requirement that I need to display multilevel tree dynamically exactly like shown in this URL http://ashitani.jp/gv/ I need the following details 1.what are the steps to execute the dot language and displaying on screen. 2.currently i required this functionality in web application will you have any examples or demos Thanks, Venkat
Viewing all 516 articles
Browse latest View live