Software to Draw DAGs

Amy Pitts and Charly Fowler

2023-02-14

Outline

Softwares:

Presentation Structure:

We will conclude with a comparison chart, honorable mentions, and our general recommendations depending on your needs.

Tikz

This is a LaTeX package for creating DAGs.

\usepackage{tikz}
\tikzset{> = stealth} % nicer looking arrows

Overview:

Resources:

Tikz

Pros:

Cons:

Tikz

Code

\begin{center}
\begin{tikzpicture}
% nodes
%generally: create node, circle shape, 
%named C with (X = 0, Y = 2) coordinates, 
%labeled C
\node[circle, draw] (C) at (0, 2) {C}; 
\node[circle, draw]  (A) at (1, 0) {A};
\node[circle, draw]  (Y) at (3, 0) {Y};
% edges
\draw[->, thick]
(C) edge (A)
(C) edge (Y)
(A) edge (Y);

\end{tikzpicture}
\end{center}

DAG 1