Research source · latex

fig-tuple-packing.tex

site/public/library/publications/direct-palindrome-scaffolding/figures/draft-6/fig-tuple-packing.tex

31 lines. Source is displayed for inspection; it is not executed by this page.

File fingerprint

SHA-256: 9550776636894a54de1ac73691e016af3701d4f117049e26757c871c469268e6

\documentclass[tikz,border=7pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern,amsmath,amssymb}
\hyphenpenalty=10000
\exhyphenpenalty=10000
\usetikzlibrary{arrows.meta,positioning,calc,fit,backgrounds}
\definecolor{ink}{HTML}{243B4A}
\definecolor{pale}{HTML}{EFF5F7}
\definecolor{warm}{HTML}{FAF5E8}
\tikzset{every node/.style={font=\sffamily\small,text=ink},
 box/.style={draw=ink!65,rounded corners=2pt,fill=pale,align=center,inner sep=7pt},
 warmbox/.style={box,fill=warm},
 arr/.style={-{Latex[length=2mm]},draw=ink!80,line width=.65pt},
 lab/.style={font=\sffamily\footnotesize,fill=white,inner sep=2pt},
 dot/.style={circle,draw=ink!75,fill=white,minimum size=8mm,inner sep=1pt},
 title/.style={font=\sffamily\bfseries\small,align=center}}
\begin{document}\begin{tikzpicture}

\node[box,text width=3cm,minimum height=2.5cm] (old) at (0,1.3) {old physical nodes\\decoded historical records};
\node[warmbox,text width=5.7cm,minimum height=3.6cm] (new) at (6.1,1.3) {};
\node[title] at (6.1,2.65) {one new physical node $v$};
\node[box,minimum width=1cm] (s0) at (4.5,1.3) {slot 0};
\node[box,minimum width=1cm] (s1) at (6.1,1.3) {slot 1};
\node[box,minimum width=1cm] (s2) at (7.7,1.3) {slot 2};
\draw[arr] (s0.north) to[bend left=25](s1.north);\draw[arr] (s1.south) to[bend left=25](s0.south);
\draw[arr] (s2.south)--(7.7,-.3)--(0,-.3)--(old.south);
\node[align=center,text width=5.6cm] at (6.1,-1.4) {Fresh target: physical $\mathsf{SELF}$ + slot tag.\\Old target: bounded port word + slot tag.};
\node[box,text width=2.5cm] (decode) at (11.5,1.3) {logical pointer\\$(v,i)$};
\draw[arr] (new.east)--node[lab,above]{decode}(decode.west);

\end{tikzpicture}\end{document}