Closed SamuelMarks closed 5 years ago
Sorry for the late response.
The issue here is style=rounded
. If you remove it you get some output.
digraph {
label="How to make 'input' is valid"
start[shape="box", style=""];
end[shape="box", style=""];
if_valid[shape="diamond", style=""];
message[shape="parallelogram", style=""]
input[shape="parallelogram", style=""]
start -> input;
input -> if_valid;
if_valid -> message[label="no"];
if_valid -> end[label="yes"];
message -> input;
}
I need to investigate why this happen.
Closed by c855592
Dot file:
Output from PDF file (
dot2tex -tmath d.dot --figonly -o d.tex
):Output from
dot -Tpng
:This is quite deep in my LaTeX, but I have this in my preamble, which is a superset of what's produced by
dot2tex
without the--figonly
argument:In that file I have an
\input
command, which includes the tex which includes the tex file of thedot2tex
generated typeset.I'm sure that it's a simple problem, like I'm forgetting to wrap the
\input
for thedot2tex
generated typeset with some special environment 😕 ❓