r-causal / ggdag

:arrow_lower_left: :arrow_lower_right: An R package for working with causal directed acyclic graphs (DAGs)
https://r-causal.github.io/ggdag/
Other
427 stars 28 forks source link

Pearl’s Causality Style DAGs #73

Open carloscinelli opened 1 year ago

carloscinelli commented 1 year ago

It would be nice to have a theme (or equivalent) to format the graph in the style of the DAGs in Causality (the book). Examples below. 746AAAD1-2986-49C4-A9AA-8ECAB1AF0E82

malcolmbarrett commented 1 year ago

I think rather than implementing a specific function to do this, I am going to add it to a vignette to demonstrate making custom DAGS in #104

But I'll continue thinking on if creating different styles of DAGs is worth supporting. For this particular case, it may be that latex backend support (#105) is the way

carloscinelli commented 1 year ago

Thanks, a vignette showing how to customize it would be great.