ggnetwork icon indicating copy to clipboard operation
ggnetwork copied to clipboard

Update vignette to show how to pass `igraph` layouts

Open briatte opened this issue 5 years ago • 1 comments

Should happen in the 'Main building blocks > ggnetwork' section.

briatte avatar Jul 27 '19 17:07 briatte

Hi, I hope it is okay to put this here. I didn't want to open an issue, just have to add a small suggestion. Maybe it is worthwhile to mention in the vignette that while "Mapping a color to both a vertex attribute and an edge attribute will create a single color scale that incorrectly merges both attributes into one" there is a possibility to work around that by setting the vertex shape to e.g. 21 and then mapping the fill argument to the vertex attribute. I think the nodes then by default have a black border but at least this allows to add different colors to edges and nodes without merging the attributes. Thanks a lot for creating ggnetwork!

micwij avatar May 30 '22 16:05 micwij