2,996 questions
0
votes
0
answers
24
views
How to show a binary tree like view in Graphviz for over 100+ nodes in a readable manner?
I have a graph.gv file which has around 125 nodes.
With more than 50+ nodes the view is looking very messy, so for 125 nodes it is even worse.
I want to see them in a binary tree like fashion as top-...
0
votes
1
answer
39
views
HTML-like labels in chl parameter of image-charts url?
Is it possible to use HTML-like labels (with angle brackets) in the chl parameter of an image-charts graphviz URL? I'm calling the URL from an iOS app to create an AsyncImage.
I am trying to use some ...
1
vote
1
answer
39
views
NodeJS Graphviz - trying to add image as label throws Error code 1
I am attempting to use an image as a node in Graphviz. I am using the npm grapghviz project to do this. However, despite numerous tutorials stating that you can do it via the menthods I have outlined ...
0
votes
1
answer
37
views
How can I create a stylized tree chart?
I have been making a tree of fraternity-adjacent bigs and littles and was looking for a way to automate it for changes as more people join. Everyone's names and years, big, and littles are in an Excel ...
0
votes
1
answer
11
views
How do I get the size (in bytes) of an OpenCL buffer?
I'm using the OpenCL C++ API bindings, a.k.a. cl.hpp. I have a buffer, i.e. a cl::buffer. A buffer is constructed passing a size, and it isn't supposed to be just some raw pointer. I was expecting a ...
0
votes
1
answer
42
views
Graphviz executables not on systems PATH
I have installed graphviz by using pip3 install graphviz (VScode on MacOS). When i try to run my .py file i get the error message:
"graphviz.backend.execute.ExecutableNotFound: failed to execute ...
0
votes
1
answer
40
views
Is there a modifiable layout option for Graphviz? To make the output readable
Using Graphviz, I have run (again) into the problem that the edges overlap so much that they look like a wide line.
So my idea was to generate a svg image, import the image in Inkscape and then just ...
0
votes
1
answer
28
views
Fixed position in the first column for the nodes, not in the others
I want a table of 2 columns with graphviz. Within the first columns I would like to have fixed positions for the nodes (x and Y). The other nodes can be freely positioned by graphviz within the ...
0
votes
0
answers
28
views
Graphviz set positions to start from (0,0) and increment ny 1 unit?
I have a graphviz graph generated and I am using networkx to read that graph and assign them position values i.e nx.nx_pydot. The thing is the node values are very random like (1854,234) and so on. Is ...
0
votes
0
answers
48
views
Adjucent similar values grouping in SAP Viz frame column chart
Here I am facing an issue where Vizframes column chart grouping the adjacent similar values on x-axis,into one data label as below screen for temperature values where I want to remove that and use ...
0
votes
1
answer
59
views
Why graphviz/dot does not generate the exact same binary when using the exact same input
I'm generating a graph png file from this input architecture.graph.txt:
digraph GG { node [ fontsize="12"];
compound=true;
subgraph cluster_general_purpose_utilities {
label="...
0
votes
1
answer
46
views
How to position the legend at the bottom-left of the graph in a Graphviz flowchart?
I'm working on a flowchart using Graphviz and need to position the legend at the bottom-left of the graph. Below is the code I am currently using, where I have added a subgraph for the legend. By ...
-1
votes
1
answer
64
views
Can I do this kind of shape in graphviz?
I would like to recreate a diagram similar to the following in graphviz as faithfully as possible.
I am failing with the edges however. There does not seem to be a way to add images to an edge. I ...
0
votes
0
answers
17
views
Problem installing pygraphiz : 'graphviz/cgraph.h': No such file or directory [duplicate]
I try to install pygraphviz , but I got Error below:
Collecting pygraphviz
Using cached pygraphviz-1.13.tar.gz (104 kB)
Installing build dependencies ... done
Getting requirements to build wheel ...
0
votes
0
answers
122
views
AttributeError: 'Dense' object has no attribute 'output_shape' in ann_visualizer with TensorFlow/Keras
I have this error:
Epoch 1/2
1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 391ms/step - loss: 6272135168.0000
Epoch 2/2
1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 16ms/step - loss: 6272133632.0000
1/1 ━━━━━━━━━━━━━━━━━━━━ 0s 16ms/...
0
votes
2
answers
66
views
writing diagram to SVG uses ascii by default, not utf-8
Pretty sure this is a question where I'm missing something simple/basic.
I recently upgraded pydrake to 1.32. When exporting the Diagram to SVG, it marks deprecated ports with the tombstone emoji, '\...
0
votes
2
answers
54
views
table with no cellpadding showing table background color
Using dot, I'm trying to create a rounded node with a complex label encoded using an HTML table. The top title row needs a color background, and the remaining rows need to be white.
I have it almost ...
0
votes
0
answers
22
views
Doxygen/GraphViz collab diagram for C# doesn't show links for collections
I have a C# project. I use Doxygen and GraphViz for generating collaboration diagrams.
When a class uses a List (e.g. public List<Item> Items = new List<Item>();) the diagram does not ...
-1
votes
1
answer
39
views
Graphviz - Can you add a Summary Curly Braces to Multiple Nodes
Can I add a summary curly bracket (or similar kind of edge) to demonstrate a summary of the nodes above in Graphviz?
The picture below clearly shows what I am looking for.
(Note: I understand that I ...
0
votes
1
answer
42
views
How to join edges to same point on node?
I want two edges to connect to the same point on a node, like in this screenshot:
I tried the following simple code but the edges aren't connecting as I want them. I want them to connect to a central ...
0
votes
1
answer
26
views
Graphviz bigger arrowheads can look awkward
I'm making a fairly complex, large graph with Graphviz, so i had to increase the arrowhead size to 2. Otherwise they would be nearly invisible when viewing the whole.
This means that sometimes ...
1
vote
1
answer
2k
views
AttributeError: module 'pydot' has no attribute 'InvocationException'
Problem:
I want to use plot_model from keras.utils to draw a beautiful AI model layers map;
The tool plot_model requires "pydot" and "graphviz";
I installed "pydot" ...
0
votes
1
answer
83
views
'dot' added to PATH, but graphviz still can't execute it
I'm having issues getting python graphviz to find 'dot' in the PATH environment variable. This seems to be a well-documented problem, but I still can't seem to get past it.
I have added graphviz to ...
-1
votes
1
answer
42
views
Calling GraphViz dot process using Javas Runtime.getRuntime().exec() and passing in a file name doesn't work but echoing input works
For some reason whenever I execute Graphviz dot using Java's Runtime.getRuntime().exec() in two different ways (one echoing the input, one passing in the filename) - only echoing works.
For eg. this ...
-1
votes
1
answer
83
views
Showing a SVG contains links, created by GraphViz, on HTML
An SVG is create from the following test.dot file:
digraph {
google[label="google"
URL="https://google.com"
target="_blank" fontcolor=blue
]
}
...
1
vote
2
answers
77
views
Clear and automatic DAG visualization
I am trying to draw a DAG (directed acyclic graph) starting from a dataframe with 212 attributes.
I am able to draw it using graphviz
import graphviz
G = graphviz.Digraph()
for col in graph_df....
0
votes
0
answers
68
views
Import graphviz throwing ModuleNotFoundError when I import graphviz in python(ipynb)
I am trying to import Graphviz in vs-code jupyter but its throwing a ModuleNotFoundError.
Traceback (most recent call last)
Cell In[18], line 1
----> 1 import graphviz
2 print(graphviz....
1
vote
1
answer
59
views
Pipe dot graphviz with echo windows from command line gives corrupted output
I'm trying to make an svg from an inline stdin (like in the documentation) :
C:\Users\VERBOSE\Desktop>echo 'digraph { a -> b }' | dot -Tsvg > output.svg
Surprisingly, this gives two files :
...
0
votes
0
answers
34
views
How to visualize GraphvizAlgorithm<Type, Edge<Type>> object to PNG or SVG in C#?
I'm working with the GraphvizAlgorithm<Type, Edge> class in my C# project and I need to visualize this object as a PNG or SVG image. I've created the graph and added the necessary nodes and ...
1
vote
1
answer
36
views
How to use "<f0>" and italics together in labels in .gv files?
I want to make the letters in italics but keep the digits regular.
How should I adjust my codes?
Here are the original .gv codes.
digraph c {
node [height=.1 shape=record]
c [label="{<...
0
votes
2
answers
99
views
How to straighten the lines of a path diagram using DiagrammeR?
I am interested to use DiagrammeR to draw a path diagram. The original codes I used generated a diagram with some curved lines. I tried to look for solutions online and I read this post DiagrammeR: ...
0
votes
1
answer
48
views
Graphviz not calculating exporting image correct inside docker container
I'm trying to render a graph using graphviz library.
I have an application running on a docker container. Whenever I run the command dot -Tsvg -Gsize=10,10\! -Gscale=1 -Eminlen=1 graph.dot -o output....
0
votes
0
answers
62
views
pydotplus.graphviz issue with plot_model from tensorflow
I'm trying to use the plot_model function with TensorFlow to plot my model and save it to a file on Ubuntu 22.04. Pycharm 2024.1.3. python 3.12. Tensorflow 2.16.1.
I assume Pydotplus and Graphviz are ...
0
votes
1
answer
154
views
how to align nodes that are in different subgraphs in graphviz?
the code below creates this diagram. I would like to to make all 3 subgraphs 5 nodes tall. so that, for example data_source_1, process_1 and product_1 are all horizontally aligned properly (same with ...
3
votes
2
answers
87
views
How do I correctly draw edge between records with Graphviz and Haskell
I'm trying to generate a flowchart with Haskell and the Graphviz binding. I want to create edge between nodes with records as it is possible to do it : https://graphviz.org/doc/info/shapes.html.
I ...
1
vote
1
answer
208
views
How can I plot a graph with layered structure with subgraphs within each layer?
I have a set of elements on which I defined a given relationship that allowed me to define a partial order on the set. I then introduced a second relationship to be applied to elements that were not ...
0
votes
1
answer
63
views
How to filter nodes with names that match a pattern or only nodes connected to such nodes with gvpr/graphviz?
I have a DOT file, say bar.dot. How do I use gvpr to output a graph as described below?
let A be the set of nodes in bar.dot with names that contain foo
the graph should only contain nodes in A or ...
0
votes
1
answer
46
views
How to Escape Brackets in dot files?
I'm generating the following graph:
strict digraph {
0 [shape=none;label=<<TABLE BORDER="1" CELLBORDER="1" CELLSPACING="0"><TR><TD BORDER="0" ...
0
votes
1
answer
37
views
Graphviz how to shrink spacing between subscript and script?
I make graphviz with math notation and sometimes the spacing between the greek letter and the subscript is a little too big. Is there a way to shrink this space?
digraph G {
X -> Y [label = <&...
-1
votes
1
answer
81
views
Can not run a .exe file which compiled with Graphviz libraries on Windows
DESCRIPTION:
I want to involve a Graphviz library gvc in my Cpp project.
The Cpp project is an extremely simplified syntax analyser, and I include the graphviz/gvc.h to draw syntax analysis tree.
I ...
0
votes
0
answers
502
views
How can I install pygraphviz?
I try to Install this library "pygraphviz" in python but I face this problem :
Collecting pygraphviz
Using cached pygraphviz-1.12.tar.gz (104 kB)
Installing build dependencies ... done
...
0
votes
1
answer
114
views
Simple Horizontal layout of graph nodes in networks diagram
I have a dataframe containing flight connection data in a network representation
edge
source
target
type
ZRH_ZRH_-1_base_ZRH_PMI_470_flight_idle0_start
ZRH source
ZRH-PMI 470
start
...
0
votes
0
answers
49
views
Import ERROR but I've installed PYGRAPHVIZ 1.12
The question is......
C:\Users\26913\AppData\Local\Programs\Python\Python311\Lib\site-packages\networkx\drawing\nx_pylab.py:433: UserWarning: No data for colormapping provided via 'c'. Parameters '...
0
votes
0
answers
85
views
Java CodeCache is Full executing PlantUML / GraphViz
I am attempting to generate diagrams for my plantuml file locally but keep coming across a Java CodeCache error, I understand in theory what the issue is, that is I need to increase the Cache size, ...
0
votes
1
answer
62
views
How to place a set of nodes over another set of nodes in dot graph
I am trying to go through the dot language for drawing directed graphs. While trying to get a grip on the ways to correctly lay the nodes in the graphs, I am trying to place a set of nodes and arrange ...
0
votes
1
answer
34
views
Equivalent of `xlabel` for clusters in graphviz?
The DOT code
digraph {
newrank=true;
{
node [shape=box]
edge [dir=none, style=dotted]
A -> B
B -> C
C -> D
}
Aa;Ab
...
0
votes
1
answer
148
views
Why does setting rankdir=LR order nodes top-to-bottom?
After several hacky/copy-paste graphviz diagrams, I'm making at attempt at understanding the dot language in earnest, and I have a very basic question.
The following dot code:
digraph G
{
subgraph ...
0
votes
1
answer
41
views
Graphviz vertical align subgraph with node while using left to right
I am trying to create a subgraph that is below the MEMOR node using Graphviz and I am struggling to get them lined up correctly,
This is what I have tried so far:
I want to get the ST boxes to be ...
0
votes
0
answers
59
views
Pass arguments to graphviz for pydot graph
I've got a pydot graph representing a hierarchy I've generated in networkx and I'm trying to output it to disk with graphviz attributes.
So far I've got:
p = nx.drawing.nx_pydot.to_pydot(G)
p....
0
votes
1
answer
89
views
graphviz arrow, node, table - I'm looking for a solution to avoid a double arrow?
I generate a code for graphviz. This network plan always contains 2 arrows for there and back directions. Unfortunately, 2 separate arrows are displayed in the example - but I don't want that...
...