Closed rynchn closed 3 years ago
Sorry for taking several months to reply :-)
I agree the feature you describe here would be very desirable. I also don't see a better way to implement it than your patch.
However, this implementation is not acceptable, since running the keys twice could lead to unexpected behavior. Keys can run arbitrary code and there's no guarantee they are free of side effects.
If you are still interested in this, I suggest bringing this up with the PGF maintainers. It might be possible to include a clean implementation in the topaths
library. Then everyone would benefit, not only tikz-cd users.
In order to simplify creation and maintenance of complicated three-dimensional diagrams, it would help if it were possible to place arrows on different pgf layers, rather than having to move arrows to the target cell and reverse the direction each time. Example:
The following quick hack enables this (there may be a better way to do it):
The change from
to
toedge
was needed, so that TikZ executes the code inexecute at begin to
before the auxiliary\path
command implementing theedge
. The options do need to be passed to both\path
andedge
: the former forexecute at begin to
, the latter for all other styling options.