When I defined an image as a TikZ node, I easily create and use a flipped version: I define a mirror
style that does a reflection for me:
1 2 3 4 |
mirror/.style 2 args = {path picture = { \node at (path picture bounding box.center) { \reflectbox{\includegraphics[width = #1cm] {#2}}};}}, |
As my original style was defined this way
1 2 3 4 |
Core1/.style = { image = {2.4}{nexus7k}, minimum width = 2cm, inner ysep = 1.5cm }, |
I simply override the image style by adding the mirror style:
1 2 |
Core2/.style = { Core1, mirror = {2.4}{nexus7k}}, |
This way I can get a diagram with a focus to its center: