0

So I have made a 'template'-shape using \tikzset and /.style or \tikzstyle and if I understand it correctly, one can add objects with the same style as the template. Is it possible to modify the \tikzset or \.style or tikzstyle such that each object or instance has its own variable/counter?

For instance, I try to make a block diagram as in Block Diagrams using Tikz. It's easy if each block has 1 input and 1 output. It becomes a little complicated if the blocks have more inputs and outputs. In the latter case with multiple i/o, I have to divide the starting points of outputs and ending points of input equally along the side of a block.

An example of multiple i/o

enter image description here https://www.mathworks.com/help/examples/control/win64/xxinterconnections16.png

0 Answers0