I'm using an existing tikz example to create a flow chart of sorts, showing how applications and libraries communicate with each other in a software project. For example, the following image depicts two applications (ie: peers) communicating directly with each other:
What I would like to do with tikz is to create a new type of element which consists of a square element with another square inside of it. I would use this to depict something similar to the above, but it implies that "Process A" requires the use of "Library B_API" to talk to "Process B".
How would I accomplish this with tikz?
Thank you.




\tikzsetin favor of\tikzstyle, see Should \tikzset or \tikzstyle be used to define TikZ styles? – Claudio Fiandrino Aug 12 '16 at 06:47\draw[<->,>=latex] (LibB.east) -| ($(AppA)!.5!(AppB)$) -- (AppB.west);, this way the L shape will be exactly in the middle of the two blue rectangles. – Alenanno Aug 12 '16 at 11:36