Comparison of open-source software for producing directed acyclic graphs

Many software packages have been developed to assist researchers in drawing directed acyclic graphs (DAGs), each with unique functionality and usability. We examine five of the most common software to generate DAGs: TikZ, DAGitty, ggdag, dagR, and igraph. For each package, we provide a general descr...

Full description

Bibliographic Details
Main Authors: Pitts Amy J., Fowler Charlotte R.
Format: Article
Language:English
Published: De Gruyter 2024-01-01
Series:Journal of Causal Inference
Subjects:
Online Access:https://doi.org/10.1515/jci-2023-0031
Description
Summary:Many software packages have been developed to assist researchers in drawing directed acyclic graphs (DAGs), each with unique functionality and usability. We examine five of the most common software to generate DAGs: TikZ, DAGitty, ggdag, dagR, and igraph. For each package, we provide a general description of its background, analysis and visualization capabilities, and user-friendliness. In addition, in order to compare packages, we produce two DAGs in each software, the first featuring a simple confounding structure and the second with a more complex structure with three confounders and a mediator. We provide recommendations for when to use each software depending on the user’s needs.
ISSN:2193-3685