tikz-cd wraps matrix creation as follows
\def\tikzcd@[#1]{%
\tikzpicture[/tikz/commutative diagrams/.cd,every diagram,#1]%
% ...
\matrix[%
% ...
]%
\bgroup}
As such, there seems no way to name the matrix as created by the tikzcd
environment. Is there a way to name the matrix, and still using the tikzcd
environment?
The question arises out of the need to name cells of matrices. With the name of a matrix known, the cells could be conveniently referred to as name-1-1
, for example.