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!
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!
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 ondagitty
javascript code. You can try it online here: https://mybinder.org/v2/gh/krassowski/jupyterlab-dagitty/main?urlpath=lab/tree/examples/car_model_driver.dagFor 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!