|
|
|
@@ -1,16 +1,21 @@ |
|
|
|
\documentclass{standalone} |
|
|
|
\usepackage{tikz} |
|
|
|
\usetikzlibrary {arrows.meta,graphs,graphdrawing} \usegdlibrary {layered} |
|
|
|
\usepackage{siltex} |
|
|
|
\usetikzlibrary {arrows.meta,positioning} |
|
|
|
\tikzset{nodes={text height=.7em, text width=1.2cm, align=center, |
|
|
|
draw=black!50, thick, font=\footnotesize, fill=white}, |
|
|
|
>={Stealth[round,sep]}, rounded corners, semithick} |
|
|
|
|
|
|
|
\begin{document} |
|
|
|
\begin{tikzpicture} |
|
|
|
\graph [layered layout, level distance=1.2cm, sibling sep=.5em, sibling distance=1.5cm, sweep crossing minimization] { |
|
|
|
"Feat. A" -> {"Feat. B", "Feat. C"}; |
|
|
|
"Feat. D" ->[edges=white!99] "Feat. C" -> "Feat. E"; |
|
|
|
}; |
|
|
|
\begin{tikzpicture}[on grid, y = 1.5cm, x = 1.8cm] |
|
|
|
\node (a) {Feature A}; |
|
|
|
\node (d) [right = 1 of a]{Feature D}; |
|
|
|
\node (b) [below = 1 of a]{Feature B}; |
|
|
|
\node (c) [below = 1 of d]{Feature C}; |
|
|
|
\node (e) [below = 1 of c]{Feature E}; |
|
|
|
\path[->] (a) edge (b) |
|
|
|
(a) edge (c) |
|
|
|
(c) edge (e); |
|
|
|
\end{tikzpicture} |
|
|
|
\end{document} |
|
|
|
|