-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
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
Issues on mindmap rendering #37
Comments
Thank you, mate! Still, some exactly the same as yours do not show the edge from the centre circle. Not sure if it's me (see below from the Upmath editor). What I have noticed is that some complex ones do not render, not sure why, even with \begin{tikzpicture}. \usetikzlibrary {mindmap} |
I see what the problem is. I need some time to figure it out. |
OK, mate thank you. again the package is amazing! |
The problem with gradients can be fixed, but other problems pop up that seem more serious to me. So far I've opened a related issue in the PGF project, let's take a look at their response: pgf-tikz/pgf#1353 |
Thank you mate!
…On Wed, 17 Jul 2024 at 10:51, Roman Parpalak ***@***.***> wrote:
The problem with gradients can be fixed, but other problems pop up that
seem more serious to me. So far I've opened a related issue in the PGF
project, let's take a look at their response: pgf-tikz/pgf#1353
<pgf-tikz/pgf#1353>
—
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AETEP7PXSL6HDFNPCNZPAYTZMY5A5AVCNFSM6AAAAABK2KKQYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSHEYDCMJWHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
As you can see, there is no clear reaction in the associated pull request. It is unclear whether the reported issue is recognized as a bug or if it needs to be addressed elsewhere. And if it is acknowledged, whether someone will fix it and when. It seemed to me that the dvisvgm driver for pgf is somewhat raw, and it is unclear how prioritized its support is. Moreover, the last release of pgf was a year and a half ago. Given all this, I created a special workaround command that enables the dvisvgm driver only if it is specified. If there are problems with a smooth color transition, you need to add
|
*Thank you, mate! There is also a strange behaviour I discovered which I
tried because I encountered it before with another rendering app! The
issue was: With white spaces removed, it works in some! For example, this
will not render*
$$
\usetikzlibrary {arrows.meta,automata,positioning,shadows}
\begin{tikzpicture}
[shorten >=1pt,node distance=2cm,on grid,>={Stealth[round]},thick,
every state/.style={fill,draw=none,orange,text=white,circular drop
shadow},
accepting/.style ={green!50!black,text=white},
initial/.style ={red,text=white}]
\node[state,initial] (q_0) {$q_0$};
\node[state] (q_1) [above right=of q_0] {$q_1$};
\node[state] (q_2) [below right=of q_0] {$q_2$};
\node[state,accepting](q_3) [below right=of q_1] {$q_3$};
\path[->] (q_0) edge node [above left] {0} (q_1)
edge node [below left] {1} (q_2)
(q_1) edge node [above right] {1} (q_3)
edge [loop above] node {0} ()
(q_2) edge node [below right] {0} (q_3)
edge [loop below] node {1} ();
\end{tikzpicture}
$$
*However, if I use an online whitespace remover like:
https://codebeautify.org/remove-extra-spaces#
<https://codebeautify.org/remove-extra-spaces#>, the result will be*
$$
\usetikzlibrary {arrows.meta,automata,positioning,shadows}
\begin{tikzpicture} [shorten >=1pt,node distance=2cm,on
grid,>={Stealth[round]},thick, every
state/.style={fill,draw=none,orange,text=white,circular drop shadow},
accepting/.style ={green!50!black,text=white}, initial/.style
={red,text=white}] \node[state,initial] (q_0) {$q_0$}; \node[state] (q_1)
[above right=of q_0] {$q_1$}; \node[state] (q_2) [below right=of q_0]
{$q_2$}; \node[state,accepting](q_3) [below right=of q_1] {$q_3$};
\path[->] (q_0) edge node [above left] {0} (q_1) edge node [below left] {1}
(q_2) (q_1) edge node [above right] {1} (q_3) edge [loop above] node {0} ()
(q_2) edge node [below right] {0} (q_3) edge [loop below] node {1} ();
\end{tikzpicture}
$$
*And this will render with no issues. Best wishes and thank you again*
…On Sat, 20 Jul 2024 at 11:02, Roman Parpalak ***@***.***> wrote:
As you can see, there is no clear reaction in the associated pull request.
It is unclear whether the reported issue is recognized as a bug or if it
needs to be addressed elsewhere. And if it is acknowledged, whether someone
will fix it and when. It seemed to me that the dvisvgm driver for pgf is
somewhat raw, and it is unclear how prioritized its support is. Moreover,
the last release of pgf was a year and a half ago.
Given all this, I created a special workaround command that enables the
dvisvgm driver only if it is specified. If there are problems with a smooth
color transition at the beginning, you need to enable \dvisvgm and check
that there are no other issues with rendering images:
\dvisvgm
\usetikzlibrary {mindmap}
\tikz[mindmap,concept color=blue!80]
\node [concept] {Root concept}
child[concept color=red,grow=30] {node[concept] {Child concept}}
child[concept color=orange,grow=0] {node[concept] {Child concept}};
<https://camo.githubusercontent.com/31bff9d682455bfd8682833afd8da9b92197552238dacb1c16b9b7b3dd185eb6/68747470733a2f2f692e75706d6174682e6d652f7376672f2535436476697376676d25304125354375736574696b7a6c6962726172792532302537426d696e646d617025374425304125323025323025354374696b7a2535426d696e646d6170253243636f6e63657074253230636f6c6f72253344626c75652138302535442530412532302532302532302532302535436e6f6465253230253542636f6e63657074253544253230253742526f6f74253230636f6e636570742537442530412532302532302532302532302532302532306368696c64253542636f6e63657074253230636f6c6f7225334472656425324367726f7725334433302535442532302537426e6f6465253542636f6e636570742535442532302537424368696c64253230636f6e636570742537442537442530412532302532302532302532302532302532306368696c64253542636f6e63657074253230636f6c6f722533446f72616e676525324367726f77253344302535442532302532302537426e6f6465253542636f6e636570742535442532302537424368696c64253230636f6e63657074253744253744253342>
—
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AETEP7NBE2IZIQ25UIQOCQ3ZNIYR3AVCNFSM6AAAAABK2KKQYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGA3DSMZTGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi, thank you very much for a great package. I have tried some other diagrams from the TikZ library, but they don't render. Am I doing something wrong?
For example, this doesn't render:
The text was updated successfully, but these errors were encountered: