jslefche / piecewiseSEM

Piecewise Structural Equation Modeling in R
155 stars 49 forks source link

use `visNetwork` for publication-quality plots #265

Open Aariq opened 1 year ago

Aariq commented 1 year ago

I saw your talk for EFI (great talk, btw) and you mentioned R not being great at plotting publication-quality diagrams. One possibility for an extension might be to use the visNetwork package which can create an interactive diagram where the user can drag nodes to move them around and then export the result as a static image.

jslefche commented 1 year ago

Woah fantastic! Thanks for letting me know


Jonathan S. Lefcheck, Ph.D. Tennenbaum Coordinating Scientist MarineGEO: https://marinegeo.si.edu/ Smithsonian Institution Phone: +1 (443) 482-2443 www.jonlefcheck.nethttp://www.jonlefcheck.net

From: Eric R. @.> Sent: Monday, December 5, 2022 1:02 PM To: @.> Cc: @.***> Subject: [jslefche/piecewiseSEM] use visNetwork for publication-quality plots (Issue #265)

External Email - Exercise Caution

I saw your talk for EFI (great talk, btw) and you mentioned R not being great at plotting publication-quality diagrams. One possibility for an extension might be to use the visNetwork packagehttps://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdatastorm-open.github.io%2FvisNetwork%2F&data=05%7C01%7Clefcheckj%40si.edu%7Cfd22c3a697a14eeaf0e108dad6eae0ee%7C989b5e2a14e44efe93b78cdd5fc5d11c%7C0%7C0%7C638058601549351480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8uFYYGQzUQ%2FK7pClls690URe0MWFMIap8IiOp%2BXTpv8%3D&reserved=0 which can create an interactive diagram where the user can drag nodes to move them around and then export the result as a static image.

— Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjslefche%2FpiecewiseSEM%2Fissues%2F265&data=05%7C01%7Clefcheckj%40si.edu%7Cfd22c3a697a14eeaf0e108dad6eae0ee%7C989b5e2a14e44efe93b78cdd5fc5d11c%7C0%7C0%7C638058601549351480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XDfp6t0%2B%2BPI5BWhubeewm61lnnUPqj98qYOEdKyxLtM%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAR4AVZ6Y4275U6B6EZE6MLWLYU3NANCNFSM6AAAAAASUSCJNA&data=05%7C01%7Clefcheckj%40si.edu%7Cfd22c3a697a14eeaf0e108dad6eae0ee%7C989b5e2a14e44efe93b78cdd5fc5d11c%7C0%7C0%7C638058601549351480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=T4CDT1i6Yie5MiUbDxy7PeVzLFipc4wE%2BkB5yN%2FKXGM%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>

jebyrnes commented 1 year ago

Oh - yeah. The plotting method I whipped up is OK, and I like RGraphviz, but it has its limits. I wonder about ggraph sometimes.....