Open rmflight opened 9 years ago
I am working on an example that demonstrates this exact problem, btw.
You can see this effect where I've loaded up the Yeast high quality network that has 3025 nodes and 6888 edges.
In the default size the amount of zoom is not enough to easily interact with individual nodes.
However, when I up the size to something ridiculous like 3000px by 3000px, if you zoom right in you can easily separate the edges, and work with the nodes.
Obviously a network this size needs a bigger viewport than the default just to be able to work with it period, but it doesn't seem like the zoom factor should be a property of the viewport size. At least it doesn't seem like it should to me. I may be persuaded otherwise, however.
@rmflight that's a lot of nodes. I added the zoomMin
and zoomMax
as arguments to biofabric_htmlwidget
. I'll probably rethink how to supply these options as I rethink/add interactivity. Thanks so much for using it and thanks for the example.
If I load in a moderately sized network (343 nodes, 3783 edges), with the default widget size the amount of zoom that is capable is pretty puny. It is hard to read the labels, and selecting anything is hard. However, if I increase the size of the
htmlwidget
object (say 2400px by 2400px), then I can zoom in really well, so I'm guessing there is a zoom limit based on the size of thediv
object itself.Can that limit be increased or removed entirely?