datastorm-open / visNetwork

R package, using vis.js library for network visualization
Other
545 stars 125 forks source link

1:1 aspect ratio for large hierarchical graphs #386

Open wlandau opened 4 years ago

wlandau commented 4 years ago

Is there a way to set the aspect ratio of the network to be 1:1 for large hierarchical graphs? It would be nice to achieve something like the top graph from https://github.com/ropensci/drake/issues/1303 without needing to manually hack the layout. cc @Plebejer

dblodgett-usgs commented 1 year ago

I think this is the same issue I'm facing here. https://github.com/ropensci/targets/discussions/925#discussioncomment-7212216

There's a reprex included there that shows pretty wild aspect ratio issues.