stocnet / manynet

Many Ways to Make, Manipulate, and Map Myriad Networks
https://stocnet.github.io/manynet/
Other
12 stars 0 forks source link

Nodes and labels overlapping in `graphr()` #82

Open henriquesposito opened 3 months ago

henriquesposito commented 3 months ago

Similarly to the issue with arrows and node in directed networks, labels and nodes often overlap. This requires that we take "node_size" into account when labelling nodes.

graphr(to_directed(ison_adolescents))

henriquesposito commented 1 week ago

@jhollway I am going through the open issues and I am wondering if we should close this issue since it was addressed in the recent changes related to how graphr() works? Thank you.

jhollway commented 1 week ago

graphr(to_directed(ison_adolescents)) still overlaps labels with the nodes. I think this is because they are mapped to node centres before the node sizes are scaled up. Can the order of this procedure be altered so that node labels, at least as far as possible, appear beyond the borders of the nodes?