jtextor / dagitty

Graphical analysis of structural causal models / graphical causal models.
GNU General Public License v2.0
286 stars 46 forks source link

Propose to mention `jupyterlab-dagitty` #63

Closed krassowski closed 1 year ago

krassowski commented 2 years ago

Hi, thanks again for dagitty. I had quite a few different models as text files, some for didactic and some for research purposes, and instead of storing them on the server I wanted to display the model in my IDE (JupyterLab), so I created this little JupyterLab extension: jupyterlab-dagitty which itself depends on dagitty javascript code. You can try it online here: https://mybinder.org/v2/gh/krassowski/jupyterlab-dagitty/main?urlpath=lab/tree/examples/car_model_driver.dag

For now it is just a simple renderer, but I would like to expand its scope to add basic edit functions (adding/removing edges/nodes, changing node type) and add a button "Open in dagitty.net" (but I could not figure out a way to so so yet - I guess it would require the website to accept POST requests with model code as an argument?).

I'm curious what you think and whether you have any suggestions. Thanks again!

jtextor commented 2 years ago

Hi Michal, thanks for your nice contributions and suggestions, I'm off on holiday for 2 weeks but will look into it right away when I get back! Looks very interesting, thanks in advance already!