Skip to content

Error with "rounded" style and tikz format #107

Description

@OldKrab

Dot code:

digraph {
"x" [shape=box, style=rounded]
}

run with cmd:

dot2tex -ftikz example.dot

Got next tex:

Details

\documentclass{article}
\usepackage[x11names, svgnames, rgb]{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{snakes,arrows,shapes}
\usepackage{amsmath}
%
%

%

%

\begin{document}
\pagestyle{empty}
%
%
%

\enlargethispage{100cm}
% Start of code
\begin{tikzpicture}[>=latex',line join=bevel,]
%%
\node (x) at (27.0bp,18.0bp) [draw,rectangle,rounded] {x};
%
\end{tikzpicture}
% End of code

%
\end{document}
%

Tex fails to compile with error "Package pgfkeys: I do not know the key '/tikz/rounded' and I am going to ignore it. Perhaps you misspelled it."

I think instead of [draw,rectangle,rounded] there should be something like [draw,rectangle,rounded corners].

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions