Skip to content

Commit

Permalink
tccc => c4
Browse files Browse the repository at this point in the history
  • Loading branch information
hengxin committed Jul 23, 2024
1 parent 0252f56 commit 2d6e1b4
Show file tree
Hide file tree
Showing 106 changed files with 16 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
\usepackage{tikz}
\usetikzlibrary{shapes, positioning, arrows.meta, decorations.pathmorphing}

\def\ldist{0.60}

\begin{document}
\begin{tikzpicture}[
node distance = 1.00cm and 1.30cm,
Expand All @@ -23,22 +25,26 @@
% t2:
\node[txn, right = of t1,
label = below : $t_{2}$,
label = above : {$\langle 2, 0 \rangle$}]
label = above : {$\langle 2, 0 \rangle$},
label = {[label distance = \ldist cm]above : {\red{$\langle 2, 1 \rangle$}}}]
(t2) {$\cdots$};
% t3:
\node[txn, right = of t2,
label = below : $t_{3}$,
label = above : {$\langle 3, 2 \rangle$}]
label = above : {$\langle 3, 0 \rangle$},
label = {[label distance = \ldist cm]above : {\blue{$\langle 3, 2 \rangle$}}}]
(t3) {$\cdots$};
% t4:
\node[txn, right = of t3,
label = below : $t_{4}$,
label = above : {$\langle 4, 2 \rangle$}]
label = above : {$\langle 4, 0 \rangle$},
label = {[label distance = \ldist cm]above : {\blue{$\langle 4, 2 \rangle$}}}]
(t4) {$\cdots$};
% t100:
\node[txn, right = of t4,
label = below : $t_{100}$,
label = above : {$\langle 100, 2 \rangle$}]
label = above : {$\langle 100, 0 \rangle$},
label = {[label distance = \ldist cm]above : {\blue{$\langle 100, 2 \rangle$}}}]
(t100) {$\cdots$};

% t101:
Expand All @@ -59,7 +65,7 @@
% t1-SO-t2
\draw[so] (t1) to node[above]{$\SO$} (t2);
% t2-SO-t3
\draw[so] (t2) to node[above]{$\SO$} (t3);
\draw[so, green] (t2) to node[above]{$\SO$} node[below]{$\WR$} (t3);
% t3-SO-t4
\draw[so] (t3) to node[above]{$\SO$} (t4);
% t4-SO-t100
Expand All @@ -71,6 +77,6 @@
% t101-VO-t2
\draw[vo, red] (t101.north) to node[sloped, above]{$\CM$} (t2);
% t102-WR-t3
\draw[wr] (t102.north) to node[sloped, above]{$\WR$} (t3);
\draw[wr, blue] (t102.north) to node[sloped, above]{$\WR$} (t3);
\end{tikzpicture}
\end{document}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@
% colors
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\green}[1]{\textcolor{green}{#1}}
\newcommand{\blue}[1]{\texcolor{blue}{#1}}
\newcommand{\cyan}[1]{\texcolor{cyan}{#1}}
\newcommand{\brown}[1]{\texcolor{brown}{#1}}
\newcommand{\teal}[1]{\texcolor{teal}{#1}}
\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\cyan}[1]{\textcolor{cyan}{#1}}
\newcommand{\brown}[1]{\textcolor{brown}{#1}}
\newcommand{\teal}[1]{\textcolor{teal}{#1}}

\def\hsep{2pt}
\def\vsep{2pt}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2d6e1b4

Please sign in to comment.