JackieLin0123/SciTikZ-Bench huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing,decorations.markings}
\tikzset{
  on each segment/.style={
    decorate,
    decoration={
      show path construction,
      moveto code={},
      lineto code={
        \path[#1]
        (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast);
      },
      curveto code={
        \path[#1] (\tikzinputsegmentfirst)
        .. controls
        (\tikzinputsegmentsupporta) and (\tikzinputsegmentsupportb)
        ..
        (\tikzinputsegmentlast);
      },
      closepath code={
        \path[#1]
        (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast);
      },
    },
  },
  mid arrow/.style={postaction={decorate,decoration={
        markings,
        mark=at position .5 with {\arrow[#1]{stealth}}
      }}},
}

\begin{document}
\begin{tikzpicture}[baseline=-.5ex]
\draw[fill] (0, -0.5) circle (2pt) node[below=2ex, left=-.5ex] {$a$};
\draw[fill] (1, -0.5) circle (2pt) node[right] {$d$};
\draw[fill] (0, 0.5) circle (2pt) node[above=2ex, left] {$i$};
\draw[fill] (1, 0.5) circle (2pt) node[right] {$e$};
\draw[fill] (0, -1.5) circle (2pt) node[below left] {$b$};
\draw[fill] (1, -1.5) circle (2pt) node[below right] {$c$};
\draw[fill](1, 0.5) ++(72:1) circle (2pt) node[right] {$f$} ++(144:1) circle(2pt) node[above] {$g$} ++(216:1) circle(2pt) node[left] {$h$};
\draw[fill] (-1.5,1.5) circle (2pt) node[above left] {$j$};
\draw[fill] (-1.5,0.5) circle (2pt) node[left] {$k$};
\draw[fill] (-1.5,-0.5) circle (2pt) node[left] {$\ell$};
\draw[fill] (-1.5,-1.5) circle (2pt) node[below left] {$m$};
\draw (0.5,0.5) node[above=-.5ex] {$e_1$} (0,0) node[right=-1ex] {$e_2$} (0.5,-0.5) node[below=-.5ex] {$e_3$};
\draw[color=black, fill=red, fill opacity=0.2](0, -1.5) rectangle node[opacity=1, below] {$C_4$} (1,-0.5);
\draw[color=black, fill=yellow, fill opacity=0.2](1, 0.5) -- ++(72:1) -- ++(144:1) -- ++(216:1) -- ++(288:1);
\draw (0.5, 1) node[opacity=1, above] {$C_1$};
\draw[color=red, fill=white, fill opacity=0.2](0, -0.5) -- (-1.5, 1.5) -- ++(0,-1) node[opacity=1, above=1.5ex, right=-.5ex] {$C_2$} -- (0, 0.5);
\draw[color=blue, fill=black, fill opacity=0.2](0, 0.5) -- (-1.5, -1.5) -- ++(0,1) node[opacity=1, below=1.5ex, right=-0.5ex] {$C_3$} -- (0, -0.5);
\draw[color=black, fill=blue, fill opacity=0.2](0, -0.5) rectangle node[opacity=1, right=-1ex] {$C_0$} (1,0.5);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[baseline=-.5ex]
\draw[fill]
(0, -0.5) circle (2pt) node[below] {$f$} -- node[midway, right] {$\scriptstyle 3$}
(0, 0.5) circle (2pt) node[above] {$c$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage[compat=1.1.0]{tikz-feynman}

\begin{document}
\begin{tikzpicture}
\begin{feynman}
    \vertex (a); 
    \vertex[right=0.5cm of a] (b);
    \vertex[right=1cm of b] (c); 
    \vertex[right=1cm of c] (d);
    \vertex[right=1cm of d] (e); 
    \vertex[right=.5cm of e] (f);
    \diagram* {
        (b) -- [scalar,half left] (c),
        (d) -- [fermion, half left] (e)
    };
    \draw[thick,blue] (a) -- (f);
    \draw[fill=black] (d) circle (3pt);
    \draw[fill=black] (e) circle (3pt);
    \draw[fill=white] (b) circle (2pt);
    \draw[fill=white] (c) circle (2pt);
\end{feynman}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage[compat=1.1.0]{tikz-feynman}

\begin{document}
\begin{tikzpicture}
\begin{feynman}
    \vertex (a);
    \vertex[right=0.5cm of a] (b);
    \vertex[right=1cm of b] (c);
    \vertex[right=1cm of c] (d);
    \vertex[right=1cm of d] (e);
    \vertex[right=.5cm of e] (f);
    \diagram* {
        (c) -- [scalar, half left] (d),
        (e) -- [fermion, half right] (b)
    };
    \draw[thick, blue] (a) -- (f);
    \draw[fill=black] (b) circle (3pt);
    \draw[fill=black] (e) circle (3pt);
    \draw[fill=white] (c) circle (2pt);
    \draw[fill=white] (d) circle (2pt);
\end{feynman}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix, positioning, fit, arrows.meta}

\newcommand{\G}{\mathcal{G}}

\begin{document}
\begin{tikzpicture}[
  font=\ttfamily,
  mymatrix/.style={matrix of nodes, nodes=typetag, row sep=1em},
  mycontainer/.style={draw=gray, inner sep=1ex},
  typetag/.style={circle, draw=gray, inner sep=1ex, anchor=west},
  title/.style={draw=none, color=black, inner sep=0pt},
  myarrowR/.style={-Stealth, thick, bend right, black},
  myarrowL/.style={-Stealth, thick, bend left, black}
]
  \matrix[mymatrix] (mx1) {
    $v_s$ & |[title]|$\quad$ &
    $v^r_1$ &|[title]|$\quad$ & |[title]|$\cdots$ &|[title]|$\quad$ & $v^r_R$ &|[title]|$\quad$ &$v_e$\\
  };
  \matrix[mymatrix, below=4cm of mx1, matrix anchor=center] (mx2) {
    $v_i$ &|[title]|$\quad$ & |[title]|$\cdots$ &|[title]|$\quad$ & $v_j$\\
    |[title]|$\vdots$ & |[title]|$\quad$& &|[title]|$\quad$ & |[title]|$\vdots$\\
    $v_k$ &|[title]|$\quad$ & |[title]|$\cdots$ &|[title]|$\quad$ & $v_l$\\
  };
  \node[mycontainer, fit=(mx1)] {};
  \node[mycontainer, fit=(mx2)] {};
  \draw[myarrowR,red](mx1-1-1) edge (mx2);
  \draw[myarrowR,orange](mx1-1-3) edge (mx2);
  \draw[myarrowR,orange](mx2) edge (mx1-1-3);
  \draw[myarrowR,orange](mx1-1-5) edge (mx2);
  \draw[myarrowR,orange](mx2) edge (mx1-1-5);
  \draw[myarrowL,orange](mx1-1-7) edge (mx2);
  \draw[myarrowL,orange](mx2) edge (mx1-1-7);
  \draw[myarrowR,blue](mx2) edge (mx1-1-9);
  \draw[myarrowR,very thin](mx2-1-1) edge (mx2-1-3);
  \draw[myarrowR,very thin](mx2-1-3) edge (mx2-1-1);
  \draw[myarrowR,very thin](mx2-1-3) edge (mx2-1-5);
  \draw[myarrowR,very thin](mx2-1-5) edge (mx2-1-3);
  \draw[myarrowR,very thin](mx2-3-1) edge (mx2-3-3);
  \draw[myarrowR,very thin](mx2-3-3) edge (mx2-3-1);
  \draw[myarrowR,very thin](mx2-3-3) edge (mx2-3-5);
  \draw[myarrowR,very thin](mx2-3-5) edge (mx2-3-3);
  \draw[myarrowR,very thin](mx2-1-1) edge (mx2-2-1);
  \draw[myarrowR,very thin](mx2-2-1) edge (mx2-1-1);
  \draw[myarrowR,very thin](mx2-2-1) edge (mx2-3-1);
  \draw[myarrowR,very thin](mx2-3-1) edge (mx2-2-1);
  \draw[myarrowR,very thin](mx2-1-5) edge (mx2-2-5);
  \draw[myarrowR,very thin](mx2-2-5) edge (mx2-1-5);
  \draw[myarrowR,very thin](mx2-2-5) edge (mx2-3-5);
  \draw[myarrowR,very thin](mx2-3-5) edge (mx2-2-5);
  \node[gray, above=2mm of mx1] {Depot};
  \node[gray, below=2mm of mx2] {Graph $\G^{sp}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[line width=6.5]
    \draw[black] (-4,-4) -- (0,0);
    \draw[black] (-4,4) -- (0,0);
    \draw[black] (4,4) -- (0,0);
    \draw[black] (4,-4) -- (0,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{colorbrewer}
\pgfplotsset{compat=1.15}

\begin{document}

\begin{tikzpicture}
\begin{axis}[
    ybar,
    ymin=0,
    height=100pt,
    width=0.9\columnwidth,
    bar width=10mm,
    legend style={at={(0.5,1.5)},
        draw=none,
        /tikz/every even column/.append style={column sep=0.5cm},
        anchor=north,
        legend columns=-1},
    ylabel={Time (sec)},
    enlarge x limits=0.5,
    enlarge y limits=0.01,
    cycle list/Blues-3,
    every axis plot/.append style={fill},
    ymajorgrids,
    xtick style={draw=none},
    ytick style={draw=none},
    symbolic x coords={{1 machine},{12 machines}},
    xtick=data,
    xticklabel style={align=center},
    ]
  \addplot[draw=none, fill=Blues-F] coordinates {({1 machine},57) ({12 machines},66)};
  \addplot[draw=none, fill=Blues-I] coordinates {({1 machine},57) ({12 machines},792)};
    \legend{Execution time, Execution cost}
\end{axis}
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[thick, baseline={([yshift=-.5ex]current bounding box.center)}]
    \draw (-2,0) to [out=45, in=135] (2,0);
    \draw [->] (-2.8,0.6) -- (-2.2,0.3);
    \draw [->] (-2.8,-0.6) -- (-2.2,-0.3);
    \draw node at (-2.5,0.7) {$p_2$};
    \draw node at (-2.5,-0.7) {$p_3$};
    \draw (-2,0) to [out=-45, in=-135] (2,0);
    \draw [->] (-0.3,1.0) to [out=20, in=160] (0.3,1.0);
    \draw node at (0,0.5) {$k$};
    \draw [<-] (-0.3,-1.0) to [out=-20, in=-160] (0.3,-1.0);
    \draw node at (0,-0.5) {$k+p_1$};
    \draw (-3,0.5) -- (-2,0);
    \draw (-3,-0.5) -- (-2,0);
    \draw (2,0) -- (3,0);
    \draw [<-] (2.2,-0.2) -- (2.8,-0.2);
    \draw node at (2.5,-0.5) {$p_1$};
\end{tikzpicture}
\end{document}
\documentclass[standalone]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{positioning,fit,calc,decorations,arrows,shapes,shapes.geometric}
\tikzset{
  center base/.style={baseline={([yshift=-.8ex]current bounding box.center)}},
  dpad0/.style={outer sep=0.05em, inner sep=0.3em, draw=gray!75, rounded corners=4, fill=black!08, fill opacity=1, align=center},
  arr2/.style={draw, ->, thick, shorten <=2pt, shorten >=2pt}
}

\begin{document}
\begin{tikzpicture}[center base]
  \node[dpad0] (X) {$X$};
  \draw[arr2, <-] (X) --
    node[above, inner sep=2pt, pos=0.6] {$p$}
    node[below, inner sep=2pt, pos=0.65] {${\color{gray}\scriptscriptstyle(\beta)}$}
    ++(-1.1,0);
  \draw[arr2, <-] (X) --
    node[above, inner sep=2pt, pos=0.6] {$q$}
    node[below, inner sep=2pt, pos=0.65] {${\color{gray}\scriptscriptstyle(1-\beta)}$}
    ++(1.1,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}

\begin{document}
\begin{tikzpicture}[scale=1.5]
  \draw[-] (0, -0.8) -- (0, -0.3);
  \draw[-] (0, 0.65) -- (0, 0.3);
  \node[draw,circle] at (0,0) {$\scriptstyle a+b$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[compat=1.1.0]{tikz-feynman}

\begin{document}
\begin{tikzpicture}
	\begin{feynman}
		\vertex (a) {\(d_{L}\)};
		\vertex [below right=18mm of a] (b)  [label={ [yshift=0.1cm] \small $\beta_{de}$}];
		\vertex [above right=of b] (c) {\(e_{L}\)};
		\vertex [below=of b] (f1) [label={ [yshift=-0.7cm] \small $\beta_{s\mu}$}];
		\vertex [below left=of f1] (f2) {\(s_{L}\)};
		\vertex [below right=of f1] (f3) {\(\mu_{L}\)};
		\diagram* {
			(a) -- [fermion] (b) -- [fermion] (c),
			(b) -- [boson, blue, edge label'=\(U_{1}\)] (f1),
			(f1) -- [fermion] (f2),
			(f1) -- [anti fermion] (f3),
		};
	\end{feynman}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
    position/.style args={#1:#2 from #3}{
        at=(#3.#1), anchor=#1+180, shift=(#1:#2)
    }
}

\begin{document}
\begin{tikzpicture}
  \node (o) {}; 
  \node [position=0:2 from o] (a) {$p_1 = \frac{Q}{3}(1,0,0,1)$};
  \node [position=120:2 from o] (b) {};
  \node [position=240:2 from o] (c) {};
  \node [below right=0.3 of b] {$~~p_2=\frac{Q}{3}(1,0,\frac{\sqrt{3}}{2},-\frac{1}{2})$};
  \node [above right=0.3 of c] {$~~p_3=\frac{Q}{3}(1,0,-\frac{\sqrt{3}}{2},-\frac{1}{2})$};
  \draw[-latex, line width=1mm, red!70] (o) -- (a);
  \draw[-latex, line width=1mm, red!70] (o) -- (b);
  \draw[-latex, line width=1mm, red!70] (o) -- (c);
  \draw[fill=lightgray] (o) circle[radius=0.2];
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}

\newcommand{\calA}{{\mathcal{A}}}
\newcommand{\calB}{{\mathcal{B}}}

\begin{document}

\begin{tikzpicture}
	\draw[step=1.0,gray,thin] (-0.5,-0.5) grid (4.5,2.5);
	\draw[black!20!blue,line width=0.5mm] (3,1) -- (4,1) -- (4,2) -- (3,2) -- cycle;
	\draw[black!30!red,line width=0.5mm] (0,1) -- (1,1) -- (1,2);
	\draw[black!30!red,line width=0.5mm] (1,0) -- (1,1) -- (2,1);
	\node[black!30!red,thick] at (1.3,1.3) {\footnotesize $\textcolor{red}{\calA_v}$};
	\node[black] at (1.65,0.8) {\footnotesize $l_1$};
	\node[black] at (0.45,1.23) {\footnotesize $l_3$};
	\node[black] at (0.8,0.45) {\footnotesize $l_4$};
	\node[black] at (1.25,1.68) {\footnotesize $l_2$};
	\node[black!30!blue] at (3.5,1.5) {\footnotesize $\textcolor{blue}{\calB}_{p}$};
	\node[black] at (3.5,0.8) {\footnotesize $p_1$};
	\node[black] at (3.5,2.2) {\footnotesize $p_3$};
	\node[black] at (4.3,1.5) {\footnotesize $p_2$};
	\node[black] at (2.7,1.5) {\footnotesize $p_4$};
	\node[circle,draw=black!30!red,thick,fill=black!30!red,inner sep=0pt,minimum size=3pt] at (0.5,1) {};
	\node[circle,draw=black!30!red,thick,fill=black!30!red,inner sep=0pt,minimum size=3pt] at (1.5,1) {};
	\node[circle,draw=black!30!red,thick,fill=black!30!red,inner sep=0pt,minimum size=3pt] at (1,0.5) {};
	\node[circle,draw=black!30!red,thick,fill=black!30!red,inner sep=0pt,minimum size=3pt] at (1,1.5) {};
	\node[circle,draw=black!30!blue,thick,fill=black!30!blue,inner sep=0pt,minimum size=3pt] at (3,1.5) {};
	\node[circle,draw=black!30!blue,thick,fill=black!30!blue,inner sep=0pt,minimum size=3pt] at (4,1.5) {};
	\node[circle,draw=black!30!blue,thick,fill=black!30!blue,inner sep=0pt,minimum size=3pt] at (3.5,1) {};
	\node[circle,draw=black!30!blue,thick,fill=black!30!blue,inner sep=0pt,minimum size=3pt] at (3.5,2) {};
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[very thick,scale=0.4]
\tikzstyle{every node}=[circle, draw=black, fill=white, inner sep=0pt, minimum width=3pt];

\path (0,0) node (p1) {};
\path (3,0) node (p2) {};
\path (0,3) node (p3) {};
\path (3,3) node (p4) {};
\path (1.5,1.5) node (p5) {};
\path (4.5,1.5) node (p6) {};
\path (1.5,4.5) node (p7) {};
\path (4.5,4.5) node (p8) {};

\draw (p1) -- (p2);
\draw (p1) -- (p3);
\draw (p4) -- (p2);
\draw (p4) -- (p3);

\draw (p5) -- (p7);
\draw (p7) -- (p8);
\draw (p6) -- (p5);
\draw (p6) -- (p8);

\draw (p1) -- (p5);
\draw (p2) -- (p6);
\draw (p4) -- (p8);
\draw (p7) -- (p3);

\draw[gray,->] (p1) -- (-0.6,-0.6);
\draw[gray,->] (p2) -- (3.6,0.6);
\draw[gray,->] (p3) -- (-0.6,2.4);
\draw[gray,->] (p4) -- (3.6,3.6);
\draw[gray,->] (p5) -- (0.9,0.9);
\draw[gray,->] (p6) -- (5.1,2.1);
\draw[gray,->] (p7) -- (0.9,3.9);
\draw[gray,->] (p8) -- (5.1,5.1);

\node[draw=white, fill=white] at (2,-1.1) {(d)};
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}

\begin{document}

\begin{tikzpicture}
\begin{axis}[
    ybar,
    width=8.5cm,
    height=4cm,
    enlargelimits=0.12,
    legend style={at={(0.7,1)},
      anchor=north,legend columns=-1, font=\footnotesize},
    ylabel={Mean Avg Precision},
    symbolic x coords={IMDb,Corona,Audit,Politifact,Snopes},
    xtick=data,
    nodes near coords align={vertical},
    ]
\addplot coordinates {(Audit,0.580) (Politifact,0.115) (Snopes,0.310) (IMDb,0.514) (Corona,0.580)};
\addplot coordinates {(Audit,0.587) (Politifact,0.274) (Snopes,0.452) (IMDb,0.422) (Corona,0.725)};
\addplot coordinates {(Audit,0.641) (Politifact,0.343) (Snopes,0.601) (IMDb,0.608) (Corona,0.763)};

\legend{Normal,TFIDF,Intersect}
\end{axis}
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
    \tikzstyle{vertex}=[circle,draw,minimum size=1.2em,inner sep=0.2];
    \node[vertex] (x1) at (0,1.3) {$x_1$};
    \node[vertex] (x2) at (1.3,1.3) {$x_2$};
    \node[vertex] (x3) at (1.3,0) {$x_3$};
    \node[vertex] (x4) at (0,0) {$x_4$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\begin{document}
\begin{tikzpicture}[scale=2]
\path[draw] (0, 0) -- ++(45:1) node[midway, left] {$ a_2^3 $} -- ++(315:0.7) node[midway, left] {$ a_1^3 $} coordinate (B);
\path[draw, -{To[width=0.2cm, length=0.3cm]}] (B) -- ++(up:1.2) node[midway, left] {$ a $} coordinate (A);
\path[draw] (A) -- ++(315:0.7) node[midway, right] {$ a_1^2 $} -- ++(45:1) node[midway, left] {$ a_2^2 $};
\path[draw] (A) -- ++(225:0.7) node[midway, left] {$ a_1^1 $} -- ++(135:1) node[midway, right] {$ a_2^1 $};
\path[draw] (A) -- ++(down:1.2) node[pos=0.6, right] {} -- ++(45:0.7) node[midway, right] {$ a_1^4 $} -- ++(315:1) node[midway, right] {$ a_2^4 $};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}

\begin{document}
\begin{tikzpicture}[scale=0.2]
\draw[thick](0,20)--(-19.3,-5.2) (0,20)--(-5.2,-19.3)(0,20)--(-10,-17.3)(0,20)--(-17.3,-10)(0,20)--(-14,-14)(0,20)--(-20,0)(0,20)--(-19.3,5.2)(0,20)--(-14,14)(0,20)--(-17.3,10)(0,20)--(-10,17.3);
\draw[thick](0,20)--(10,-17.3)(0,20)--(17.3,-10)(0,20)--(20,0)(0,-20)--(0,20)(0,20)--(17.3,10)(0,20)--(10,17.3);
\draw[black,thick](10,17.3)--(17.3,10)--(20,0)--(17.3,-10)--(10,-17.3)--(0,-20);
\draw[fill=black] (19.3,5.2) circle (15pt);
\draw[fill=black] (-19.3,5.2) circle (15pt);
\draw[fill=black] (-19.3,-5.2) circle (15pt);
\draw[fill=black] (19.3,-5.2) circle (15pt);
\draw[fill=black] (14,14) circle (15pt);
\draw[fill=black] (-14,14) circle (15pt);
\draw[fill=black] (-14,-14) circle (15pt);
\draw[fill=black] (14,-14) circle (15pt);
\draw[fill=black] (5.2,19.3) circle (15pt);
\draw[fill=black] (-5.2,19.3) circle (15pt);
\draw[fill=black] (-5.2,-19.3) circle (15pt);
\draw[fill=black] (5.2,-19.3) circle (15pt);
\draw[thick] (0,0) circle (20cm);
\draw[fill=black] (20,0) circle (15pt);
\draw[fill=black] (-20,0) circle (15pt);
\draw[fill=black] (0,20) circle (15pt);
\draw[fill=black] (0,-20) circle (15pt);
\draw[fill=black] (17.3,10) circle (15pt);
\draw[fill=black] (10,17.3) circle (15pt);
\draw[fill=black] (-17.3,10) circle (15pt);
\draw[fill=black] (-10,17.3) circle (15pt);
\draw[fill=black] (-17.3,-10) circle (15pt);
\draw[fill=black] (-10,-17.3) circle (15pt);
\draw[fill=black] (17.3,-10) circle (15pt);
\draw[fill=black] (10,-17.3) circle (15pt);
\node at (-6,21) {$v_n$};
\node at (-6,-21) {$v_{\frac{n}{2}+1}$};
\node at (6,21) {$v_2$};
\node at (12,18) {$v_3$};
\node at (12,-20) {$v_{\frac{n}{2}-2}$};
\node at (-12,20) {$v_{n-1}$};
\node at (0,23) {$v_1$};
\node at (0,-23) {$v_{\frac{n}{2}}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[scale=.25]
\draw[gray] (0,0) to (6,6) to (12,0) to (6,-6) to (0,0);
\filldraw[lightgray] (0,0) to (2,2) to (3,1) to (1,-1) to (0,0);
\filldraw[lightgray] (3,1) to (6,4) to (10,0) to (8,-2) to (7,-1) to (6,-2) to (3,1);
\filldraw[lightgray] (10,0) to (11,1) to (12,0) to (11,-1) to (10,0);
\draw[very thick] (0,0) to (1,1) to (2,2) to (3,1) to (4,0) to (5,-1) to (6,-2) to (7,-1) to (8,-2) to (9,-1) to (10,0) to (11,1) to (12,0);
\draw (0,0) to (1,-1) to (2,0) to (3,1) to (4,2) to (5,3) to (6,4) to (7,3) to (8,2) to (9,1) to (10,0) to (11,-1) to (12,0);
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.5]
\draw (0,0) circle (1);
\draw (6,0) circle (2);
\draw (9,0) circle (1);
\foreach \i in {-1,-2,-3,1,2,3,4,8,10,11}{
\fill (\i,0) circle (2pt);
}
\draw [-] (1,0)--(4,0);
\draw [-] (-1,0)--(-3,0);
\draw [-] (10,0)--(11,0);

\foreach \x in {-45,0,45,120,150,180,210,240}{
\fill ({sin(\x)},{cos(\x)}) circle (2pt);
}
\foreach \x in {-45,0,45,120,150,180,210,240}{
\fill ({2*sin(\x)+6},{2*cos(\x)}) circle (2pt);
}

\foreach \x in {0,135,180,225}{
\fill ({sin(\x)+9},{cos(\x)}) circle (2pt);
}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,matrix}

\tikzset{
	prop/.style={draw,ultra thick},
	vertex/.style={circle,thick,draw=black,fill=black!20,minimum size=18pt,inner sep=3pt},
	outdens/.style={rectangle,thick,draw=black,fill=black!20,minimum size=18pt,inner sep=3pt}
}

\begin{document}
\begin{tikzpicture}[baseline={([yshift=-.5ex]current bounding box.center)}]
	\node[vertex] (I1) at (-3,0) {$1$};
	\node[vertex] (I2) at (-1.5,0) {$2$};
	\node[outdens] (D1) at (0,0) {$k_1$, $t$};
	\node[outdens] (D2) at (0,-0.8) {$k_2$, $t$};
	\draw[prop] (I1) -- (I2);
	\draw[prop] (I2) -- (D1);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{arrows.meta}

\begin{document}
\begin{tikzpicture}[
    soldot/.style={color=blue, only marks, mark=*},
    dimarrow/.style={<->, >=Latex, line width=1pt}
]
\begin{axis}[
    width=8.5cm, height=5cm,
    axis line style={line width=1.5pt},
    xmajorgrids=true,
    ymajorgrids=true,
    grid style=solid,
    axis x line=middle, axis y line=middle,
    y label style={at={(axis description cs:-0.05,.5)}, rotate=90, anchor=south},
    x label style={at={(axis description cs:.5,-.15)}, anchor=south},
    xmin=1, xmax=7.5,
    ymin=0, ymax=5,
    xtick={1,2,...,7},
    ytick={0,1,2,...,5},
    xlabel={$t$},
    ylabel={$U(t)$}
]

\foreach \x in {1,2} \addplot[soldot] coordinates{(\x,0)};
\foreach \x in {3} \addplot[soldot] coordinates{(\x,1)};
\foreach \x in {4} \addplot[soldot] coordinates{(\x,3)};
\foreach \x in {5} \addplot[soldot] coordinates{(\x,3)};
\foreach \x in {6} \addplot[soldot] coordinates{(\x,3)};
\foreach \x in {7} \addplot[soldot] coordinates{(\x,4)};

\draw[dimarrow] (axis cs:1,1) -- (axis cs:3,1) node[midway, above] {$\ell(X_1)$};
\draw[dashed] (axis cs:3,0) -- (axis cs:3,1);

\draw[dimarrow] (axis cs:3,3) -- (axis cs:4,3) node[midway, above] {$\ell(X_3)$};
\draw[dashed] (axis cs:3,1) -- (axis cs:4,1);
\draw[dashed] (axis cs:4,1) -- (axis cs:4,3);

\draw[dashed] (axis cs:4,3) -- (axis cs:7,3);
\draw[dimarrow] (axis cs:4,4) -- (axis cs:7,4) node[midway, above] {$\ell(X_4)$};
\draw[dashed] (axis cs:7,3) -- (axis cs:7,4);
\draw[dashed] (axis cs:7,4) -- (axis cs:7.5,4);

\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}

\begin{document}
\begin{tikzpicture}[scale=0.7]
\node (v1) at (0,-0.5) [circle, draw = black, fill = black, inner sep = 0.5mm, label=left:{$1$}] {};
\node (v2) at (0,0.5) [circle, draw = black, fill = black, inner sep = 0.5mm, label=left:{$2$}] {};
\node (v3) at (0,1.5) [circle, draw = black, fill = black, inner sep = 0.5mm, label=left:{$3$}] {};
\node (v4) at (-0.5,2.5) [circle, draw = black, fill = black, inner sep = 0.5mm, label=left:{$4$}] {};
\node (v5) at (0.5,2.5) [circle, draw = black, fill = black, inner sep = 0.5mm, label=right:{$5$}] {};
\draw (v1)--(v2)--(v3)--(v4);
\draw (v3)--(v5);
\node at (0,-1.5) {$\mathcal{P}_3$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{int/.style={circle,draw,fill,inner sep=2pt}}

\begin{document}
\begin{tikzpicture}
    \node (w) at (0,0) {$\omega$};
    \node[int] (v1) at (0.7,0) {};
    \node[int] (v2) at (1.4,0) {};
    \node[] (vd) at (2.1,0) {$\cdots$};
    \node[int] (vn) at (2.8,0) {};
    \node[] (e) at (3.5,0) {$\epsilon$};
    \node (w1) at (0.7,-.7) {$1$};
    \node (w2) at (1.4,-.7) {$2$};
    \node (wn) at (2.8,-.7) {$n$};
    \draw (v1) edge (w) edge (v2) edge (w1)
    (vd) edge (vn) edge (v2)
    (v2) edge (w2)
    (vn) edge (e) edge (wn);
\end{tikzpicture}
\end{document}