I've been doing some diagrams using TikZ with matrix as the layout.
While using Pgf version 2.10, everything went well, but now I'm using Pgf version 3.0.0 (TexLive2013) and there's a problem I'm almost sure is related to using custom styled nodes as elements of the table. The problem is that I cannot use the normal reference ((matrixName)-(rowNum)-(colNum)), because it's not available.
I've reduced my document to a MWE:
\documentclass[12pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, matrix}
\tikzset{newIdea/.style={rectangle, fill=blue!90},
newPlan/.style={rectangle, rounded corners=2mm, text=white, fill=blue!90}
}
\begin{document}
\begin{tikzpicture}
\matrix (magic) [matrix of nodes, column sep=10mm]
{
\node[newIdea] {8}; & \node[newPlan] {1}; & \node[newIdea] {6}; \\
};
\draw[thick,red,->] (magic-1-1) |- (magic-1-2);
\end{tikzpicture}
\end{document}
Using Pgf 2.10, everything works; using Pgf 3.0.0 I get the following error message:
Package pgf Error: No shape named magic-1-1 is known.

magic-1-1to the nodes). However, this is a valid workaround if you have few\nodes within the matrix. For your case, Gonzalo's solution is perfect. – Claudio Fiandrino Mar 22 '14 at 08:11\node[newIdea](magic-1-1){8}; & \node[newPlan](magic-1-2){1};– Malipivo Mar 22 '14 at 09:07compatfor these scenarios? – Sean Allred Aug 11 '15 at 13:06pgfplotshas acompatoption but I'm not aware TikZ offers this feature too. Perhaps I am misunderstanding your comment? – Gonzalo Medina Aug 11 '15 at 15:25