dot
Applet using Grappa with JDK 1.4
Submitted by Klausency on Tue, 05/15/2012 - 04:19Hi everyone!
I need to create an applet for drawing graphs. I'm limited to JDK 1.4.2. I managed to create a normal text description of the graph and it looks fine when I copypaste this description in GVedit. But when i try to open it using sample code (which goes with grappa download) Demo11.java I get a picture like this (see attachment). Does anyone know how to solve this problem?
force arrangement to side ratio
Submitted by crush on Fri, 05/11/2012 - 04:46Hallo community,
how do I achieve, that seperatet trees are plottet space saving. I have about 8 "main" nodes at the first level (with various subnodes), which have no connections among each other. The resulting graph has the dimension 23367x3792 pixel. Is it possible the arrange the trees, that they fit better in a normal DIN side ratio? The size is secondary, I´m able to plot up to a size DIN-A0. But i would look much better, if the whole area is filled (paper consumption!).
best regards
crush
charset problem with graphviz windows version
Submitted by jburger on Wed, 05/02/2012 - 01:20I have created a graphviz file from which I create a PDF, with the following command:
dot <inputfile> -T pdf -o <outputfile>
If I create my PDF everything looks fine but if I send this PDF to a Postscript
printer the characters inside the Graph are replaced, for example window by iiiiiii.
Also if I open the PDF under linux the character set is wrong.
I saved my graphviz file as an UFT8 file and set the fontname:
fontname=arial
If I use the same file under linux this problem do not occur.
How to create more compact output (nodes of same level displayed not on same level)
Submitted by yuui on Sun, 04/29/2012 - 14:31Hi,
I have a tree structure with one parent and a lot of direct children and some of these children have children again etc.
The problem is, is that the output graph is very wide. I would like to make if more compact. I do not want to change the read direction from "top to bottom" to "left to right".
In the picture is the current situation from Dot (all nodes which have the same level are displayed on the same level) and the desired output (nodes which have the same level do not need to be displayed on the same level).
How to create more compact output (nodes of same level displayed not on same level)
Submitted by yuui on Sat, 04/28/2012 - 16:26Thanks for your help.
About 1)
My command is:
dot "Test.txt" -Tgif -Taspect=1 -o"output.gif"
This generates the following error:
Renderer type: "aspect=1" not recognized. Use one of: canon cmap cmapx...
About 2)
Pinning only y-axis of a node?
Submitted by Marcel on Fri, 04/27/2012 - 10:25Hi,
I need to have same nodes on same level on the picture, is there any way to pin only y-axis (or x-axis) of a node? A "pos" attribute can only pin node to exact position, but that is not exactly what I want.
thank you!
Marcel
no curved arrows
Submitted by crush on Fri, 04/27/2012 - 02:40Hallo comunity,
is it possible to set the arrow style, that it is not curved. I´d rather want, that they are straight with sharp edges.
Best regards
crush
How to draw a box around a set of nodes? I am coding in Python.
Submitted by farahini on Wed, 04/25/2012 - 04:06Hi 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
Submitted by ludden on Wed, 04/25/2012 - 03:25Hello,
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
Submitted by pventura on Mon, 04/23/2012 - 13:43I 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"];

Recent comments
3 days 9 hours ago
3 days 10 hours ago
4 days 13 hours ago
4 days 15 hours ago
5 days 13 hours ago
5 days 13 hours ago
1 week 1 day ago
1 week 1 day ago
1 week 1 day ago
1 week 2 days ago