AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[xscale=2]
\tikzstyle{state}=[draw,circle,inner sep=0pt,minimum size=24pt]
\node[state] (S0) at (0, -1.5) { $\varnothing$ };
\node[state] (S1) at (1, -0) { $\{1\}$ };
\node[state] (S2) at (1, -1) { $\{2\}$ };
\node[state] (S3) at (1, -2) { $\{3\}$ };
\node[state] (S4) at (1, -3) { $\{4\}$ };
\node[state] (S12) at (2, +1) { \small $\{1,2\}$ };
\node[state] (S13) at (2, -0) { \small $\{1,3\}$ };
\node[state] (S23) at (2, -1) { \small $\{2,3\}$ };
\node[state] (S14) at (2, -2) { \small $\{1,4\}$ };
\node[state] (S24) at (2, -3) { \small $\{2,4\}$ };
\node[state] (S34) at (2, -4) { \small $\{3,4\}$ };
\node[state] (S123) at (3, 0) { \small $\{1,2,3\}$ };
\node[state] (BS) at (4, -1.5) { $q$ };
\draw (S0) -- (S1);
\draw (S0) -- (S2);
\draw (S0) -- (S3);
\draw (S0) -- (S4);
\draw (S1) -- (S12);
\draw (S1) -- (S13);
\draw (S1) -- (S14);
\draw (S2) -- (S12);
\draw (S2) -- (S23);
\draw (S2) -- (S24);
\draw (S3) -- (S13);
\draw (S3) -- (S23);
\draw (S3) -- (S34);
\draw (S4) -- (S14);
\draw (S4) -- (S24);
\draw (S4) -- (S34);
\draw (S12) -- (S123);
\draw (S23) -- (S123);
\draw (S13) -- (S123);
\draw[dashed] (S123) -- (BS);
\draw[dashed] (S14) -- (BS);
\draw[dashed] (S24) -- (BS);
\draw[dashed] (S34) -- (BS);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage[svgnames]{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw[fill] (0,0) circle (.4cm);\draw[color=blue] (2,0) circle (.4cm);\draw[fill] (2,2) circle (.4cm);\draw[color=blue] (0,2) circle (.4cm);\draw[color=blue] (2,4) circle (.4cm);
\draw[fill] (-1,3) circle (.4cm);\draw[color=blue] (-1,-1) circle (.4cm);
\node[color=blue] at (2,0){$1$};\node[color=blue] at (0,2){$2$};\node[color=blue] at (-1,-1){$5$};\node[color=blue] at (2,4){$6$};
\node at (-2.3,3){$\scriptstyle\bf K_2(b_2,b_6)$};
\node at (3.6,2){$\scriptstyle \bf K_3(b_1,b_2,b_6)$};\node at (-1.4,.4){$\scriptstyle\bf K_3(b_1,b_2,b_5)$};
\node[color=red] at (.5,3.8){$\scriptstyle e_6$};\node[color=red] at (-.7,2.3){$\scriptstyle e_2$};
\node[color=red] at (1,2.2){$\scriptstyle e_2$};\node[color=red] at (-.4,1){$\scriptstyle e_2$};\node [color=red] at (2.4,1){$\scriptstyle e_1$};
\node[color=red] at (1,.2){$\scriptstyle e_1$};\node[color=red] at (-.25,-.65){$\scriptstyle e_5$};\node[color=red] at (2.4,3){$\scriptstyle e_6$};
\draw[color=red] (0,.4)--(0,1.6);\draw[color=red] (2,.4)--(2,1.6);\draw[color=red] (0.4,0)--(1.6,0);\draw[color=red] (-0.7,-0.7)--(-0.3,-0.3);\draw[color=red] (2,.4)--(2,1.6);\draw[color=red] (0.4,2)--(1.6,2);
\draw[color=red] (-0.7,2.7)--(-0.3,2.3);\draw[color=red] (-0.6,3)--(1.6,3.85);\draw[color=red] (2,2.4)--(2,3.6);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\begin{tikzpicture}[new set=import nodes]
\begin{scope}[nodes={set=import nodes}]
\node [red] (a) at (0,1) {$a$};
\node [red] (b) at (1,1) {$b$};
\node [red] (d) at (2,1) {$d$};
\end{scope}
\graph {
(import nodes);
a -> b -> c -> d -> e;
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}
\definecolor{color0}{rgb}{0.886274509803922,0.290196078431373,0.2}
\definecolor{color1}{rgb}{0.203921568627451,0.541176470588235,0.741176470588235}
\definecolor{color2}{rgb}{0.596078431372549,0.556862745098039,0.835294117647059}
\definecolor{color3}{rgb}{0.984313725490196,0.756862745098039,0.368627450980392}
\definecolor{color4}{rgb}{0.556862745098039,0.729411764705882,0.258823529411765}
\definecolor{color5}{rgb}{0.75,0,0.75}
\begin{axis}[axis background/.style={fill=white},axis line style={white!89.80392156862746!black},legend cell align={left},legend entries={{\hspace{-.2cm}\textbf{$\rho$}},{0.95},{0.88},{0.81},{0.72},{0.61},{0.38}},legend style={draw=white!80.0!black,fill=white},tick align=outside,tick pos=left,x grid style={white!89.80392156862746!black},xlabel={Score $s$},xmajorgrids,xmin=0.8,xmax=5.2,y grid style={white!89.80392156862746!black},ylabel={$P(U = s)$},ymajorgrids,ymin=-0.05,ymax=1.05]
\addlegendimage{empty legend}\addplot[line width=0.08pt,color0,dashed,mark=*,mark size=4,mark options={solid}]table[row sep=\\]{1 0.72139609375\\2 0.258290625\\3 0.0192515625\\4 0.001040625\\5 2.109375e-05\\};
\addplot[line width=0.08pt,color1,dashed,mark=triangle*,mark size=4,mark options={solid,rotate=180}]table[row sep=\\]{1 0.748496941750038\\2 0.208222542278198\\3 0.038350722665177\\4 0.00464316083489919\\5 0.000286632471687573\\};
\addplot[line width=0.08pt,color2,dashed,mark=diamond*,mark size=4,mark options={solid}]table[row sep=\\]{1 0.77096417921922\\2 0.171207946584666\\3 0.0460910849306944\\4 0.0103372735077423\\5 0.00139951575767982\\};
\addplot[line width=0.08pt,white!46.666666666666664!black,dashed,mark=x,mark size=4,mark options={solid}]table[row sep=\\]{1 0.795829157800537\\2 0.134191333399622\\3 0.0484510529979119\\4 0.017207262603162\\5 0.00432119319876703\\};
\addplot[line width=0.08pt,color3,dashed,mark=pentagon*,mark size=4,mark options={solid}]table[row sep=\\]{1 0.821895746624118\\2 0.0996567312454621\\3 0.0451553265189036\\4 0.0231361667293331\\5 0.0101560288821829\\};
\addplot[line width=0.08pt,color4,dashed,mark=square*,mark size=4,mark options={solid}]table[row sep=\\]{1 0.866684689952905\\2 0.0497367503924647\\3 0.0296816091051805\\4 0.0246877708006279\\5 0.0292091797488226\\};
\addplot[very thick,color5,forget plot]table[row sep=\\]{1.3 0\\1.3 1\\};
\node at (axis cs:1.4,0.8)[anchor=base west,text=black,rotate=0.0]{ $\psi = 1.30$};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\tikz \graph [simple] {
a -> {b,c};
a -> [red] b;
a -> [blue] c;
};
\end{document}
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{angles}
\makeatletter
\tikzset{
pics/backangle/.style = {
setup code = \tikz@lib@angle@parse#1\pgf@stop,
background code = \tikz@lib@angle@background#1\pgf@stop\tikz@lib@angle@foreground#1\pgf@stop,
},
pics/backangle/.default=A--B--C,
}
\makeatother
\begin{document}
\begin{tikzpicture}
\draw [red,thick]
(0,0) coordinate (B) --
(2,0) coordinate (A) --
(2,1.2) coordinate (C) pic[pic text={$\theta$},draw,black,ultra thick,angle radius=8mm,angle eccentricity=1.2]{backangle} --
cycle
;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsfonts,amsthm,mdframed,graphicx}
\usepackage{color, colortbl}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.3]
\draw [line width=1](0,0)--(0,1)--(1,0)--(1,1);
\draw (0,0) node [scale=0.3, circle, draw,fill=black]{};
\draw (0,1) node [scale=0.3, circle, draw,fill=black]{};
\draw (1,0) node [scale=0.3, circle, draw,fill=black]{};
\draw (1,1) node [scale=0.3, circle, draw,fill=black]{};
\node [left] at (0,-0.1){\small$2$};
\node [left] at (0,1.1){\small$1$};
\node [right] at (1,-0.1){\small$4$};
\node [right] at (1,1.1){\small$3$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\def\killdepth#1{{\raisebox{0pt}[\height][0pt]{#1}}}
\def\coord(#1){coordinate(#1)}
\begin{document}
\begin{circuitikz}[american,]
\draw (0,0) node[nmos,](Q1){\killdepth{Q1}};
\draw (Q1.S) to[R, l2^=$R_S$ and \SI{5}{k\ohm}]
++(0,-3) node[vee](VEE){$V_{EE}=\SI{-10}{V}$};
\draw (Q1.D) to[R, l2_=$R_D$ and \SI{10}{k\ohm}]
++(0,3) node[vcc](VCC){$V_{CC}=\SI{10}{V}$};
\draw (Q1.S) to[short] ++(2,0) to[C=$C_1$]
++(0,-1.5) node[ground](GND){};
\path (GND) \coord(GND)
(VCC) \coord(VCC)
(VEE) \coord(VEE);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{patterns}
\usetikzlibrary{calc,scopes}
\usetikzlibrary{backgrounds}
\begin{document}
\begin{tikzpicture}[>=stealth,scale=3.75]
\draw [rounded corners, blue, ->] (0.1,0)--(0,0)--(0,0.5)--(0.1,0.5)--(0.1,0.7) -- (0.4,0.7);
\draw [rounded corners, blue] (0.4,0.7)--(0.7,0.7)--(0.7,0.3)--(0.6,0.3)--(0.6,0.1)--(0.3,0.1)--(0.3,0)--(0.1,0);
\draw [rounded corners, ->] (0.2,0.1) -- (0.1,0.1)--(0.1,0.5) -- (0.25,0.5);
\draw [rounded corners] (0.25,0.5)--(0.4,0.5)--(0.4,0.6)--(0.6,0.6)--(0.6,0.3)--(0.5,0.3)--(0.5,0.2)--(0.3,0.2)--(0.3,0.1)--(0.2,0.1);
\draw [rounded corners, ->] (0.25,0.2)--(0.2,0.2)--(0.2,0.4)--(0.3,0.4);
\draw [rounded corners] (0.3,0.4)--(0.4,0.4)--(0.4,0.5)--(0.5,0.5)--(0.5,0.3)--(0.3,0.3)--(0.3,0.2)--(0.25,0.2);
\draw [blue] (-0.15, 0.1) node {$S_{max}$};
\draw[gray] (0.1,0.5) circle (1.3pt);
\draw[gray] (0.3,0.2) circle (1.3pt);
\draw[gray] (0.3,0.1) circle (1.3pt);
\draw[gray] (0.4,0.5) circle (1.3pt);
\draw[gray] (0.5,0.3) circle (1.3pt);
\draw[gray] (0.6,0.3) circle (1.3pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{pgfplots}
\pgfplotsset{width=10cm,compat=1.9}
\usetikzlibrary{shapes.geometric,decorations.pathreplacing,shapes.arrows,angles,calc,quotes}
\usepackage{pgfplotstable}
\begin{document}
\begin{tikzpicture}[shorten >=1pt]
\tikzstyle{cir}=[circle,fill=black!12,minimum size=17pt,inner sep=0pt]
\tikzstyle{dia}=[diamond,fill=black!30,minimum size=19pt,inner sep=0pt]
\foreach \name/\angle/\text in {P-1/234/v_1, P-5/-54/v_2}
\node[cir,xshift=1cm,yshift=1cm] (\name) at (\angle:1cm) {$\text$};
\foreach \name/\angle/\text in {P-2/162/h_3, P-3/90/h_2, P-4/18/h_1}
\node[dia,xshift=1cm,yshift=1cm] (\name) at (\angle:1cm) {$\text$};
\foreach \from/\to in {1/2,2/3,3/4,4/5,5/1,1/3,2/4,3/5,4/1,5/2} {
\draw (P-\from) -- (P-\to);
}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz\graph{{a,b}->{c[target edge style=red],d},b->c[target edge clear]};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
help lines/.style={gray,very thin},
>=stealth
}
\begin{document}
\begin{tikzpicture}[every node/.style=draw]
\draw[help lines] (0,0) grid (2,2);
\node (some node) at (1,1) {some node};
\node (other node) [above=1cm of some node] {\tiny above=1cm of some node};
\draw [<->] (some node.north) -- (other node.south)
node [midway,right,draw=none] {1cm};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}

\begin{document}
\begin{tikzpicture}[scale=2, line width=1pt]
    % 1. 绘制外圆
    \draw (0,0) circle (1);

    % 2. 绘制右侧蓝色弧线 (纠缠表面/测地线)
    % 使用 arc 命令：从 -45 度到 45 度，半径设为 0.8 以实现向内弯曲的效果
    \draw[blue, very thick] (45:1) to[bend right=45] (-45:1);

    % 3. 绘制内部虚线结构
    % 中心交点设定在 (-0.2, 0) 附近以符合原图比例
    \coordinate (Center) at (-0.2, 0);
    
    % 连接到圆周左上、左下和蓝色弧线中点
    \draw[dashed] (Center) -- (135:1);
    \draw[dashed] (Center) -- (225:1);
    \draw[dashed] (Center) -- (0.6, 0); % 连接到蓝色弧线的内侧端点

    % 4. 放置 phi 标注
    % 标注位置根据虚线路径调整
    \node at (-0.1, 0.4) {$\phi$};
    \node at (-0.1, -0.4) {$\phi$};
    \node at (0.35, 0.2) {$\phi$};

\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.center)]
\draw[thick,-stealth'](3,0)--(0,0);
\draw[thick,-stealth'](3,3)--(0,3);
\draw[thick,-stealth'](3,0)--(3,3);
\draw[thick,-stealth'](0,0)--(0,3);
\node at(1.5,1.5){$\mathbb A^*$};
\node[right] at(3,1.5){$[I]$};
\node[left] at(0,1.5){$[I]$};
\node[above] at(1.5,3){$[P^*]$};
\node[below] at(1.5,0){$[Q^*]$};
\node[below right] at((3,0){W};
\node[above right] at((3,3){X};
\node[above left] at((0,3){Z};
\node[below left] at((0,0){Y};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3mm,dvipsnames]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{patterns}
\usepgfplotslibrary{fillbetween}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}[scale=0.91]
\begin{axis}[
scale only axis,
xlabel={Nap\"atie \(U_{DS} [V]\)},
ylabel={Pr\'ud \(I_D [A]\)},
xmin=0, xmax=20,
ymin=0, ymax=0.8,
grid=major,
legend style={at={(0.5,0.98)},anchor=north}
]
\addplot[blue, line width=1.5pt]
coordinates {(0,0)(1.67,0.16)(1.8,0.18)(2.2,0.2)(17.7,0.22)(18.5,0.25)(19,0.3)(19.8,0.8)};
\addlegendentry{\(U_{GS}\) = 2 V}
\addplot[red, line width=1.5pt]
coordinates {(0,0)(2.2,0.34)(2.35,0.37)(2.9,0.4)(18,0.42)(18.2,0.43)(18.7,0.445)(19,0.48)(19.7,0.8)};
\addlegendentry{\(U_{GS}\) = 2.2 V}
\addplot[green, line width=1.5pt]
coordinates {(0,0)(2.6,0.56)(2.8,0.58)(3.2,0.6)(18,0.62)(18.4,0.64)(18.6,0.65)(19,0.7)(19.6,0.8)};
\addlegendentry{\(U_{GS}\) = 2.4 V}
\addplot[name path=B, black, line width=1pt, smooth, dashed, forget plot]
coordinates {(0,0)(2.2,0.2)(2.9,0.4)(3.2,0.6)(3.5,0.8)};
\addplot[name path=C, black, line width=1pt, smooth, dashed, forget plot]
coordinates {(16.5,0)(17.7,0.22)(18,0.42)(18,0.62)(18.2,0.8)};
\addplot[draw=none, name path=A, forget plot] coordinates {(0,0)(0.01,0.8)};
\addplot[draw=none, name path=D, forget plot] coordinates {(19.9,0)(20,0.8)};
\addplot[pattern=north west lines, pattern color=Apricot, area legend] fill between[of=A and B];
\addlegendentry{Saturation region}
\addplot[pattern=north west lines, pattern color=blue!20] fill between[of=B and C];
\addplot[pattern=north west lines, pattern color=pink] fill between[of=C and D];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (97,190) -- (543,190) ;
\draw [shift={(546,190)}, rotate = 180] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [shift={(94,190)}, rotate = 0] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw (171.98,9) -- (171,190) ;
\draw [shift={(172,6)}, rotate = 90.31] [fill={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.08] [draw opacity=0] (8.93,-4.29) -- (0,0) -- (8.93,4.29) -- cycle ;
\draw [dash pattern={on 0.84pt off 2.51pt}] (172,90) -- (522,91) ;
\draw [dash pattern={on 4.5pt off 4.5pt}] (391.67,193.33) -- (392,60) ;
\draw (171,173.75) .. controls (420.67,174.83) and (308,94) .. (521.5,91.75) ;
\draw [dash pattern={on 0.84pt off 2.51pt}] (171,60) -- (394.8,60.2) ;
\draw (101,188.83) -- (171,188.75) ;
\draw (392.8,60.2) -- (521.14,60.71) ;
\draw (172,142.75) .. controls (421.67,143.83) and (309,63) .. (522.5,60.75) ;
\draw (129,80.4) node [anchor=north west][inner sep=0.75pt] [xscale=0.9,yscale=0.9] {$1-r$};
\draw (384,199.4) node [anchor=north west][inner sep=0.75pt] [xscale=0.9,yscale=0.9] {$c\nu $};
\draw (153,51.4) node [anchor=north west][inner sep=0.75pt] [xscale=0.9,yscale=0.9] {$1$};
\draw (273,150.4) node [anchor=north west][inner sep=0.75pt] [xscale=0.9,yscale=0.9] {$g$};
\draw (425,34.4) node [anchor=north west][inner sep=0.75pt] [xscale=0.9,yscale=0.9] {$F^{\nu }$};
\draw (519.5,195.4) node [anchor=north west][inner sep=0.75pt] [xscale=0.9,yscale=0.9] {$x $};
\draw (274,116.4) node [anchor=north west][inner sep=0.75pt] [xscale=0.9,yscale=0.9] {$F$};
\draw (391.5,114.5) circle (2.5pt);
\filldraw[black] (392,61.0) circle (2.5pt);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx,RPvoltages]{circuitikz}
\usepackage{amsmath}
\def\ctikztextnot#1{$\overline{\text{#1}
}$}\ctikzset{logic ports=ieee,logic ports/scale=0.7}\tikzset{sr-ff/.style={flipflop,flipflop def={t1=S,t2=CP,t3=R,t4={\ctikztextnot{Q}
},t6=Q,nd=1}}}
\begin{document}
\begin{circuitikz}
\draw(0,0)node[sr-ff](FF){}(FF.bup)node[above]{SR-FF}(FF.pin 1)--++(-1,0)node[and port,anchor=out](AND1){}(FF.pin 3)--++(-1,0)node[and port,anchor=out](AND2){};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
\begin{pgfonlayer}{background}
\newcommand\rows{5}
\newcommand\cols{6}
\foreach \row in {1,...,\rows} {
\foreach \col in {1,...,\cols} {
\fill (\col,\row) circle (1pt);
}
}
\end{pgfonlayer}
\node[draw,circle,fill=white, inner sep=2pt] at (4,5) (ball5-5) {5};
\node[draw,circle,fill=white, inner sep=2pt] at (3,4) (ball5-4) {5};
\node[draw,circle,fill=white, inner sep=2pt] at (4,3) (ball5-3) {5};
\node[draw,circle,fill=white, inner sep=2pt] at (4,2) (ball5-2) {5};
\node[draw,circle,fill=white, inner sep=2pt] at (4,1) (ball5-1) {5};
\node[draw,circle,fill=white, inner sep=2pt] at (1,4) (ball4-4) {4};
\node[draw,circle,fill=white, inner sep=2pt] at (5,3) (ball4-3) {4};
\node[draw,circle,fill=white, inner sep=2pt] at (6,2) (ball4-2) {4};
\node[draw,circle,fill=white, inner sep=2pt] at (1,1) (ball4-1) {4};
\node[draw,circle,fill=white, inner sep=2pt] at (6,3) (ball3-3) {3};
\node[draw,circle,fill=white, inner sep=2pt] at (1,2) (ball3-2) {3};
\node[draw,circle,fill=white, inner sep=2pt] at (5,1) (ball3-1) {3};
\node[draw,circle,fill=white, inner sep=2pt] at (3,1) (ball1-1) {1};
\draw (ball5-5) -- (6.7, 4.6);
\draw (0.3,4.6) -- (ball5-4);
\draw (ball5-4) -- (ball5-3);
\draw (ball5-3) -- (ball5-2);
\draw (ball5-2) -- (ball5-1);
\draw (ball4-4) -- (ball4-3.135);
\draw (ball4-3) -- (ball4-2);
\draw (ball4-2) -- (6.7, 1.7);
\draw (0.3, 1.3) --(ball4-1);
\draw (ball3-3) -- (6.7, 2.7);
\draw (0.3, 2.3) -- (ball3-2);
\draw (ball3-2) -- (ball3-1.135);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\tikz
\node [circle, draw,
label=default,
label=60:$60^\circ$,
label=below:$-90^\circ$,
label=3:$3^\circ$,
label=2:$2^\circ$,
label={[below]180:$180^\circ$},
label={[centered]135:$135^\circ$}] {my circle};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{cd}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{decorations.text}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{arrows}
\usetikzlibrary{positioning}
\usepackage{amssymb}
\usepackage{amsmath}
\newcommand{\smooth}[1]{\tilde{#1}
}
\begin{document}
\begin{tikzpicture}
\path[draw, ->] (0, 0) -- ++(30:2) coordinate[pos=0.5] (target-tail) -- ++(up:1.5) coordinate[pos=0.5] (target-middle) coordinate (5-head);
\path[draw] (5-head) -- ++(30:2) coordinate[pos=0.5] (target-head) node[near end, below] {$ \smooth L_2 $};
\path[draw, ->] (3.1, 0) -- ++(150:2) coordinate[pos=0.5] (source-tail) -- ++(up:1.5) coordinate[pos=0.5] (source-middle) coordinate (2-head);
\path[draw] (2-head) -- ++(150:2) node[near end, below] {$ \smooth L_1 $} coordinate[pos=0.5] (source-head);
\path (source-middle) -- (target-middle) coordinate[pos=0.5] (middle);
\path[draw, thick, rounded corners, ->] ($ (middle)!2!(target-tail) $) -- (middle) coordinate[pos=0.7] (target2)-- ($ (middle)!2!(target-head) $) coordinate[pos=0.2] (target);
\path[draw, thick, rounded corners, ->] ($ (middle)!2!(source-tail) $) -- (middle) coordinate[pos=0.7] (source) -- ($ (middle)!2!(source-head) $) coordinate[pos=0.2] (source2);
\path[fill] (middle) circle(0.1) node[left, shift={(left:0.1)}] {$ p $};
\path[draw, ->, bend right=60] (source) to (target);
\path[draw, ->, bend right=60] (source2) to (target2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows, automata, positioning}
\tikzset{reflexive above/.style={->,loop,looseness=7,in=60,out=120, above}
}
\begin{document}
\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=5cm, semithick, initial left, initial text={},state/.style={circle, draw, minimum size=0.3cm, inner sep=1}]
\node[initial, state] (s0) {$s_0$};
\node[state] (s1) [right of=s0, shift={(0, 1.5)}] {$s_1$};
\node[state] (s2) [right of=s1, shift={(0, -1.5)}] {$s_2$};
\node[state] (s3) [above of=s1, shift={(0, -3cm)}] {$s_3$};
\draw[sloped, above, bend left=15] (s0) edge node[align=center]{$a(i_a/A(i_a+r_b)$} (s1);
\draw[sloped, above, bend left=35] (s0) edge node[align=center]{$b(i_b)/B$} (s3);
\draw[sloped, above, bend left=15] (s1) edge node[align=center]{$a(i_a)[r_a \ge r_b]/B$} (s2);
\draw[above] (s1) edge node[align=center, shift={(0, -0.5)}]{$a(i_a)[r_a < r_b]/$\\$A(i_a * r_b)$} (s3);
\draw[sloped, above, bend left=15] (s1) edge node[align=center]{$b(i_b)/B$} (s0);
\draw[sloped, above, bend left=15] (s2) edge node[align=center]{$a(i_a)/B$} (s1);
\draw[sloped, above] (s2) edge node[align=center]{$b(i_b)/B$} (s0);
\draw[sloped, above, bend right=15] (s3) edge node[align=center]{$a(i_a)/A(i_a \times r_b)$} (s0);
\draw[sloped, above, bend left=15] (s3) edge node[align=center]{$b(i_b)[i_b < r_a]/B$} (s2);
\draw (s3) edge [reflexive above, right] node[align=center, shift={(0.2, -0.2)}]{$b(i_b)[i_b \ge r_a]/B$} (s3);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [branch down=5mm] {
{ [fresh nodes]
a -> {
b -> {c, c},
b -> {c, c},
b -> {c, c},
}
},
b' -- b''
};
\end{document}
\documentclass[margin=3.14159mm]{standalone}
\usepackage{forest}
\forestset{myedge/.style={for tree={circle, draw, minimum size=1.1em, inner sep=0pt, l sep=8mm, s sep=8mm}}}
\begin{document}
\begin{forest}myedge [a [c] [b [d] [e]]] \end{forest}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfkeys}
\usetikzlibrary{calc,patterns,angles,quotes}
\begin{document}
\begin{tikzpicture}
\node at (3, -0.3) {$\vec{V_0}$};
\draw [-stealth, line width=0.25mm] (0, 0) to (6, 0);
\node at (6.2, -0.3) {$\vec{V_2}$};
\draw [-stealth, line width=0.25mm] (6, 0) to (6.5, 0);
\node at (6.8, 0.5) {$\vec{V_1}$};
\draw [-stealth, line width=0.25mm] (6.5, 0) to (6.5, 1);
\draw [-stealth, line width=0.25mm] (0, 0) to (6.5, 1);
\node at (3.5, 1) {$\vec{V_{total}}$};
\draw (1.45, 0.) to[out=50,in=-20] node[below left=2pt] {$\phi$} (1.4, 0.23);
\node at (9, -0.3) {$\vec{E}$};
\draw [-stealth, line width=0.25mm] (8, 0) to (10, 0);
\draw [-stealth, line width=0.25mm] (8, 0) to (10.5, 0.25);
\draw [-stealth, line width=0.25mm] (8, 0) to (10, 0.5);
\draw [-stealth, line width=0.25mm] (8, 0) to (8, 2);
\node at (7.7,1) {$\vec{V_1}$};
\node at (10.8,0.3) {$\vec{V_2}$};
\node at (9,0.7) {$\vec{B}$};
\draw[red] (9, 0.) to[out=50,in=-20] node[below left=2pt, red] {$\delta$} (9, 0.23);
\end{tikzpicture}
\end{document}