Questions tagged [dot]
DOT is both a mathematical graph description language and a particular graph rendering engine (dot). As a graph description language, DOT uses a simple plain text mapping syntax to describe the relationships between nodes and edges (e.g. `nodeA -> nodeB`) , and a plain text markup syntax to add style, annotations, and constrain the rendered layout.
1,092
questions
-1
votes
1
answer
62
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
70
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
28
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
24
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
0
answers
33
views
VB Dot Net win forms multiline label largest possible font size
I have forms with fixed sized labels that will have variable length text values set to them and I want to be able to calculate the maximum font size possible to make the text fill the label control ...
0
votes
2
answers
30
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
37
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
54
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
42
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
35
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 ...
0
votes
0
answers
14
views
Creating a .dot text file from list of libraries and their depths
I have the following python code to create a text/dot file from a list of libraries in a format specified at the bottom.
def generate_dot(tree_list):
stack = []
last_base_library = None
...
1
vote
1
answer
98
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
45
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
40
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
37
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
...