Provide an interface for custom weighting of edges and/or nodes
Should we provide an interface for custom weighting of edges and/or nodes?
This would allow users more flexibility beyond current pkgnet defaults. Relates to #169.
More direct way to accommodate this one would be to add optional arguments to the CreatePackageReport function for node and edge tables with vizNetwork formatting values to override. If provided (and indexes aligned, etc), then those values would override the values here:
https://github.com/uptake/pkgnet/blob/a904eca16cc8ec7dc5d9429eb1e154fa97934021/R/AbstractGraphReporter.R#L388-L403
I'm leaning towards not supporting this level of customization directly in pkgnet. If a user is interested in this level of customization, it would be easier to use vizNetwork (or another graph visualization package of their choice) directly. We could write an example in this issue or a small vignette on how to extract the igraph networks from pkgnet and build in vizNetwork with different design choices.
Thoughts?