i adjusted some code but now i reached my borders. i'd want to rotate the following shape with 90 degree, so it looks upwards afterwards.
but my problem is to put the connection lines also from west to north. It seems this shape doesn't have the anchor i need for this. My code:
\documentclass{article}
\usepackage{amsmath}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usetikzlibrary{shapes.multipart}
\usepackage{flowchart}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows.meta, calc, positioning, shapes, matrix}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}
\usepackage{circuitikz}
\newcommand{\mysize}{2.5cm}
\newcommand{\connectlength}{0.6cm}
\tikzstyle{mynode}=[draw, minimum size=\mysize,
label={[anchor = east]25:$\text{A}$},
label={[anchor = east]-25:$\text{B}$},]
\tikzstyle{mynodemirror} = [draw, minimum size=\mysize,
label={[anchor = west]155:$\text{A}$},
label={[anchor = west]205:$\text{B}$},]
\tikzstyle{mynodebelow} = [draw, minimum size=\mysize,
label={[anchor = north]110:$\text{A}$},
label={[anchor = north]70:$\text{B}$}]
\begin{document}
\begin{tikzpicture}[]
% Hilfslinien
% \draw[help lines] (0,-7) grid (7,7);
\node[mynode] (master) {node 0};
\node[mynodemirror, right=8cm of master] (slave1) {node 1};
\node[mynodebelow, below left=2.0cm of slave1] (slave2) {node 2};
% \node[vcc, above=2cm of slave1] (nodevcc) {VCC};
\draw ($(master.north east)!.5!(master.east)$) to[short,-o] ++(\connectlength,0) coordinate (oben_master);
\draw ($(master.south east)!.5!(master.east)$) to[short,-o] ++(\connectlength,0) coordinate (unten_master);
\draw ($(slave1.north west)!.5!(slave1.west)$) to[short,-o] ++(-\connectlength,0) coordinate (oben_slave1);
\draw ($(slave1.south west)!.5!(slave1.west)$) to[short,-o] ++(-\connectlength,0) coordinate (unten_slave1);
% how to change the following line to make the connections look upwards?
\draw ($(slave2.north west)!.5!(slave2.west)$) to[short,-o] ++(-\connectlength,0) coordinate (oben_slave2);
\draw ($(slave2.south west)!.5!(slave2.west)$) to[short,-o] ++(-\connectlength,0) coordinate (unten_slave2);
\draw (oben_master) to[short] (oben_slave1);
\draw (unten_master) to[short](unten_slave1);
\end{tikzpicture}
\end{document}
results in this:
my try to fix node 2
-shape (but can't compile)
\documentclass{article}
\usepackage{amsmath}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usetikzlibrary{shapes.multipart}
\usepackage{flowchart}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows.meta, calc, positioning, shapes, matrix}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}
\usepackage{circuitikz}
\newcommand{\mysize}{2.5cm}
\newcommand{\connectlength}{0.6cm}
\tikzstyle{mynode}=[draw, minimum size=\mysize,
label={[anchor = east]25:$\text{A}$},
label={[anchor = east]-25:$\text{B}$},]
\tikzstyle{mynodemirror} = [draw, minimum size=\mysize,
label={[anchor = west]155:$\text{A}$},
label={[anchor = west]205:$\text{B}$},]
\tikzstyle{mynodebelow} = [draw, minimum size=\mysize,
label={[anchor = north]110:$\text{A}$},
label={[anchor = north]70:$\text{B}$}]
\begin{document}
\begin{tikzpicture}[]
% Hilfslinien
% \draw[help lines] (0,-7) grid (7,7);
\node[mynode] (master) {node 0};
\node[mynodemirror, right=8cm of master] (slave1) {node 1};
\node[mynodebelow, below left=2.0cm of slave1] (slave2) {node 2};
% \node[vcc, above=2cm of slave1] (nodevcc) {VCC};
\draw ($(master.north east)!.5!(master.east)$) to[short,-o] ++(\connectlength,0) coordinate (oben_master);
\draw ($(master.south east)!.5!(master.east)$) to[short,-o] ++(\connectlength,0) coordinate (unten_master);
\draw ($(slave1.north west)!.5!(slave1.west)$) to[short,-o] ++(-\connectlength,0) coordinate (oben_slave1);
\draw ($(slave1.south west)!.5!(slave1.west)$) to[short,-o] ++(-\connectlength,0) coordinate (unten_slave1);
% how to change the following line to make the connections look upwards?
\draw ($(slave2.west north)!.5!(slave2.north)$) to[short,-o] ++(-\connectlength,0) coordinate (oben_slave2);
\draw ($(slave2.east north)!.5!(slave2.north)$) to[short,-o] ++(-\connectlength,0) coordinate (unten_slave2);
\draw (oben_master) to[short] (oben_slave1);
\draw (unten_master) to[short](unten_slave1);
\end{tikzpicture}
\end{document}
i hope you can understand my problem.
Thank you very much.