Questions tagged [image-graphviz]
22 questions
18
votes
2 answers
How to avoid overlapping nodes in graphviz?
I am trying to draw a graph with many nodes and edges.
However, the graph is becoming too clumsy, with nodes and edges overlapping. I tried (unsuccessfully), the following, all or combinations of these.
size = "12.0, 20.0!";
margin = 0.0;
len =…

Masroor
- 886
- 1
- 8
- 23
14
votes
2 answers
How to visualize/draw automata in ocaml?
I am doing composition of automata. So at the end of that, I want to draw the composed automata also. So are there any libraries for that in ocaml? or are there ocaml wrappers written for any graph visualization tool? I have googled for it but…

priyanka
- 923
- 1
- 9
- 20
6
votes
1 answer
Graphviz Double quotes and Parentheses in nodes
I want to show Double quotes and Parentheses in nodes.
Without using A[label="Rahul(A)"]. I want to show during Rahul(A) -> B

vikas27
- 563
- 5
- 14
- 36
4
votes
2 answers
setting default node attributes using Image_Graphviz package
I can produce the below graph with either dot language using GraphViz directly or with the PEAR package Image_GraphViz using PHP.
//DOT language
digraph test{
URL="http://example.com/fish/";
bgcolor="#BBCAF2";
//defaults for all nodes
…

dnagirl
- 20,196
- 13
- 80
- 123
3
votes
1 answer
Problems with designing UML - like diagrams in graphviz
I'm currently having issues with designing UML-like diagrams on graphiz. The reason for the problem is that they are not exactly UML diagrams. The main difference is that I make use of indentations to add an hierarchy to an object's properties.…

Seyig
- 31
- 2
3
votes
1 answer
Convert Digraph to StringIO with graphviz
Does anyone know a trick how to convert a Digraph into a io.StringIO png? The only code I could find is to save it to disk, but I would like to leave out any disk usage and to process it in memory instead:
from graphviz import Digraph
import io
dot…

Daniel Stephens
- 2,371
- 8
- 34
- 86
3
votes
2 answers
How can I get bidirectional connections concentrated between clusters?
Take the following digraph:
digraph "all"{
subgraph "cluster cluster 1" {
node [label="1"] "1"
node [label="2"] "2"
}
subgraph "cluster cluster 2" {
node [label="3"] "3"
node [label="4"] "4"
}
1 -> 2
2 -> 1
3 ->…

Trevor Hickey
- 36,288
- 32
- 162
- 271
1
vote
1 answer
create graphviz graph using md arrays from php
Hy, I'm looking for a way to create a GraphViz graph from php arrays. I have an associative multidimensional array from which I need to extract the keys and their corresponding values, and use them to create a graph. Example by 1D array:
$arr =…

omot
- 39
- 1
- 1
- 9
1
vote
1 answer
How can I export my graphviz tree graph into a jpg that saves in a folder chosen
I got this code using graphviz, it eventually generates my graph but I would like to have the graph generated saved in my root folder. exist a way to do it?
from sklearn.tree import export_graphviz
tree_data = export_graphviz(dtc, out_file=None,…

Esteban Arellano
- 31
- 4
1
vote
1 answer
How to open a graphviz(dot) file on vscode windows 10
I can't open a dot file on vscode in windows 10 even after I have installed in graphviz by Stephanvs extension.

user13481880
- 13
- 3
1
vote
0 answers
How to install pear image graph in ubuntu 16 with offline installation
I have tried install pear image graph online.
sudo pear install image_graph
but now I can reach the site, it show this message:
No releases available for package "pear.php.net/image_graph"
install failed
Now, I download the file, but I don't know…

Steffano Fahturadji
- 11
- 1
1
vote
1 answer
Generate multiple graph in png format with graphviz and C++ without system command
I am trying to generate graphs in picture format from graphviz in a C++ application.
The way I proceed is the following.
From boost library, I create an adjancy_list:
struct VertexP { std::string tag; std::string shape;std::string style; };
struct…

froz
- 163
- 1
- 12
1
vote
0 answers
How to render graph written using GraphViz library c++ to png?
Its a Qt application but with no Gui. I'm trying to create a graph using GraphViz C++ library. Everything is running fine except that i'm not able to attain the output in a .png file that I can open in windows. I did as the manual said , there are…

Syed Ahmed Jamil
- 1,881
- 3
- 18
- 34
1
vote
3 answers
Issue with Graphviz - gvLayout() - Working with library
I`m coding in C#. 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…

Th3B0Y
- 884
- 1
- 12
- 30
0
votes
1 answer
How to make nodes overlap in Graphviz?
I want to make some of the nodes in my graph to overlap in the following manner:
I am using pygraphviz to render graphs.
So far, I have been trying to get the coordinates of the overlapping nodes and move them to the position I want, but that…

shasha
- 1
- 1