We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When dot code contains the URL attribute such as this:
URL
digraph G { node [shape="circle"]; x -> y [label="hotlink", URL=<https://github.com/kjellmf/dot2tex/issues/69>]; }
the attribute is being ignored and the resulting LaTeX code does not have the link. The output is something like this:
\begin{tikzpicture}[>=latex,line join=bevel,] [...] \draw (74.932bp,42.257bp) node {$hotlink$}; [...] \end{tikzpicture}
That's just a label named "hotlink" with no effect when clicked. This is what it should be:
\usepackage{hyperref} [...] \begin{tikzpicture}[>=latex,line join=bevel,] [...] \draw (74.932bp,42.257bp) node {\href{https://github.com/kjellmf/dot2tex/issues/69}{hotlink}}; [...] \end{tikzpicture}
The text was updated successfully, but these errors were encountered:
This should be pretty straightforward to implement. I'll add it to my todo list, but dot2tex is unfortunately low on my priority list at the moment.
Ref: https://www.graphviz.org/doc/info/attrs.html#d:URL https://www.graphviz.org/doc/info/attrs.html#k:escString
Sorry, something went wrong.
No branches or pull requests
When dot code contains the
URL
attribute such as this:the attribute is being ignored and the resulting LaTeX code does not have the link. The output is something like this:
That's just a label named "hotlink" with no effect when clicked. This is what it should be:
The text was updated successfully, but these errors were encountered: