Ich versuche, eine kleine binäre Baumtopologie zu erstellen, sehe aber, dass die Knotenbeschriftungen den Schaltkreis selbst überlappen.
\begin{circuitikz} \draw (0,0)
(3.5,4) node[not port, rotate = 270] (s1c1) {s1c1}
(1,2) node[not port, rotate = 270] (s2c1) {s2c1}
(6,2) node[not port, rotate = 270] (s2c2) {s2c2}
(0,0) node[not port, rotate = 270] (s3c1) {s3c1}
(2,0) node[not port, rotate = 270] (s3c2) {s3c2}
(5,0) node[not port, rotate = 270] (s3c3) {s3c3}
(7,0) node[not port, rotate = 270] (s3c4) {s3c4}
(s1c1.out) -| (s2c1.in)
(s1c1.out) -| (s2c2.in)
(s2c1.out) -| (s3c1.in)
(s2c1.out) -| (s3c2.in)
(s2c2.out) -| (s3c3.in)
(s2c2.out) -| (s3c4.in)
(s3c1.out) -- (s3c2.out)
(s3c2.out) -- (s3c3.out)
(s3c3.out) -- (s3c4.out)
;
\end{circuitikz}
Antwort1
label
Ich würde die Eigenschaft des Knotens verwenden . Ich habe die Beschriftungen und deren Abstand manuell angepasst. Bitte lesen Sie die tikz
Dokumentation, um zu erfahren, wie Sie noch weitere Feineinstellungen vornehmen können.
\documentclass[tikz]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz} \draw (0,0)
(3.5,4) node[not port, rotate = 270, label={[centered,yshift=4pt,rotate=270] {\small s1c1}}] (s1c1) {}
(1,2) node[not port, rotate = 270,label={[centered,yshift=4pt,rotate=270] {\small s2c1}}] (s2c1) {}
(6,2) node[not port, rotate = 270,label={[centered,yshift=4pt,rotate=270] {\small s2c2}}] (s2c2) {}
(0,0) node[not port, rotate = 270,label={[centered,yshift=4pt,rotate=270] {\small s3c1}}] (s3c1) {}
(2,0) node[not port, rotate = 270,label={[centered,yshift=4pt,rotate=270] {\small s3c2}}] (s3c2) {}
(5,0) node[not port, rotate = 270,label={[centered,yshift=4pt,rotate=270] {\small s3c3}}] (s3c3) {}
(7,0) node[not port, rotate = 270,label={[centered,yshift=4pt,rotate=270] {\small s3c4}}] (s3c4) {}
(s1c1.out) -| (s2c1.in)
(s1c1.out) -| (s2c2.in)
(s2c1.out) -| (s3c1.in)
(s2c1.out) -| (s3c2.in)
(s2c2.out) -| (s3c3.in)
(s2c2.out) -| (s3c4.in)
;
\end{circuitikz}
\end{document}
Produktion