Comparison of open-source software for producing directed acyclic graphs
Abstract: 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 the its background, analysis and visualization capabilities, and user-friendliness. Additionally in order to compare packages, we produce two DAGs in each software, the first featuring a simple confounding structure, while the second includes 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.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.