Questions tagged [dot2texi]
The dot2texi package allows you to embed graphs in the DOT graph description language in your LATEX documents.
27
questions
0
votes
1
answer
21
views
Splitting labels on multiple lines not working for .dot file used in an Overleaf document
I would like to split a label in a .dot file across multiple lines in Overleaf.
I reviewed this which suggests various forms of \n which doesn't seem to work.
Here's a minimal example:
\documentclass{...
0
votes
1
answer
378
views
Drawing ER diagram with TikZ/Graphviz/dot2texi
I want to draw an ER diagram using these combinations of packages. I have tried to follow and re-create this guide, Figure 6.
The graph has to be drawn in an Overleaf document, which leaves me with ...
1
vote
2
answers
382
views
How can I make minted in newfloat mode work with dot2texi?
The following gives a compilation error:
\documentclass{report}
\usepackage{dot2texi}
\usepackage[newfloat]{minted}
\begin{document}
Content
\end{document}
with output
...
Package: dot2texi 2008/05/...
1
vote
1
answer
778
views
Compilation ok with latexmk, file-not-found with pdflatex
In short: I stumbled upon a case where latexmk runs fine,
but pdflatex fails, using the command outputted by latexmk.
Some details:
my setup is gently exotic but I can't get why this could interfere ...
3
votes
1
answer
72
views
How to pass a fill-box thru centre of nodes?
So I want to draw a component that ould look like in visual programming - with in's and out's. I want to keep it in a box. So I try to fit a box, yet its a bit off
Here is how it looks:
Here is ...
0
votes
1
answer
146
views
`dot2tex` needs root access to work?
I am currently having an issue when trying to compile some LaTeX with a dot2tex environment : I get an error saying
Opening dot2tex stream test-dot2tex-fig1.dotTraceback (most recent call last):
...
1
vote
1
answer
532
views
dot2texi fails to convert automatically due to "Shell escape not enabled." not matter whether -shell-escape is specified to lualatex
The following document fails to compile properly/automatically because dot2texi fails to convert the dot specification and warns about it with
Package dot2texi Warning: Shell escape not enabled.
(...
1
vote
0
answers
416
views
dot2texi package
I'm doing some tests with dot2texi and have the following example from the package documentation:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes}
\usepackage{dot2texi}
\begin{...
1
vote
1
answer
377
views
Installing dot2texi step by step under Windows
I used this User's guide
https://dot2tex.readthedocs.io/en/latest/
I download python-2.7.14.msi from https://docs.python.org/2.7/installing/index.html
I install python-2.7.14.msi
Add
;C:\python25
...
1
vote
0
answers
538
views
lines horizontal or/and vertical but never in other directions of line connectors block diagram with dot
This example is from
https://stackoverflow.com/questions/7922960/block-diagram-layout-with-dot-graphviz
How can I get connection lines that are only horizontal or/and vertical but never in other ...
0
votes
1
answer
198
views
shape=record ignored by dot2texi
I'm trying to draw record nodes with dot2texi, but it seems to ignore the shape=record attribute. Here's my LaTeX code:
% tmp.tex
\documentclass{article}
\usepackage{dot2texi}
\usepackage{tikz}
\...
1
vote
0
answers
317
views
How to automatically give dot2tex edges a style depending on their endpoints?
I need to typeset graphs but I do not want to place the nodes by hand. I use the dot2texi package to automatically translate graph descriptions into tikz/pgf commands. This works great.
I also want ...
0
votes
0
answers
266
views
Cannot use dot2tex environment due to undefined control sequence
I am trying to execute the following example from the dot2texi manual, by running pdflatex --shell-escape pres.tex:
\documentclass{article}
\usepackage{dot2texi}
\usepackage{tikz}
\usetikzlibrary{...
2
votes
1
answer
681
views
dot2texi package and output directory
I'm using the dot2texi package to draw some graphs on my beamer presentation, but I can't figure out how to make it work with the outputdir option.
Here is my directory structure:
├── biblio.bib
├── ...
1
vote
0
answers
487
views
Cut off graphs using dot2texi with TikZ
I am creating concept maps using dot2texi and TiKz. However, with more complex maps the current style sometimes causes the map to be cut off. This despite the fact that in theory there is actually ...
0
votes
1
answer
272
views
How to aumatically center a dot2tex block within tikzpicture?
I have noticed that dot2tex-produced graphs are not center properly inside the tikz picure.
This is particularly noticable in this example below:
The graph should appear more or less between the ...
5
votes
0
answers
456
views
dot2texi: Use latex labels (texlbl) with clusters
I'm using the dot2texi package to include dot graphs in my tex files. With nodes, I can use texlbl="$n_1$" to create a label n1. I want to have tex labels also on clusters:
\documentclass{beamer}
\...
1
vote
0
answers
86
views
Problems with Babel, TikZ, dot2texi, and Hebrew
I've been trying to run pdflatex (with the -shell-escape flag of course) on the following code but got an error:
! Bad space factor (0).
\@savsf
\documentclass[english, hebrew]{article}
\...
3
votes
1
answer
227
views
Loops in dot2tex. Or easely draw complex graphs
My original question :
Is it possible to use loops in dot2tex?
I would like to type something like:
\documentclass[]{article}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes,snakes,automata,...
1
vote
0
answers
77
views
Gibberish when using HTML labels with dot2texi
I'm attempting to use some of the psuedo-HTML markup in graphviz to style my nodes:
\documentclass{hitec}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usepackage{dot2texi}
\begin{document}
\title{...
5
votes
0
answers
549
views
How to layout large edge labels in dot2texi?
I never got to layout (arbitrary) large edge labels in a dot2tex section. The problem is that the size of the layout has no effect of the layout and the rendering is only based on the default edge ...
3
votes
1
answer
393
views
Texlive: tlmgr can't find referenced package dot2tex
I am currently trying to use the dot2texi package, that requires another package, dot2tex. I first tried to install this latter tool (version 2.8.7) from source, but some obscure python bug made it ...
2
votes
1
answer
405
views
Can't define environment whose macro code contains dot2tex environment
I try to define a new environment whose macro code contains the dot2tex environment from the dot2texi package (look at the appended MWE). Unfortunately the compilation ends with the following error
...
2
votes
0
answers
154
views
dot2texi: using macros inside labels affects sizing
The two pictures here are generated by essentially the same code, but the LHS one uses more macros -- so for example the LHS has
\newcommand\fouriertransform[1]{\hat{#1}}
\newcommand\applyfn[2]{{#1}(...
5
votes
1
answer
5k
views
GraphViz and LaTeX; gives blank PDF
I've tried 4 different .sty files (most of which didn't work, some of which gave me errors on rendered page).
Now trying with the dot2texi package, which is giving me a blank PDF.
I have tried ...
5
votes
3
answers
2k
views
Drawing a collaboration graph or tree with TikZ
I'm trying to draw a collaboration graph for C data structures. originally I got dot files from Doxygen which I tried to convert using dot2tex with varying degrees of success, though none produced ...
12
votes
1
answer
2k
views
How can I use overlays in beamer when producing graphs with dot?
I usually describe graphs with graphiz and I enjoy dot2tex which produces the corresponding TikZ code.
To explain an algorithm in a presentation, I need to uncover the nodes and edges of a graph step ...