Created
May 28, 2022 06:00
-
-
Save abikoushi/bcb569d492258488dac3bdb05a10aa70 to your computer and use it in GitHub Desktop.
TikZ example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[dvipdfmx, tikz, margin = 1pt]{standalone} | |
\usepackage{tikz} | |
\begin{document} | |
\begin{tikzpicture} | |
\tikzset{var/.style = {draw, circle}}; | |
\node[var](A){A}; | |
\node[var, below left of = A](B){B}; | |
\node[var, below right of = A](C){C}; | |
\draw[->] (B)--(A); | |
\draw[->] (C)--(A); | |
\node[var, below right of = B](A2){A}; | |
\node[var, below left of = A2](B2){B}; | |
\node[var, below right of = A2](C2){C}; | |
\draw[->] (B2)--(A2); | |
\draw[->] (A2)--(C2); | |
\draw[->] (C2)--(B2); | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment