May you provide some guidance on how to add some descriptions on the arrow of the following two figures? For example,
In the first figure,
can we add:
Arrow $\vec{21}$on the top of arrow (better to be (1) parallel or (2) horizontal if possible, but not necessary if it is too difficult for you) from the item 2 to the item 1?Similarly, can we add:
Arrow $\vec{i j}$on the top of each arrow from the itemito the itemj? Herei=2, andj=1,3,4,5,6.
In the second figure,
- can we try to add some greek alphabet,
$\alpha$,$\beta$,$\gamma$, etc on each of the arrow?
Can we make the above alignment to have the choices of being (1) parallel to the arrow or (2) horizontal to the document? If so, could you advise the command lines for each case?
Here is my Minimal Working note MWE:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix}
\usetikzlibrary{shapes,arrows,calc}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{amsmath, amsthm, amssymb,slashed,mathtools,tabu}
\begin{document}
\newline
;;;;
\begin{tikzpicture}\kern-5mm[>=stealth,->,shorten >=2pt,looseness=.5,auto]
\matrix (M)[matrix of math nodes,row sep=1cm,column sep=8mm]{
1 & 2 & 3\
4 & 5 & 6 \
};
\foreach \a/\b in {1-2/2-1,1-2/1-1,1-2/2-2,1-2/2-3, 1-2/1-3}
{\drawthick,->--(M-\b);}
\end{tikzpicture}
\newline
\begin{tikzpicture}[node distance=2cm, auto]
\def\mypoints{%
(1, 0), (2, 0), (3, 0), (4, 0), (5, 0),
(5, 1), (4, 1), (3, 1), (2, 1), (1, 1)%
};
\path
\foreach \x [count=\xi] in \mypoints {
\x node[circle, fill, inner sep=sqrt(2)*0.025cm] (node\xi) {}
}
\foreach \x [count=\xi, remember=\xi-1 as \xiprev] in \mypoints {
\ifnum\xi>1 %
(node\xiprev) edge[-latex', black!50!white] (node\xi)
\fi
}
;
\end{tikzpicture}
\end{document}
The second figure is from and many thanks to https://tex.stackexchange.com/a/385800/41144




\usepackage[inline]{asymptote}and compile successively this waypdflatex->asymptote->pdflatex. – AndréC Jul 30 '20 at 17:11\begin{asy}Using Asymptote with pdfLaTeX – AndréC Jul 30 '20 at 17:27