It seems that the edgewidth is not used in the function nplot. We need to ensure that the code is explicitly taking the edge.width parameter and setting the linewidth when creating the grob (graphical object from the grid package). We need to investigate the code to see if (a) the linewidth reflects the edge weight, and (b) if it is passed in the correct form. We need the following as well:
- Try to replicate a bug and inspect visually and in the code whether the width is passed or not.
- Fix the bug, update the NEWS.md file.
- Add an example in the vignette "graph drawing with netplot" that shows how changing the edge weight works. Perhaps also using the
set_edge_par function example as well. This should illustrate how the edge.width.range parameter works too.
It seems that the edgewidth is not used in the function
nplot. We need to ensure that the code is explicitly taking theedge.widthparameter and setting the linewidth when creating the grob (graphical object from the grid package). We need to investigate the code to see if (a) the linewidth reflects the edge weight, and (b) if it is passed in the correct form. We need the following as well:set_edge_parfunction example as well. This should illustrate how theedge.width.rangeparameter works too.