1,107 questions
0
votes
0
answers
13
views
How to fine tune the layout of a digraph?
I have the following graph for a lexer:
digraph parser {
rankdir="TB";
ranksep=0.8;
nodesep=0.2;
splines=false;
edge [ arrowhead=none ];
program [shape=note label="(println (...
0
votes
1
answer
59
views
How to enforce node ordering in a subgraph cluster?
I'm trying to construct a left-right oriented graph whose nodes of the second column maintain an exact order, but graphviz keeps ignoring all my hints.
I attempted to reduce my project to a minimal ...
0
votes
1
answer
133
views
KCachegrind Cannot Display Control Flow Graph Despite dot Installed and Working on WSL2
I'm having trouble visualizing the control flow graph in KCachegrind when analyzing my callgrind output. Although I have both dot (GraphViz) and objdump installed and working, KCachegrind fails to ...
0
votes
1
answer
102
views
Why graphviz does not work? 'dot' is not recognized as an internal or external command, operable program or batch file
I install graphviz on Windows with pip install.
Checked with pip show graphviz
Name: graphviz
Version: 0.20.3
Summary: Simple Python interface for Graphviz
Home-page: https://github.com/xflr6/graphviz
...
2
votes
2
answers
133
views
Node labels too large in graphviz output
I have got a graph defined in dot format as follows:
# mwe.dot
strict graph G {
1 [ pos="-17.960000,-13.760000" label="C0" ];
2 [ pos="9.730000,5.710000" label="...
2
votes
2
answers
102
views
Not able to generate graphviz when runing on Mac
I have followed the recommended steps:
Installed graphviz on mac using brew install graphviz. Please see below.
ls /usr/local/Cellar/graphviz/12.2.1/bin/
acyclic diffimg dot_sandbox ...
0
votes
0
answers
43
views
Semi-manual Doxygen callgraph
I'm using Doxygen to document a MATLAB codebase. Doxygen doesn't support MATLAB natively, so I am using the m2cpp.pl filter developed by Fabrice. The filter is good, but not good enough for Doxygen to ...
0
votes
1
answer
44
views
Specify two different rankdir for node branching at end
How to get nodes a2 and a3 to fall vertically in line with a1 without having to specify node width and height?
library(DiagrammeR)
grViz("
digraph G {
graph [splines=ortho, nodesep=1, dpi=...
2
votes
1
answer
102
views
Create a straight edge between nodes if there is another node branching from the midpoint of the edge in DiagrammeR?
In DiagrammeR, I would like to pass a valid graph specification string in the DOT language to grViz() that will force a straight edge from node a0 to a1 when there is a separate edge branching off to ...
0
votes
1
answer
107
views
graphviz (DOT) node alignment and merging arrows for flow diagram
thanks up-front for taking the time to read this and any help or advice.
I am new to graphviz/DOT and am trying to create a flow diagram, but I am having trouble with node alignment.
Here is what I ...
0
votes
1
answer
82
views
Graphviz renderer/explorer for large graphs?
I have a .dot file with an enormous directed graph and need to explore it visually.
I have tried Gephi but it fails to render the file. Browser based renderers freeze my browser.
It would be awesome ...
0
votes
1
answer
67
views
How include some attributes to the graph on dot
How can I create some attributes to the node generated with DOT?
digraph{rankdir="TB";
node[shape=box];
0[label=<0<br/><i><b>Inspect the fridge</b></i><br/...
0
votes
1
answer
88
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 ...
2
votes
0
answers
68
views
Missing subgraph in the PDG dot file generated by the plugin in Frama-c
I have been trying to use the pdg-dot plugin to help create a pdg graph of functions in the C file.
The command I used is
frama-c -pdg -pdg-dot pdg.dot "$file_path" -cpp-command "$...
1
vote
1
answer
62
views
Change color of dot border inside plot
I have a table looking like this:
UMAP1 UMAP2 Tissue Color Shape Size Alpha
SRR10264719 -29.4889521358772 -8.66297910678254 Skeletal muscle #DB6443 15 2 0.3
SRR10264720 -28....
0
votes
1
answer
76
views
Draw DiGraph in networkx with attribute giving height in the graph
In networkx, I have a directed draph G = networkx.DiGraph() where each node has an attribute w (always a positive integer, including zero). The graph is acyclic (it represents a poset), and the value ...
1
vote
1
answer
60
views
Problem when I try export '.svg' file in Transitions library in python
I just try a simple example from this source to learn library :
from transitions.extensions import GraphMachine
from functools import partial
class Model:
def clear_state(self, deep=False, force=...
0
votes
2
answers
142
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
1
answer
135
views
How to get specific edger voucher data with date range?
I have created a simple .NET application to connect with Tally Prime. I am using tally connector package in the application.
I am able to the make call to APIs like getting company names, list of ...
-1
votes
1
answer
138
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 ...
-1
votes
1
answer
103
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
]
}
...
0
votes
2
answers
151
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
131
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
80
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
2
answers
39
views
Adding value in list c#
I have got some line of
requestParams.OutParamList = new List<ParamsList>() {
new ParamsList() {Name = OutParamName}
};
I found this code from my solution and did not understand how it's ...
0
votes
1
answer
74
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
395
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
88
views
DOT Layout Forcing Graph Into 2 Levels
I am developing a little application to render electrical circuits as graphs so the user can easily visualize the networks. That said, I am having a little bit of an issue while rendering the ...
0
votes
2
answers
45
views
Move 2 nodes to the side without affecting the rest of the layout
I have the following dot layout:
digraph {
a b c
a -> b b -> c
b -> g1 [dir=back,constraint=false]
b -> g2 [dir=back,constraint=false]
g1 -> g2 [style=invis]
}
I would like ...
1
vote
1
answer
482
views
How to place text next to a node?
I am rendering a large-ish graph using Graphviz's neato.
All of the following takes place in this environment:
digraph G {
graph [scale="1,0.7"]
Somewhere in there, I want to display a ...
0
votes
1
answer
190
views
Dot language: can you connect a containing box to another?
Using Dot language and Graphviz to render, I've been able to create two boxes (nodes) labelled "A" and "B", one above the other, with a dashed bounding box around them:
digraph G {
...
0
votes
0
answers
66
views
Graphviz arrow pointing to another
From the box there will be an arrow pointing to another arrow's tail then position the diamond like that. I've been trying to use the pos attribute but it's not working. Is this possible in Graphviz?
...
0
votes
1
answer
50
views
Swap two parts of a dot layout
I have the following dot layout.
digraph {
subgraph {
rank=same;
node [shape=plain] work
node [shape=rectangle,group=work] w2
}
subgraph {
rank=same;
node [shape=plain] main
...
1
vote
1
answer
158
views
How can I center nodes in a Graphviz cluster
I have the follow dot definition of a graph:
digraph G {
bgcolor="gray"
node [
style=filled
shape="circle"
fillcolor="green4"
penwidth="2"
...
0
votes
1
answer
63
views
How can I have this graphviz html-like table left aligned in the node?
My dot description of the graph is:
digraph {
bgcolor="#3D3F41"
a [
shape="box"
color="white"
fixedsize=true
fontcolor="white&...
0
votes
1
answer
1k
views
Error: "spawn dot ENOENT" when open side preview, but i've already installed Graphviz(dot)
enter image description here
i followed a tutorial of visualizing a decision tree, i opened a DOT file in VSCODE and installed graphviz extension(by stephanvs),then opened the side preview,
it should ...
0
votes
1
answer
55
views
Logical grouping of edges with labels
In computer networks nodes are often interconnected using multiple links (=edges) which are logically grouped (Link Aggregation [LAG], Multi-Chassis LAG [MCLAG], Port-Channels, Etherchannels etc). ...
0
votes
2
answers
258
views
Getting pygraphviz clusters to point at each other? (And render properly.)
I have seen some posts talking about this sort of thing, like here, and here, but I've recreated that graphviz spec and it's not rendering the same. In particular, where an arrow should be starting ...
0
votes
1
answer
75
views
How to overlap 2 nodes on exactly the same location?
I have the following graphviz code:
digraph G {
x [label = "X", shape = cylinder, width = 1, height = 1, style = filled, fillcolor = lightblue]
}
which produces:
Now, I want to ...
0
votes
2
answers
204
views
Graphviz dot: How to distribute elements evenly?
I prepared this minimal example (you can try it at http://magjac.com/graphviz-visual-editor/ - not okay):
digraph mydigraph {
"a"->"d"
"b"->"e"
&...
1
vote
0
answers
44
views
How to plot axis values on the x axis in all panels in lattice in R?
I am trying to create a graph using lattice in R. I have data on four percentiles of travel time on three time periods called lag, i.e., contemporaneous, one period lag, and two-period lag. I wish to ...
0
votes
1
answer
127
views
Table structure in graphviz [closed]
Is it possible to create a figure with dot where nodes are organized into a "strict" table structure as seen on below figure? In this example, each node belongs to a certain column, i.e. ...
0
votes
1
answer
94
views
Force edges in graphviz to overlap each other
I am trying to create in DiagrammeR the flowchart below.
Although I am using the concentrate=true attribute option it appears that the edges cannot forced to overlap each other and have common arrow ...
1
vote
1
answer
319
views
How to make arrows only connect to top side of nodes
My dot code when rendered by GraphViz leads to a few edges that connect to the left or right side of a node. I aim for having the arrows only connect to the top side of a node.
The issue in this ...
2
votes
1
answer
111
views
Graphviz vertical subgraph positioning order with LR rankdir
I want to create graphs representing processes so the order of the nodes is important.
I'm struggling with graphviz logic for ordering clusters subgraphs and nodes. I'm using the graphviz python ...
0
votes
1
answer
84
views
Change the orientation of the edges in the root node in the twopi layout
I'm trying to figure out how I can switch between these two charts.
I am using the twopi layout.
I have tried various ways but I can't find the way it works.
someone can help me?
digraph G {
layout=...
0
votes
1
answer
924
views
Use HTML lists in graphviz (dot) graphs
I would like to integrate HTML lists (<ul><li>...</li></ul>) in the text label of my Graphviz nodes. Something of the sort:
digraph {
a [label="<ul><li>My ...
0
votes
1
answer
154
views
How to Fix Node Placement in a Family Tree Using DOT Language in Graphviz?
I am trying to draw a family tree using the DOT language. I use auxiliary nodes to make the tree look neat, but in some cases, for an unknown reason, one of the nodes is placed in an illogical place ...
0
votes
1
answer
876
views
Graphviz - how do I change rankdir in a subgraph within a subgraph?
I've got the following graph. I'm content with it, except for the nodes within the red rectangle:
(Here's the Graphviz Visual Editor Link)
I'd rather have the nodes "hollow" and "hohl&...
0
votes
1
answer
557
views
Include custom node attributes in plot
I need to plot a DOT graph as SVG/PDF but would like to include the node attributes for each node. For example, on the plot:
strict digraph G {
start -> a0;
a0 -> a3;
j0[name=asd, weight=...